ai-model-prices 2026.7.13 → 2026.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/adapters/amazon-bedrock.d.mts +2 -2
- package/dist/adapters/amazon-bedrock.d.ts +2 -2
- package/dist/adapters/ambient.d.mts +2 -2
- package/dist/adapters/ambient.d.ts +2 -2
- package/dist/adapters/azure-cognitive-services.d.mts +2 -2
- package/dist/adapters/azure-cognitive-services.d.ts +2 -2
- package/dist/adapters/azure.d.mts +2 -2
- package/dist/adapters/azure.d.ts +2 -2
- package/dist/adapters/cloudflare-ai-gateway.d.mts +2 -2
- package/dist/adapters/cloudflare-ai-gateway.d.ts +2 -2
- package/dist/adapters/crossmodel.d.mts +2 -2
- package/dist/adapters/crossmodel.d.ts +2 -2
- package/dist/adapters/databricks.d.mts +2 -2
- package/dist/adapters/databricks.d.ts +2 -2
- package/dist/adapters/ebcloud.d.mts +6 -0
- package/dist/adapters/ebcloud.d.ts +6 -0
- package/dist/adapters/ebcloud.js +7 -0
- package/dist/adapters/ebcloud.mjs +5 -0
- package/dist/adapters/empiriolabs.d.mts +2 -2
- package/dist/adapters/empiriolabs.d.ts +2 -2
- package/dist/adapters/gitlab.d.mts +2 -2
- package/dist/adapters/gitlab.d.ts +2 -2
- package/dist/adapters/llmgateway.d.mts +2 -2
- package/dist/adapters/llmgateway.d.ts +2 -2
- package/dist/adapters/lynkr.d.mts +6 -0
- package/dist/adapters/lynkr.d.ts +6 -0
- package/dist/adapters/lynkr.js +7 -0
- package/dist/adapters/lynkr.mjs +5 -0
- package/dist/adapters/openrouter.d.mts +2 -2
- package/dist/adapters/openrouter.d.ts +2 -2
- package/dist/adapters/sap-ai-core.d.mts +2 -2
- package/dist/adapters/sap-ai-core.d.ts +2 -2
- package/dist/adapters/vercel.d.mts +2 -2
- package/dist/adapters/vercel.d.ts +2 -2
- package/dist/index.d.mts +16 -14
- package/dist/index.d.ts +16 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/_manifest.js +1 -1
- package/dist/providers/amazon-bedrock.js +1 -1
- package/dist/providers/ambient.js +1 -1
- package/dist/providers/azure-cognitive-services.js +1 -1
- package/dist/providers/azure.js +1 -1
- package/dist/providers/baseten.js +1 -1
- package/dist/providers/cerebras.js +1 -1
- package/dist/providers/cloudflare-ai-gateway.js +1 -1
- package/dist/providers/crossmodel.js +1 -1
- package/dist/providers/databricks.js +1 -1
- package/dist/providers/ebcloud.js +1 -0
- package/dist/providers/empiriolabs.js +1 -1
- package/dist/providers/gitlab.js +1 -1
- package/dist/providers/llmgateway.js +1 -1
- package/dist/providers/lynkr.js +1 -0
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/sap-ai-core.js +1 -1
- package/dist/providers/stepfun-ai.js +1 -1
- package/dist/providers/stepfun.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/package.json +21 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Pricing data for AI models, typed and kept up to date daily from [models.dev](https://models.dev).
|
|
7
7
|
|
|
8
8
|
<!-- STATS:START -->
|
|
9
|
-
**
|
|
9
|
+
**156 providers · 5276 models · Updated 2026-07-15**
|
|
10
10
|
<!-- STATS:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -138,6 +138,7 @@ filterModels({
|
|
|
138
138
|
| xAI | `xai` |
|
|
139
139
|
| Privatemode AI | `privatemode-ai` |
|
|
140
140
|
| D.Run (China) | `drun` |
|
|
141
|
+
| EBCloud | `ebcloud` |
|
|
141
142
|
| Alibaba Token Plan (China) | `alibaba-token-plan-cn` |
|
|
142
143
|
| Moonshot AI | `moonshotai` |
|
|
143
144
|
| Fireworks AI | `fireworks-ai` |
|
|
@@ -147,7 +148,7 @@ filterModels({
|
|
|
147
148
|
| Cortecs | `cortecs` |
|
|
148
149
|
| Nebius Token Factory | `nebius` |
|
|
149
150
|
| Auriko | `auriko` |
|
|
150
|
-
| StepFun
|
|
151
|
+
| StepFun (Global) | `stepfun-ai` |
|
|
151
152
|
| Vivgrid | `vivgrid` |
|
|
152
153
|
| Tinfoil | `tinfoil` |
|
|
153
154
|
| Mistral | `mistral` |
|
|
@@ -202,6 +203,7 @@ filterModels({
|
|
|
202
203
|
| Inception | `inception` |
|
|
203
204
|
| Anthropic | `anthropic` |
|
|
204
205
|
| Tencent Coding Plan (China) | `tencent-coding-plan` |
|
|
206
|
+
| Lynkr | `lynkr` |
|
|
205
207
|
| FreeModel | `freemodel` |
|
|
206
208
|
| SAP AI Core | `sap-ai-core` |
|
|
207
209
|
| OpenCode Zen | `opencode` |
|
|
@@ -210,7 +212,7 @@ filterModels({
|
|
|
210
212
|
| Llama | `llama` |
|
|
211
213
|
| LLMTR | `llmtr` |
|
|
212
214
|
| Cohere | `cohere` |
|
|
213
|
-
| StepFun | `stepfun` |
|
|
215
|
+
| StepFun (China) | `stepfun` |
|
|
214
216
|
| HPC-AI | `hpc-ai` |
|
|
215
217
|
| MiniMax (minimaxi.com) | `minimax-cn` |
|
|
216
218
|
| UnoRouter | `unorouter` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="global.anthropic.claude-haiku-4-5-20251001-v1:0" | "global.anthropic.claude-sonnet-4-5-20250929-v1:0" | "jp.anthropic.claude-haiku-4-5-20251001-v1:0" | "us.meta.llama4-scout-17b-instruct-v1:0" | "minimax.minimax-m2" | "anthropic.claude-opus-4-7" | "eu.anthropic.claude-sonnet-4-6" | "mistral.voxtral-small-24b-2507" | "mistral.ministral-3-3b-instruct" | "openai.gpt-oss-20b" | "anthropic.claude-opus-4-6-v1" | "openai.gpt-oss-safeguard-20b" | "anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-fable-5" | "openai.gpt-oss-120b-1:0" | "anthropic.claude-sonnet-4-5-20250929-v1:0" | "amazon.nova-pro-v1:0" | "qwen.qwen3-coder-next" | "us.anthropic.claude-opus-4-7" | "nvidia.nemotron-nano-9b-v2" | "qwen.qwen3-32b-v1:0" | "jp.anthropic.claude-sonnet-4-6" | "deepseek.r1-v1:0" | "mistral.mistral-large-3-675b-instruct" | "google.gemma-3-27b-it" | "anthropic.claude-sonnet-4-6" | "amazon.nova-2-lite-v1:0" | "openai.gpt-oss-safeguard-120b" | "mistral.ministral-3-8b-instruct" | "eu.anthropic.claude-opus-4-6-v1" | "au.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-sonnet-5" | "openai.gpt-oss-120b" | "global.anthropic.claude-sonnet-5" | "global.anthropic.claude-opus-4-8" | "us.meta.llama4-maverick-17b-instruct-v1:0" | "openai.gpt-5.4" | "anthropic.claude-sonnet-5" | "mistral.devstral-2-123b" | "zai.glm-4.7" | "anthropic.claude-fable-5" | "writer.palmyra-x4-v1:0" | "mistral.magistral-small-2509" | "qwen.qwen3-coder-480b-a35b-v1:0" | "amazon.nova-micro-v1:0" | "mistral.pixtral-large-2502-v1:0" | "us.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-opus-4-7" | "au.anthropic.claude-sonnet-4-5-20250929-v1:0" | "deepseek.v3-v1:0" | "anthropic.claude-opus-4-1-20250805-v1:0" | "jp.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-4b-it" | "eu.anthropic.claude-sonnet-4-5-20250929-v1:0" | "qwen.qwen3-vl-235b-a22b" | "writer.palmyra-x5-v1:0" | "us.anthropic.claude-sonnet-4-6" | "au.anthropic.claude-haiku-4-5-20251001-v1:0" | "meta.llama3-3-70b-instruct-v1:0" | "zai.glm-5" | "us.anthropic.claude-opus-4-8" | "global.anthropic.claude-opus-4-7" | "us.anthropic.claude-fable-5" | "amazon.nova-lite-v1:0" | "us.anthropic.claude-haiku-4-5-20251001-v1:0" | "xai.grok-4.3" | "mistral.voxtral-mini-3b-2507" | "moonshot.kimi-k2-thinking" | "meta.llama3-1-70b-instruct-v1:0" | "us.deepseek.r1-v1:0" | "global.anthropic.claude-sonnet-4-6" | "anthropic.claude-haiku-4-5-20251001-v1:0" | "moonshotai.kimi-k2.5" | "au.anthropic.claude-opus-4-8" | "nvidia.nemotron-nano-12b-v2" | "zai.glm-4.7-flash" | "meta.llama4-scout-17b-instruct-v1:0" | "au.anthropic.claude-sonnet-5" | "qwen.qwen3-235b-a22b-2507-v1:0" | "eu.anthropic.claude-haiku-4-5-20251001-v1:0" | "openai.gpt-oss-20b-1:0" | "jp.anthropic.claude-opus-4-8" | "anthropic.claude-opus-4-8" | "qwen.qwen3-coder-30b-a3b-v1:0" | "qwen.qwen3-next-80b-a3b" | "openai.gpt-5.5" | "au.anthropic.claude-sonnet-4-6" | "us.anthropic.claude-sonnet-5" | "us.anthropic.claude-opus-4-5-20251101-v1:0" | "minimax.minimax-m2.5" | "eu.anthropic.claude-opus-4-8" | "eu.anthropic.claude-opus-4-7" | "meta.llama3-1-8b-instruct-v1:0" | "us.anthropic.claude-opus-4-1-20250805-v1:0" | "meta.llama4-maverick-17b-instruct-v1:0" | "global.anthropic.claude-opus-4-5-20251101-v1:0" | "nvidia.nemotron-super-3-120b" | "eu.anthropic.claude-sonnet-5" | "nvidia.nemotron-nano-3-30b" | "eu.anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-opus-4-6-v1" | "us.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-12b-it" | "minimax.minimax-m2.1" | "eu.anthropic.claude-fable-5" | "deepseek.v3.2" | "mistral.ministral-3-14b-instruct";
|
|
3
|
-
export type ModelName="Claude Haiku 4.5 (Global)" | "Claude Sonnet 4.5 (Global)" | "Claude Haiku 4.5 (JP)" | "Llama 4 Scout 17B Instruct (US)" | "MiniMax M2" | "Claude Opus 4.7" | "Claude Sonnet 4.6 (EU)" | "Voxtral Small 24B 2507" | "Ministral 3 3B" | "gpt-oss-20b" | "Claude Opus 4.6" | "GPT OSS Safeguard 20B" | "Claude Opus 4.5" | "Claude Fable 5 (Global)" | "gpt-oss-120b" | "Claude Sonnet 4.5" | "Nova Pro" | "Qwen3 Coder Next" | "Claude Opus 4.7 (US)" | "NVIDIA Nemotron Nano 9B v2" | "Qwen3 32B (dense)" | "Claude Sonnet 4.6 (JP)" | "DeepSeek-R1" | "Mistral Large 3" | "Google Gemma 3 27B Instruct" | "Claude Sonnet 4.6" | "Nova 2 Lite" | "GPT OSS Safeguard 120B" | "Ministral 3 8B" | "Claude Opus 4.6 (EU)" | "AU Anthropic Claude Opus 4.6" | "Claude Sonnet 5 (JP)" | "Claude Sonnet 5 (Global)" | "Claude Opus 4.8 (Global)" | "Llama 4 Maverick 17B Instruct (US)" | "GPT-5.4" | "Claude Sonnet 5" | "Devstral 2 123B" | "GLM-4.7" | "Claude Fable 5" | "Palmyra X4" | "Magistral Small 1.2" | "Qwen3 Coder 480B A35B Instruct" | "Nova Micro" | "Pixtral Large (25.02)" | "Claude Opus 4.6 (US)" | "Claude Opus 4.7 (JP)" | "Claude Sonnet 4.5 (AU)" | "DeepSeek-V3.1" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (JP)" | "Gemma 3 4B IT" | "Claude Sonnet 4.5 (EU)" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Palmyra X5" | "Claude Sonnet 4.6 (US)" | "Claude Haiku 4.5 (AU)" | "Llama 3.3 70B Instruct" | "GLM-5" | "Claude Opus 4.8 (US)" | "Claude Opus 4.7 (Global)" | "Claude Fable 5 (US)" | "Nova Lite" | "Claude Haiku 4.5 (US)" | "Grok 4.3" | "Voxtral Mini 3B 2507" | "Kimi K2 Thinking" | "Llama 3.1 70B Instruct" | "DeepSeek-R1 (US)" | "Claude Sonnet 4.6 (Global)" | "Claude Haiku 4.5" | "Kimi K2.5" | "Claude Opus 4.8 (AU)" | "NVIDIA Nemotron Nano 12B v2 VL BF16" | "GLM-4.7-Flash" | "Llama 4 Scout 17B Instruct" | "Claude Sonnet 5 (AU)" | "Qwen3 235B A22B 2507" | "Claude Haiku 4.5 (EU)" | "Claude Opus 4.8 (JP)" | "Claude Opus 4.8" | "Qwen3 Coder 30B A3B Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "GPT-5.5" | "AU Anthropic Claude Sonnet 4.6" | "Claude Sonnet 5 (US)" | "Claude Opus 4.5 (US)" | "MiniMax M2.5" | "Claude Opus 4.8 (EU)" | "Claude Opus 4.7 (EU)" | "Llama 3.1 8B Instruct" | "Claude Opus 4.1 (US)" | "Llama 4 Maverick 17B Instruct" | "Claude Opus 4.5 (Global)" | "NVIDIA Nemotron 3 Super 120B A12B" | "Claude Sonnet 5 (EU)" | "NVIDIA Nemotron Nano 3 30B" | "Claude Opus 4.5 (EU)" | "Claude Opus 4.6 (Global)" | "Claude Sonnet 4.5 (US)" | "Google Gemma 3 12B" | "MiniMax M2.1" | "Claude Fable 5 (EU)" | "DeepSeek-V3.2" | "Ministral 14B 3.0";
|
|
2
|
+
export type ModelId="global.anthropic.claude-haiku-4-5-20251001-v1:0" | "global.anthropic.claude-sonnet-4-5-20250929-v1:0" | "jp.anthropic.claude-haiku-4-5-20251001-v1:0" | "us.meta.llama4-scout-17b-instruct-v1:0" | "minimax.minimax-m2" | "anthropic.claude-opus-4-7" | "eu.anthropic.claude-sonnet-4-6" | "mistral.voxtral-small-24b-2507" | "mistral.ministral-3-3b-instruct" | "openai.gpt-oss-20b" | "anthropic.claude-opus-4-6-v1" | "openai.gpt-oss-safeguard-20b" | "anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-fable-5" | "openai.gpt-oss-120b-1:0" | "anthropic.claude-sonnet-4-5-20250929-v1:0" | "amazon.nova-pro-v1:0" | "qwen.qwen3-coder-next" | "us.anthropic.claude-opus-4-7" | "nvidia.nemotron-nano-9b-v2" | "qwen.qwen3-32b-v1:0" | "jp.anthropic.claude-sonnet-4-6" | "deepseek.r1-v1:0" | "mistral.mistral-large-3-675b-instruct" | "google.gemma-3-27b-it" | "anthropic.claude-sonnet-4-6" | "amazon.nova-2-lite-v1:0" | "openai.gpt-5.6-luna" | "openai.gpt-oss-safeguard-120b" | "mistral.ministral-3-8b-instruct" | "eu.anthropic.claude-opus-4-6-v1" | "au.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-sonnet-5" | "openai.gpt-oss-120b" | "global.anthropic.claude-sonnet-5" | "global.anthropic.claude-opus-4-8" | "us.meta.llama4-maverick-17b-instruct-v1:0" | "openai.gpt-5.4" | "anthropic.claude-sonnet-5" | "mistral.devstral-2-123b" | "zai.glm-4.7" | "anthropic.claude-fable-5" | "writer.palmyra-x4-v1:0" | "mistral.magistral-small-2509" | "qwen.qwen3-coder-480b-a35b-v1:0" | "amazon.nova-micro-v1:0" | "mistral.pixtral-large-2502-v1:0" | "us.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-opus-4-7" | "au.anthropic.claude-sonnet-4-5-20250929-v1:0" | "deepseek.v3-v1:0" | "anthropic.claude-opus-4-1-20250805-v1:0" | "jp.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-4b-it" | "eu.anthropic.claude-sonnet-4-5-20250929-v1:0" | "qwen.qwen3-vl-235b-a22b" | "writer.palmyra-x5-v1:0" | "us.anthropic.claude-sonnet-4-6" | "au.anthropic.claude-haiku-4-5-20251001-v1:0" | "meta.llama3-3-70b-instruct-v1:0" | "zai.glm-5" | "us.anthropic.claude-opus-4-8" | "global.anthropic.claude-opus-4-7" | "us.anthropic.claude-fable-5" | "amazon.nova-lite-v1:0" | "openai.gpt-5.6-sol" | "us.anthropic.claude-haiku-4-5-20251001-v1:0" | "xai.grok-4.3" | "mistral.voxtral-mini-3b-2507" | "moonshot.kimi-k2-thinking" | "meta.llama3-1-70b-instruct-v1:0" | "us.deepseek.r1-v1:0" | "global.anthropic.claude-sonnet-4-6" | "anthropic.claude-haiku-4-5-20251001-v1:0" | "moonshotai.kimi-k2.5" | "au.anthropic.claude-opus-4-8" | "nvidia.nemotron-nano-12b-v2" | "zai.glm-4.7-flash" | "meta.llama4-scout-17b-instruct-v1:0" | "au.anthropic.claude-sonnet-5" | "qwen.qwen3-235b-a22b-2507-v1:0" | "eu.anthropic.claude-haiku-4-5-20251001-v1:0" | "openai.gpt-oss-20b-1:0" | "jp.anthropic.claude-opus-4-8" | "anthropic.claude-opus-4-8" | "qwen.qwen3-coder-30b-a3b-v1:0" | "qwen.qwen3-next-80b-a3b" | "openai.gpt-5.5" | "au.anthropic.claude-sonnet-4-6" | "us.anthropic.claude-sonnet-5" | "us.anthropic.claude-opus-4-5-20251101-v1:0" | "minimax.minimax-m2.5" | "eu.anthropic.claude-opus-4-8" | "eu.anthropic.claude-opus-4-7" | "meta.llama3-1-8b-instruct-v1:0" | "us.anthropic.claude-opus-4-1-20250805-v1:0" | "meta.llama4-maverick-17b-instruct-v1:0" | "global.anthropic.claude-opus-4-5-20251101-v1:0" | "nvidia.nemotron-super-3-120b" | "eu.anthropic.claude-sonnet-5" | "nvidia.nemotron-nano-3-30b" | "eu.anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-opus-4-6-v1" | "us.anthropic.claude-sonnet-4-5-20250929-v1:0" | "openai.gpt-5.6-terra" | "google.gemma-3-12b-it" | "minimax.minimax-m2.1" | "eu.anthropic.claude-fable-5" | "deepseek.v3.2" | "mistral.ministral-3-14b-instruct";
|
|
3
|
+
export type ModelName="Claude Haiku 4.5 (Global)" | "Claude Sonnet 4.5 (Global)" | "Claude Haiku 4.5 (JP)" | "Llama 4 Scout 17B Instruct (US)" | "MiniMax M2" | "Claude Opus 4.7" | "Claude Sonnet 4.6 (EU)" | "Voxtral Small 24B 2507" | "Ministral 3 3B" | "gpt-oss-20b" | "Claude Opus 4.6" | "GPT OSS Safeguard 20B" | "Claude Opus 4.5" | "Claude Fable 5 (Global)" | "gpt-oss-120b" | "Claude Sonnet 4.5" | "Nova Pro" | "Qwen3 Coder Next" | "Claude Opus 4.7 (US)" | "NVIDIA Nemotron Nano 9B v2" | "Qwen3 32B (dense)" | "Claude Sonnet 4.6 (JP)" | "DeepSeek-R1" | "Mistral Large 3" | "Google Gemma 3 27B Instruct" | "Claude Sonnet 4.6" | "Nova 2 Lite" | "GPT-5.6 Luna" | "GPT OSS Safeguard 120B" | "Ministral 3 8B" | "Claude Opus 4.6 (EU)" | "AU Anthropic Claude Opus 4.6" | "Claude Sonnet 5 (JP)" | "Claude Sonnet 5 (Global)" | "Claude Opus 4.8 (Global)" | "Llama 4 Maverick 17B Instruct (US)" | "GPT-5.4" | "Claude Sonnet 5" | "Devstral 2 123B" | "GLM-4.7" | "Claude Fable 5" | "Palmyra X4" | "Magistral Small 1.2" | "Qwen3 Coder 480B A35B Instruct" | "Nova Micro" | "Pixtral Large (25.02)" | "Claude Opus 4.6 (US)" | "Claude Opus 4.7 (JP)" | "Claude Sonnet 4.5 (AU)" | "DeepSeek-V3.1" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (JP)" | "Gemma 3 4B IT" | "Claude Sonnet 4.5 (EU)" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Palmyra X5" | "Claude Sonnet 4.6 (US)" | "Claude Haiku 4.5 (AU)" | "Llama 3.3 70B Instruct" | "GLM-5" | "Claude Opus 4.8 (US)" | "Claude Opus 4.7 (Global)" | "Claude Fable 5 (US)" | "Nova Lite" | "GPT-5.6 Sol" | "Claude Haiku 4.5 (US)" | "Grok 4.3" | "Voxtral Mini 3B 2507" | "Kimi K2 Thinking" | "Llama 3.1 70B Instruct" | "DeepSeek-R1 (US)" | "Claude Sonnet 4.6 (Global)" | "Claude Haiku 4.5" | "Kimi K2.5" | "Claude Opus 4.8 (AU)" | "NVIDIA Nemotron Nano 12B v2 VL BF16" | "GLM-4.7-Flash" | "Llama 4 Scout 17B Instruct" | "Claude Sonnet 5 (AU)" | "Qwen3 235B A22B 2507" | "Claude Haiku 4.5 (EU)" | "Claude Opus 4.8 (JP)" | "Claude Opus 4.8" | "Qwen3 Coder 30B A3B Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "GPT-5.5" | "AU Anthropic Claude Sonnet 4.6" | "Claude Sonnet 5 (US)" | "Claude Opus 4.5 (US)" | "MiniMax M2.5" | "Claude Opus 4.8 (EU)" | "Claude Opus 4.7 (EU)" | "Llama 3.1 8B Instruct" | "Claude Opus 4.1 (US)" | "Llama 4 Maverick 17B Instruct" | "Claude Opus 4.5 (Global)" | "NVIDIA Nemotron 3 Super 120B A12B" | "Claude Sonnet 5 (EU)" | "NVIDIA Nemotron Nano 3 30B" | "Claude Opus 4.5 (EU)" | "Claude Opus 4.6 (Global)" | "Claude Sonnet 4.5 (US)" | "GPT-5.6 Terra" | "Google Gemma 3 12B" | "MiniMax M2.1" | "Claude Fable 5 (EU)" | "DeepSeek-V3.2" | "Ministral 14B 3.0";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="global.anthropic.claude-haiku-4-5-20251001-v1:0" | "global.anthropic.claude-sonnet-4-5-20250929-v1:0" | "jp.anthropic.claude-haiku-4-5-20251001-v1:0" | "us.meta.llama4-scout-17b-instruct-v1:0" | "minimax.minimax-m2" | "anthropic.claude-opus-4-7" | "eu.anthropic.claude-sonnet-4-6" | "mistral.voxtral-small-24b-2507" | "mistral.ministral-3-3b-instruct" | "openai.gpt-oss-20b" | "anthropic.claude-opus-4-6-v1" | "openai.gpt-oss-safeguard-20b" | "anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-fable-5" | "openai.gpt-oss-120b-1:0" | "anthropic.claude-sonnet-4-5-20250929-v1:0" | "amazon.nova-pro-v1:0" | "qwen.qwen3-coder-next" | "us.anthropic.claude-opus-4-7" | "nvidia.nemotron-nano-9b-v2" | "qwen.qwen3-32b-v1:0" | "jp.anthropic.claude-sonnet-4-6" | "deepseek.r1-v1:0" | "mistral.mistral-large-3-675b-instruct" | "google.gemma-3-27b-it" | "anthropic.claude-sonnet-4-6" | "amazon.nova-2-lite-v1:0" | "openai.gpt-oss-safeguard-120b" | "mistral.ministral-3-8b-instruct" | "eu.anthropic.claude-opus-4-6-v1" | "au.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-sonnet-5" | "openai.gpt-oss-120b" | "global.anthropic.claude-sonnet-5" | "global.anthropic.claude-opus-4-8" | "us.meta.llama4-maverick-17b-instruct-v1:0" | "openai.gpt-5.4" | "anthropic.claude-sonnet-5" | "mistral.devstral-2-123b" | "zai.glm-4.7" | "anthropic.claude-fable-5" | "writer.palmyra-x4-v1:0" | "mistral.magistral-small-2509" | "qwen.qwen3-coder-480b-a35b-v1:0" | "amazon.nova-micro-v1:0" | "mistral.pixtral-large-2502-v1:0" | "us.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-opus-4-7" | "au.anthropic.claude-sonnet-4-5-20250929-v1:0" | "deepseek.v3-v1:0" | "anthropic.claude-opus-4-1-20250805-v1:0" | "jp.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-4b-it" | "eu.anthropic.claude-sonnet-4-5-20250929-v1:0" | "qwen.qwen3-vl-235b-a22b" | "writer.palmyra-x5-v1:0" | "us.anthropic.claude-sonnet-4-6" | "au.anthropic.claude-haiku-4-5-20251001-v1:0" | "meta.llama3-3-70b-instruct-v1:0" | "zai.glm-5" | "us.anthropic.claude-opus-4-8" | "global.anthropic.claude-opus-4-7" | "us.anthropic.claude-fable-5" | "amazon.nova-lite-v1:0" | "us.anthropic.claude-haiku-4-5-20251001-v1:0" | "xai.grok-4.3" | "mistral.voxtral-mini-3b-2507" | "moonshot.kimi-k2-thinking" | "meta.llama3-1-70b-instruct-v1:0" | "us.deepseek.r1-v1:0" | "global.anthropic.claude-sonnet-4-6" | "anthropic.claude-haiku-4-5-20251001-v1:0" | "moonshotai.kimi-k2.5" | "au.anthropic.claude-opus-4-8" | "nvidia.nemotron-nano-12b-v2" | "zai.glm-4.7-flash" | "meta.llama4-scout-17b-instruct-v1:0" | "au.anthropic.claude-sonnet-5" | "qwen.qwen3-235b-a22b-2507-v1:0" | "eu.anthropic.claude-haiku-4-5-20251001-v1:0" | "openai.gpt-oss-20b-1:0" | "jp.anthropic.claude-opus-4-8" | "anthropic.claude-opus-4-8" | "qwen.qwen3-coder-30b-a3b-v1:0" | "qwen.qwen3-next-80b-a3b" | "openai.gpt-5.5" | "au.anthropic.claude-sonnet-4-6" | "us.anthropic.claude-sonnet-5" | "us.anthropic.claude-opus-4-5-20251101-v1:0" | "minimax.minimax-m2.5" | "eu.anthropic.claude-opus-4-8" | "eu.anthropic.claude-opus-4-7" | "meta.llama3-1-8b-instruct-v1:0" | "us.anthropic.claude-opus-4-1-20250805-v1:0" | "meta.llama4-maverick-17b-instruct-v1:0" | "global.anthropic.claude-opus-4-5-20251101-v1:0" | "nvidia.nemotron-super-3-120b" | "eu.anthropic.claude-sonnet-5" | "nvidia.nemotron-nano-3-30b" | "eu.anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-opus-4-6-v1" | "us.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-12b-it" | "minimax.minimax-m2.1" | "eu.anthropic.claude-fable-5" | "deepseek.v3.2" | "mistral.ministral-3-14b-instruct";
|
|
3
|
-
export type ModelName="Claude Haiku 4.5 (Global)" | "Claude Sonnet 4.5 (Global)" | "Claude Haiku 4.5 (JP)" | "Llama 4 Scout 17B Instruct (US)" | "MiniMax M2" | "Claude Opus 4.7" | "Claude Sonnet 4.6 (EU)" | "Voxtral Small 24B 2507" | "Ministral 3 3B" | "gpt-oss-20b" | "Claude Opus 4.6" | "GPT OSS Safeguard 20B" | "Claude Opus 4.5" | "Claude Fable 5 (Global)" | "gpt-oss-120b" | "Claude Sonnet 4.5" | "Nova Pro" | "Qwen3 Coder Next" | "Claude Opus 4.7 (US)" | "NVIDIA Nemotron Nano 9B v2" | "Qwen3 32B (dense)" | "Claude Sonnet 4.6 (JP)" | "DeepSeek-R1" | "Mistral Large 3" | "Google Gemma 3 27B Instruct" | "Claude Sonnet 4.6" | "Nova 2 Lite" | "GPT OSS Safeguard 120B" | "Ministral 3 8B" | "Claude Opus 4.6 (EU)" | "AU Anthropic Claude Opus 4.6" | "Claude Sonnet 5 (JP)" | "Claude Sonnet 5 (Global)" | "Claude Opus 4.8 (Global)" | "Llama 4 Maverick 17B Instruct (US)" | "GPT-5.4" | "Claude Sonnet 5" | "Devstral 2 123B" | "GLM-4.7" | "Claude Fable 5" | "Palmyra X4" | "Magistral Small 1.2" | "Qwen3 Coder 480B A35B Instruct" | "Nova Micro" | "Pixtral Large (25.02)" | "Claude Opus 4.6 (US)" | "Claude Opus 4.7 (JP)" | "Claude Sonnet 4.5 (AU)" | "DeepSeek-V3.1" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (JP)" | "Gemma 3 4B IT" | "Claude Sonnet 4.5 (EU)" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Palmyra X5" | "Claude Sonnet 4.6 (US)" | "Claude Haiku 4.5 (AU)" | "Llama 3.3 70B Instruct" | "GLM-5" | "Claude Opus 4.8 (US)" | "Claude Opus 4.7 (Global)" | "Claude Fable 5 (US)" | "Nova Lite" | "Claude Haiku 4.5 (US)" | "Grok 4.3" | "Voxtral Mini 3B 2507" | "Kimi K2 Thinking" | "Llama 3.1 70B Instruct" | "DeepSeek-R1 (US)" | "Claude Sonnet 4.6 (Global)" | "Claude Haiku 4.5" | "Kimi K2.5" | "Claude Opus 4.8 (AU)" | "NVIDIA Nemotron Nano 12B v2 VL BF16" | "GLM-4.7-Flash" | "Llama 4 Scout 17B Instruct" | "Claude Sonnet 5 (AU)" | "Qwen3 235B A22B 2507" | "Claude Haiku 4.5 (EU)" | "Claude Opus 4.8 (JP)" | "Claude Opus 4.8" | "Qwen3 Coder 30B A3B Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "GPT-5.5" | "AU Anthropic Claude Sonnet 4.6" | "Claude Sonnet 5 (US)" | "Claude Opus 4.5 (US)" | "MiniMax M2.5" | "Claude Opus 4.8 (EU)" | "Claude Opus 4.7 (EU)" | "Llama 3.1 8B Instruct" | "Claude Opus 4.1 (US)" | "Llama 4 Maverick 17B Instruct" | "Claude Opus 4.5 (Global)" | "NVIDIA Nemotron 3 Super 120B A12B" | "Claude Sonnet 5 (EU)" | "NVIDIA Nemotron Nano 3 30B" | "Claude Opus 4.5 (EU)" | "Claude Opus 4.6 (Global)" | "Claude Sonnet 4.5 (US)" | "Google Gemma 3 12B" | "MiniMax M2.1" | "Claude Fable 5 (EU)" | "DeepSeek-V3.2" | "Ministral 14B 3.0";
|
|
2
|
+
export type ModelId="global.anthropic.claude-haiku-4-5-20251001-v1:0" | "global.anthropic.claude-sonnet-4-5-20250929-v1:0" | "jp.anthropic.claude-haiku-4-5-20251001-v1:0" | "us.meta.llama4-scout-17b-instruct-v1:0" | "minimax.minimax-m2" | "anthropic.claude-opus-4-7" | "eu.anthropic.claude-sonnet-4-6" | "mistral.voxtral-small-24b-2507" | "mistral.ministral-3-3b-instruct" | "openai.gpt-oss-20b" | "anthropic.claude-opus-4-6-v1" | "openai.gpt-oss-safeguard-20b" | "anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-fable-5" | "openai.gpt-oss-120b-1:0" | "anthropic.claude-sonnet-4-5-20250929-v1:0" | "amazon.nova-pro-v1:0" | "qwen.qwen3-coder-next" | "us.anthropic.claude-opus-4-7" | "nvidia.nemotron-nano-9b-v2" | "qwen.qwen3-32b-v1:0" | "jp.anthropic.claude-sonnet-4-6" | "deepseek.r1-v1:0" | "mistral.mistral-large-3-675b-instruct" | "google.gemma-3-27b-it" | "anthropic.claude-sonnet-4-6" | "amazon.nova-2-lite-v1:0" | "openai.gpt-5.6-luna" | "openai.gpt-oss-safeguard-120b" | "mistral.ministral-3-8b-instruct" | "eu.anthropic.claude-opus-4-6-v1" | "au.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-sonnet-5" | "openai.gpt-oss-120b" | "global.anthropic.claude-sonnet-5" | "global.anthropic.claude-opus-4-8" | "us.meta.llama4-maverick-17b-instruct-v1:0" | "openai.gpt-5.4" | "anthropic.claude-sonnet-5" | "mistral.devstral-2-123b" | "zai.glm-4.7" | "anthropic.claude-fable-5" | "writer.palmyra-x4-v1:0" | "mistral.magistral-small-2509" | "qwen.qwen3-coder-480b-a35b-v1:0" | "amazon.nova-micro-v1:0" | "mistral.pixtral-large-2502-v1:0" | "us.anthropic.claude-opus-4-6-v1" | "jp.anthropic.claude-opus-4-7" | "au.anthropic.claude-sonnet-4-5-20250929-v1:0" | "deepseek.v3-v1:0" | "anthropic.claude-opus-4-1-20250805-v1:0" | "jp.anthropic.claude-sonnet-4-5-20250929-v1:0" | "google.gemma-3-4b-it" | "eu.anthropic.claude-sonnet-4-5-20250929-v1:0" | "qwen.qwen3-vl-235b-a22b" | "writer.palmyra-x5-v1:0" | "us.anthropic.claude-sonnet-4-6" | "au.anthropic.claude-haiku-4-5-20251001-v1:0" | "meta.llama3-3-70b-instruct-v1:0" | "zai.glm-5" | "us.anthropic.claude-opus-4-8" | "global.anthropic.claude-opus-4-7" | "us.anthropic.claude-fable-5" | "amazon.nova-lite-v1:0" | "openai.gpt-5.6-sol" | "us.anthropic.claude-haiku-4-5-20251001-v1:0" | "xai.grok-4.3" | "mistral.voxtral-mini-3b-2507" | "moonshot.kimi-k2-thinking" | "meta.llama3-1-70b-instruct-v1:0" | "us.deepseek.r1-v1:0" | "global.anthropic.claude-sonnet-4-6" | "anthropic.claude-haiku-4-5-20251001-v1:0" | "moonshotai.kimi-k2.5" | "au.anthropic.claude-opus-4-8" | "nvidia.nemotron-nano-12b-v2" | "zai.glm-4.7-flash" | "meta.llama4-scout-17b-instruct-v1:0" | "au.anthropic.claude-sonnet-5" | "qwen.qwen3-235b-a22b-2507-v1:0" | "eu.anthropic.claude-haiku-4-5-20251001-v1:0" | "openai.gpt-oss-20b-1:0" | "jp.anthropic.claude-opus-4-8" | "anthropic.claude-opus-4-8" | "qwen.qwen3-coder-30b-a3b-v1:0" | "qwen.qwen3-next-80b-a3b" | "openai.gpt-5.5" | "au.anthropic.claude-sonnet-4-6" | "us.anthropic.claude-sonnet-5" | "us.anthropic.claude-opus-4-5-20251101-v1:0" | "minimax.minimax-m2.5" | "eu.anthropic.claude-opus-4-8" | "eu.anthropic.claude-opus-4-7" | "meta.llama3-1-8b-instruct-v1:0" | "us.anthropic.claude-opus-4-1-20250805-v1:0" | "meta.llama4-maverick-17b-instruct-v1:0" | "global.anthropic.claude-opus-4-5-20251101-v1:0" | "nvidia.nemotron-super-3-120b" | "eu.anthropic.claude-sonnet-5" | "nvidia.nemotron-nano-3-30b" | "eu.anthropic.claude-opus-4-5-20251101-v1:0" | "global.anthropic.claude-opus-4-6-v1" | "us.anthropic.claude-sonnet-4-5-20250929-v1:0" | "openai.gpt-5.6-terra" | "google.gemma-3-12b-it" | "minimax.minimax-m2.1" | "eu.anthropic.claude-fable-5" | "deepseek.v3.2" | "mistral.ministral-3-14b-instruct";
|
|
3
|
+
export type ModelName="Claude Haiku 4.5 (Global)" | "Claude Sonnet 4.5 (Global)" | "Claude Haiku 4.5 (JP)" | "Llama 4 Scout 17B Instruct (US)" | "MiniMax M2" | "Claude Opus 4.7" | "Claude Sonnet 4.6 (EU)" | "Voxtral Small 24B 2507" | "Ministral 3 3B" | "gpt-oss-20b" | "Claude Opus 4.6" | "GPT OSS Safeguard 20B" | "Claude Opus 4.5" | "Claude Fable 5 (Global)" | "gpt-oss-120b" | "Claude Sonnet 4.5" | "Nova Pro" | "Qwen3 Coder Next" | "Claude Opus 4.7 (US)" | "NVIDIA Nemotron Nano 9B v2" | "Qwen3 32B (dense)" | "Claude Sonnet 4.6 (JP)" | "DeepSeek-R1" | "Mistral Large 3" | "Google Gemma 3 27B Instruct" | "Claude Sonnet 4.6" | "Nova 2 Lite" | "GPT-5.6 Luna" | "GPT OSS Safeguard 120B" | "Ministral 3 8B" | "Claude Opus 4.6 (EU)" | "AU Anthropic Claude Opus 4.6" | "Claude Sonnet 5 (JP)" | "Claude Sonnet 5 (Global)" | "Claude Opus 4.8 (Global)" | "Llama 4 Maverick 17B Instruct (US)" | "GPT-5.4" | "Claude Sonnet 5" | "Devstral 2 123B" | "GLM-4.7" | "Claude Fable 5" | "Palmyra X4" | "Magistral Small 1.2" | "Qwen3 Coder 480B A35B Instruct" | "Nova Micro" | "Pixtral Large (25.02)" | "Claude Opus 4.6 (US)" | "Claude Opus 4.7 (JP)" | "Claude Sonnet 4.5 (AU)" | "DeepSeek-V3.1" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (JP)" | "Gemma 3 4B IT" | "Claude Sonnet 4.5 (EU)" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Palmyra X5" | "Claude Sonnet 4.6 (US)" | "Claude Haiku 4.5 (AU)" | "Llama 3.3 70B Instruct" | "GLM-5" | "Claude Opus 4.8 (US)" | "Claude Opus 4.7 (Global)" | "Claude Fable 5 (US)" | "Nova Lite" | "GPT-5.6 Sol" | "Claude Haiku 4.5 (US)" | "Grok 4.3" | "Voxtral Mini 3B 2507" | "Kimi K2 Thinking" | "Llama 3.1 70B Instruct" | "DeepSeek-R1 (US)" | "Claude Sonnet 4.6 (Global)" | "Claude Haiku 4.5" | "Kimi K2.5" | "Claude Opus 4.8 (AU)" | "NVIDIA Nemotron Nano 12B v2 VL BF16" | "GLM-4.7-Flash" | "Llama 4 Scout 17B Instruct" | "Claude Sonnet 5 (AU)" | "Qwen3 235B A22B 2507" | "Claude Haiku 4.5 (EU)" | "Claude Opus 4.8 (JP)" | "Claude Opus 4.8" | "Qwen3 Coder 30B A3B Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "GPT-5.5" | "AU Anthropic Claude Sonnet 4.6" | "Claude Sonnet 5 (US)" | "Claude Opus 4.5 (US)" | "MiniMax M2.5" | "Claude Opus 4.8 (EU)" | "Claude Opus 4.7 (EU)" | "Llama 3.1 8B Instruct" | "Claude Opus 4.1 (US)" | "Llama 4 Maverick 17B Instruct" | "Claude Opus 4.5 (Global)" | "NVIDIA Nemotron 3 Super 120B A12B" | "Claude Sonnet 5 (EU)" | "NVIDIA Nemotron Nano 3 30B" | "Claude Opus 4.5 (EU)" | "Claude Opus 4.6 (Global)" | "Claude Sonnet 4.5 (US)" | "GPT-5.6 Terra" | "Google Gemma 3 12B" | "MiniMax M2.1" | "Claude Fable 5 (EU)" | "DeepSeek-V3.2" | "Ministral 14B 3.0";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2.6" | "zai-org/GLM-5.1-FP8" | "zai-org/GLM-5.2-FP8";
|
|
3
|
-
export type ModelName="Kimi K2.7 Code" | "Kimi K2.6" | "GLM
|
|
2
|
+
export type ModelId="moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2.6" | "z-ai/glm-5.2" | "stepfun/step-3.7-flash" | "zai-org/GLM-5.1-FP8" | "zai-org/GLM-5.2-FP8" | "ambient/large";
|
|
3
|
+
export type ModelName="Kimi K2.7 Code" | "Kimi K2.6" | "GLM-5.2" | "Step 3.7 Flash" | "GLM 5.1" | "Ambient Large";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2.6" | "zai-org/GLM-5.1-FP8" | "zai-org/GLM-5.2-FP8";
|
|
3
|
-
export type ModelName="Kimi K2.7 Code" | "Kimi K2.6" | "GLM
|
|
2
|
+
export type ModelId="moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2.6" | "z-ai/glm-5.2" | "stepfun/step-3.7-flash" | "zai-org/GLM-5.1-FP8" | "zai-org/GLM-5.2-FP8" | "ambient/large";
|
|
3
|
+
export type ModelName="Kimi K2.7 Code" | "Kimi K2.6" | "GLM-5.2" | "Step 3.7 Flash" | "GLM 5.1" | "Ambient Large";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="claude-opus-4-5" | "claude-sonnet-4-5" | "gpt-5.4-nano" | "claude-opus-4-8" | "claude-opus-4-1" | "kimi-k2.5" | "claude-haiku-4-5" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "claude-opus-4-6" | "gpt-5.4-pro" | "gpt-5.5" | "gpt-5.1" | "meta-llama-3-70b-instruct" | "phi-3-mini-4k-instruct" | "phi-3-mini-128k-instruct" | "phi-4-mini-reasoning" | "gpt-5.2-codex" | "llama-4-maverick-17b-128e-instruct-fp8" | "deepseek-v3.2" | "gpt-5-codex" | "model-router" | "gpt-4o-mini" | "phi-4-multimodal" | "phi-4-reasoning-plus" | "codestral-2501" | "cohere-embed-v3-english" | "phi-3-medium-4k-instruct" | "gpt-5-nano" | "gpt-4-turbo" | "gpt-4.1-mini" | "gpt-5-mini" | "gpt-4.1" | "ministral-3b" | "llama-3.2-90b-vision-instruct" | "deepseek-v3.1" | "o1" | "gpt-4.1-nano" | "grok-4-fast-reasoning" | "phi-4" | "gpt-5.1-codex-mini" | "meta-llama-3.1-8b-instruct" | "gpt-3.5-turbo-0301" | "deepseek-v3.2-speciale" | "text-embedding-3-small" | "gpt-5.3-codex" | "mistral-large-2411" | "gpt-4-turbo-vision" | "gpt-5.2" | "o3-mini" | "text-embedding-ada-002" | "meta-llama-3.1-70b-instruct" | "mistral-medium-2505" | "phi-4-reasoning" | "gpt-5.1-codex" | "gpt-3.5-turbo-0613" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0125" | "phi-3-small-8k-instruct" | "deepseek-r1" | "kimi-k2-thinking" | "gpt-5.1-chat" | "llama-3.3-70b-instruct" | "llama-4-scout-17b-16e-instruct" | "gpt-3.5-turbo-1106" | "phi-4-mini" | "cohere-command-r-plus-08-2024" | "meta-llama-3.1-405b-instruct" | "gpt-4-32k" | "phi-3-medium-128k-instruct" | "o4-mini" | "gpt-4" | "gpt-4o" | "cohere-command-r-08-2024" | "gpt-5-pro" | "llama-3.2-11b-vision-instruct" | "cohere-command-a" | "gpt-5-chat" | "gpt-5" | "cohere-embed-v-4-0" | "mistral-nemo" | "phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "mistral-small-2503" | "meta-llama-3-8b-instruct" | "phi-3-small-128k-instruct" | "deepseek-v3-0324" | "o3" | "gpt-5.2-chat" | "deepseek-r1-0528" | "gpt-3.5-turbo-instruct" | "phi-3.5-moe-instruct" | "codex-mini";
|
|
3
|
-
export type ModelName="Claude Opus 4.5" | "Claude Sonnet 4.5" | "GPT-5.4 Nano" | "Claude Opus 4.8" | "Claude Opus 4.1" | "Kimi K2.5" | "Claude Haiku 4.5" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "Claude Opus 4.6" | "GPT-5.4 Pro" | "GPT-5.5" | "GPT-5.1" | "Meta-Llama-3-70B-Instruct" | "Phi-3-mini-instruct (4k)" | "Phi-3-mini-instruct (128k)" | "Phi-4-mini-reasoning" | "GPT-5.2 Codex" | "Llama 4 Maverick 17B 128E Instruct FP8" | "DeepSeek-V3.2" | "GPT-5-Codex" | "Model Router" | "GPT-4o mini" | "Phi-4-multimodal" | "Phi-4-reasoning-plus" | "Codestral 25.01" | "Embed v3 English" | "Phi-3-medium-instruct (4k)" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "Ministral 3B" | "Llama-3.2-90B-Vision-Instruct" | "DeepSeek-V3.1" | "o1" | "GPT-4.1 nano" | "Grok 4 Fast (Reasoning)" | "Phi-4" | "GPT-5.1 Codex Mini" | "Meta-Llama-3.1-8B-Instruct" | "GPT-3.5 Turbo 0301" | "DeepSeek-V3.2-Speciale" | "text-embedding-3-small" | "GPT-5.3 Codex" | "Mistral Large 24.11" | "GPT-4 Turbo Vision" | "GPT-5.2" | "o3-mini" | "text-embedding-ada-002" | "Meta-Llama-3.1-70B-Instruct" | "Mistral Medium 3" | "Phi-4-reasoning" | "GPT-5.1 Codex" | "GPT-3.5 Turbo 0613" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0125" | "Phi-3-small-instruct (8k)" | "DeepSeek-R1" | "Kimi K2 Thinking" | "GPT-5.1 Chat" | "Llama-3.3-70B-Instruct" | "Llama 4 Scout 17B 16E Instruct" | "GPT-3.5 Turbo 1106" | "Phi-4-mini" | "Command R+" | "Meta-Llama-3.1-405B-Instruct" | "GPT-4 32K" | "Phi-3-medium-instruct (128k)" | "o4-mini" | "GPT-4" | "GPT-4o" | "Command R" | "GPT-5 Pro" | "Llama-3.2-11B-Vision-Instruct" | "Command A" | "GPT-5 Chat" | "GPT-5" | "Embed v4" | "Mistral Nemo" | "Phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "Mistral Small 3.1" | "Meta-Llama-3-8B-Instruct" | "Phi-3-small-instruct (128k)" | "DeepSeek-V3-0324" | "o3" | "GPT-5.2 Chat" | "DeepSeek-R1-0528" | "GPT-3.5 Turbo Instruct" | "Phi-3.5-MoE-instruct" | "Codex Mini";
|
|
2
|
+
export type ModelId="claude-opus-4-5" | "claude-sonnet-4-5" | "gpt-5.4-nano" | "claude-opus-4-8" | "gpt-5.6-luna" | "claude-opus-4-1" | "kimi-k2.5" | "gpt-5.6-terra" | "gpt-chat-latest" | "claude-haiku-4-5" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "claude-opus-4-6" | "gpt-5.4-pro" | "gpt-5.6-sol" | "gpt-5.5" | "gpt-5.1" | "meta-llama-3-70b-instruct" | "phi-3-mini-4k-instruct" | "phi-3-mini-128k-instruct" | "phi-4-mini-reasoning" | "gpt-5.2-codex" | "llama-4-maverick-17b-128e-instruct-fp8" | "deepseek-v3.2" | "gpt-5-codex" | "model-router" | "gpt-4o-mini" | "phi-4-multimodal" | "phi-4-reasoning-plus" | "codestral-2501" | "cohere-embed-v3-english" | "phi-3-medium-4k-instruct" | "gpt-5-nano" | "gpt-4-turbo" | "gpt-4.1-mini" | "gpt-5-mini" | "gpt-4.1" | "ministral-3b" | "llama-3.2-90b-vision-instruct" | "deepseek-v3.1" | "o1" | "gpt-4.1-nano" | "grok-4-fast-reasoning" | "phi-4" | "gpt-5.1-codex-mini" | "meta-llama-3.1-8b-instruct" | "gpt-3.5-turbo-0301" | "deepseek-v3.2-speciale" | "text-embedding-3-small" | "gpt-5.3-codex" | "mistral-large-2411" | "gpt-4-turbo-vision" | "gpt-5.2" | "o3-mini" | "text-embedding-ada-002" | "meta-llama-3.1-70b-instruct" | "mistral-medium-2505" | "phi-4-reasoning" | "gpt-5.1-codex" | "gpt-3.5-turbo-0613" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0125" | "phi-3-small-8k-instruct" | "deepseek-r1" | "kimi-k2-thinking" | "gpt-5.1-chat" | "llama-3.3-70b-instruct" | "llama-4-scout-17b-16e-instruct" | "gpt-3.5-turbo-1106" | "phi-4-mini" | "cohere-command-r-plus-08-2024" | "meta-llama-3.1-405b-instruct" | "gpt-4-32k" | "phi-3-medium-128k-instruct" | "o4-mini" | "gpt-4" | "gpt-4o" | "cohere-command-r-08-2024" | "gpt-5-pro" | "llama-3.2-11b-vision-instruct" | "cohere-command-a" | "gpt-5-chat" | "gpt-5" | "cohere-embed-v-4-0" | "mistral-nemo" | "phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "mistral-small-2503" | "meta-llama-3-8b-instruct" | "phi-3-small-128k-instruct" | "deepseek-v3-0324" | "o3" | "gpt-5.2-chat" | "deepseek-r1-0528" | "gpt-3.5-turbo-instruct" | "phi-3.5-moe-instruct" | "codex-mini";
|
|
3
|
+
export type ModelName="Claude Opus 4.5" | "Claude Sonnet 4.5" | "GPT-5.4 Nano" | "Claude Opus 4.8" | "GPT-5.6 Luna" | "Claude Opus 4.1" | "Kimi K2.5" | "GPT-5.6 Terra" | "GPT Chat Latest" | "Claude Haiku 4.5" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "Claude Opus 4.6" | "GPT-5.4 Pro" | "GPT-5.6 Sol" | "GPT-5.5" | "GPT-5.1" | "Meta-Llama-3-70B-Instruct" | "Phi-3-mini-instruct (4k)" | "Phi-3-mini-instruct (128k)" | "Phi-4-mini-reasoning" | "GPT-5.2 Codex" | "Llama 4 Maverick 17B 128E Instruct FP8" | "DeepSeek-V3.2" | "GPT-5-Codex" | "Model Router" | "GPT-4o mini" | "Phi-4-multimodal" | "Phi-4-reasoning-plus" | "Codestral 25.01" | "Embed v3 English" | "Phi-3-medium-instruct (4k)" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "Ministral 3B" | "Llama-3.2-90B-Vision-Instruct" | "DeepSeek-V3.1" | "o1" | "GPT-4.1 nano" | "Grok 4 Fast (Reasoning)" | "Phi-4" | "GPT-5.1 Codex Mini" | "Meta-Llama-3.1-8B-Instruct" | "GPT-3.5 Turbo 0301" | "DeepSeek-V3.2-Speciale" | "text-embedding-3-small" | "GPT-5.3 Codex" | "Mistral Large 24.11" | "GPT-4 Turbo Vision" | "GPT-5.2" | "o3-mini" | "text-embedding-ada-002" | "Meta-Llama-3.1-70B-Instruct" | "Mistral Medium 3" | "Phi-4-reasoning" | "GPT-5.1 Codex" | "GPT-3.5 Turbo 0613" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0125" | "Phi-3-small-instruct (8k)" | "DeepSeek-R1" | "Kimi K2 Thinking" | "GPT-5.1 Chat" | "Llama-3.3-70B-Instruct" | "Llama 4 Scout 17B 16E Instruct" | "GPT-3.5 Turbo 1106" | "Phi-4-mini" | "Command R+" | "Meta-Llama-3.1-405B-Instruct" | "GPT-4 32K" | "Phi-3-medium-instruct (128k)" | "o4-mini" | "GPT-4" | "GPT-4o" | "Command R" | "GPT-5 Pro" | "Llama-3.2-11B-Vision-Instruct" | "Command A" | "GPT-5 Chat" | "GPT-5" | "Embed v4" | "Mistral Nemo" | "Phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "Mistral Small 3.1" | "Meta-Llama-3-8B-Instruct" | "Phi-3-small-instruct (128k)" | "DeepSeek-V3-0324" | "o3" | "GPT-5.2 Chat" | "DeepSeek-R1-0528" | "GPT-3.5 Turbo Instruct" | "Phi-3.5-MoE-instruct" | "Codex Mini";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="claude-opus-4-5" | "claude-sonnet-4-5" | "gpt-5.4-nano" | "claude-opus-4-8" | "claude-opus-4-1" | "kimi-k2.5" | "claude-haiku-4-5" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "claude-opus-4-6" | "gpt-5.4-pro" | "gpt-5.5" | "gpt-5.1" | "meta-llama-3-70b-instruct" | "phi-3-mini-4k-instruct" | "phi-3-mini-128k-instruct" | "phi-4-mini-reasoning" | "gpt-5.2-codex" | "llama-4-maverick-17b-128e-instruct-fp8" | "deepseek-v3.2" | "gpt-5-codex" | "model-router" | "gpt-4o-mini" | "phi-4-multimodal" | "phi-4-reasoning-plus" | "codestral-2501" | "cohere-embed-v3-english" | "phi-3-medium-4k-instruct" | "gpt-5-nano" | "gpt-4-turbo" | "gpt-4.1-mini" | "gpt-5-mini" | "gpt-4.1" | "ministral-3b" | "llama-3.2-90b-vision-instruct" | "deepseek-v3.1" | "o1" | "gpt-4.1-nano" | "grok-4-fast-reasoning" | "phi-4" | "gpt-5.1-codex-mini" | "meta-llama-3.1-8b-instruct" | "gpt-3.5-turbo-0301" | "deepseek-v3.2-speciale" | "text-embedding-3-small" | "gpt-5.3-codex" | "mistral-large-2411" | "gpt-4-turbo-vision" | "gpt-5.2" | "o3-mini" | "text-embedding-ada-002" | "meta-llama-3.1-70b-instruct" | "mistral-medium-2505" | "phi-4-reasoning" | "gpt-5.1-codex" | "gpt-3.5-turbo-0613" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0125" | "phi-3-small-8k-instruct" | "deepseek-r1" | "kimi-k2-thinking" | "gpt-5.1-chat" | "llama-3.3-70b-instruct" | "llama-4-scout-17b-16e-instruct" | "gpt-3.5-turbo-1106" | "phi-4-mini" | "cohere-command-r-plus-08-2024" | "meta-llama-3.1-405b-instruct" | "gpt-4-32k" | "phi-3-medium-128k-instruct" | "o4-mini" | "gpt-4" | "gpt-4o" | "cohere-command-r-08-2024" | "gpt-5-pro" | "llama-3.2-11b-vision-instruct" | "cohere-command-a" | "gpt-5-chat" | "gpt-5" | "cohere-embed-v-4-0" | "mistral-nemo" | "phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "mistral-small-2503" | "meta-llama-3-8b-instruct" | "phi-3-small-128k-instruct" | "deepseek-v3-0324" | "o3" | "gpt-5.2-chat" | "deepseek-r1-0528" | "gpt-3.5-turbo-instruct" | "phi-3.5-moe-instruct" | "codex-mini";
|
|
3
|
-
export type ModelName="Claude Opus 4.5" | "Claude Sonnet 4.5" | "GPT-5.4 Nano" | "Claude Opus 4.8" | "Claude Opus 4.1" | "Kimi K2.5" | "Claude Haiku 4.5" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "Claude Opus 4.6" | "GPT-5.4 Pro" | "GPT-5.5" | "GPT-5.1" | "Meta-Llama-3-70B-Instruct" | "Phi-3-mini-instruct (4k)" | "Phi-3-mini-instruct (128k)" | "Phi-4-mini-reasoning" | "GPT-5.2 Codex" | "Llama 4 Maverick 17B 128E Instruct FP8" | "DeepSeek-V3.2" | "GPT-5-Codex" | "Model Router" | "GPT-4o mini" | "Phi-4-multimodal" | "Phi-4-reasoning-plus" | "Codestral 25.01" | "Embed v3 English" | "Phi-3-medium-instruct (4k)" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "Ministral 3B" | "Llama-3.2-90B-Vision-Instruct" | "DeepSeek-V3.1" | "o1" | "GPT-4.1 nano" | "Grok 4 Fast (Reasoning)" | "Phi-4" | "GPT-5.1 Codex Mini" | "Meta-Llama-3.1-8B-Instruct" | "GPT-3.5 Turbo 0301" | "DeepSeek-V3.2-Speciale" | "text-embedding-3-small" | "GPT-5.3 Codex" | "Mistral Large 24.11" | "GPT-4 Turbo Vision" | "GPT-5.2" | "o3-mini" | "text-embedding-ada-002" | "Meta-Llama-3.1-70B-Instruct" | "Mistral Medium 3" | "Phi-4-reasoning" | "GPT-5.1 Codex" | "GPT-3.5 Turbo 0613" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0125" | "Phi-3-small-instruct (8k)" | "DeepSeek-R1" | "Kimi K2 Thinking" | "GPT-5.1 Chat" | "Llama-3.3-70B-Instruct" | "Llama 4 Scout 17B 16E Instruct" | "GPT-3.5 Turbo 1106" | "Phi-4-mini" | "Command R+" | "Meta-Llama-3.1-405B-Instruct" | "GPT-4 32K" | "Phi-3-medium-instruct (128k)" | "o4-mini" | "GPT-4" | "GPT-4o" | "Command R" | "GPT-5 Pro" | "Llama-3.2-11B-Vision-Instruct" | "Command A" | "GPT-5 Chat" | "GPT-5" | "Embed v4" | "Mistral Nemo" | "Phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "Mistral Small 3.1" | "Meta-Llama-3-8B-Instruct" | "Phi-3-small-instruct (128k)" | "DeepSeek-V3-0324" | "o3" | "GPT-5.2 Chat" | "DeepSeek-R1-0528" | "GPT-3.5 Turbo Instruct" | "Phi-3.5-MoE-instruct" | "Codex Mini";
|
|
2
|
+
export type ModelId="claude-opus-4-5" | "claude-sonnet-4-5" | "gpt-5.4-nano" | "claude-opus-4-8" | "gpt-5.6-luna" | "claude-opus-4-1" | "kimi-k2.5" | "gpt-5.6-terra" | "gpt-chat-latest" | "claude-haiku-4-5" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "claude-opus-4-6" | "gpt-5.4-pro" | "gpt-5.6-sol" | "gpt-5.5" | "gpt-5.1" | "meta-llama-3-70b-instruct" | "phi-3-mini-4k-instruct" | "phi-3-mini-128k-instruct" | "phi-4-mini-reasoning" | "gpt-5.2-codex" | "llama-4-maverick-17b-128e-instruct-fp8" | "deepseek-v3.2" | "gpt-5-codex" | "model-router" | "gpt-4o-mini" | "phi-4-multimodal" | "phi-4-reasoning-plus" | "codestral-2501" | "cohere-embed-v3-english" | "phi-3-medium-4k-instruct" | "gpt-5-nano" | "gpt-4-turbo" | "gpt-4.1-mini" | "gpt-5-mini" | "gpt-4.1" | "ministral-3b" | "llama-3.2-90b-vision-instruct" | "deepseek-v3.1" | "o1" | "gpt-4.1-nano" | "grok-4-fast-reasoning" | "phi-4" | "gpt-5.1-codex-mini" | "meta-llama-3.1-8b-instruct" | "gpt-3.5-turbo-0301" | "deepseek-v3.2-speciale" | "text-embedding-3-small" | "gpt-5.3-codex" | "mistral-large-2411" | "gpt-4-turbo-vision" | "gpt-5.2" | "o3-mini" | "text-embedding-ada-002" | "meta-llama-3.1-70b-instruct" | "mistral-medium-2505" | "phi-4-reasoning" | "gpt-5.1-codex" | "gpt-3.5-turbo-0613" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0125" | "phi-3-small-8k-instruct" | "deepseek-r1" | "kimi-k2-thinking" | "gpt-5.1-chat" | "llama-3.3-70b-instruct" | "llama-4-scout-17b-16e-instruct" | "gpt-3.5-turbo-1106" | "phi-4-mini" | "cohere-command-r-plus-08-2024" | "meta-llama-3.1-405b-instruct" | "gpt-4-32k" | "phi-3-medium-128k-instruct" | "o4-mini" | "gpt-4" | "gpt-4o" | "cohere-command-r-08-2024" | "gpt-5-pro" | "llama-3.2-11b-vision-instruct" | "cohere-command-a" | "gpt-5-chat" | "gpt-5" | "cohere-embed-v-4-0" | "mistral-nemo" | "phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "mistral-small-2503" | "meta-llama-3-8b-instruct" | "phi-3-small-128k-instruct" | "deepseek-v3-0324" | "o3" | "gpt-5.2-chat" | "deepseek-r1-0528" | "gpt-3.5-turbo-instruct" | "phi-3.5-moe-instruct" | "codex-mini";
|
|
3
|
+
export type ModelName="Claude Opus 4.5" | "Claude Sonnet 4.5" | "GPT-5.4 Nano" | "Claude Opus 4.8" | "GPT-5.6 Luna" | "Claude Opus 4.1" | "Kimi K2.5" | "GPT-5.6 Terra" | "GPT Chat Latest" | "Claude Haiku 4.5" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "Claude Opus 4.6" | "GPT-5.4 Pro" | "GPT-5.6 Sol" | "GPT-5.5" | "GPT-5.1" | "Meta-Llama-3-70B-Instruct" | "Phi-3-mini-instruct (4k)" | "Phi-3-mini-instruct (128k)" | "Phi-4-mini-reasoning" | "GPT-5.2 Codex" | "Llama 4 Maverick 17B 128E Instruct FP8" | "DeepSeek-V3.2" | "GPT-5-Codex" | "Model Router" | "GPT-4o mini" | "Phi-4-multimodal" | "Phi-4-reasoning-plus" | "Codestral 25.01" | "Embed v3 English" | "Phi-3-medium-instruct (4k)" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "Ministral 3B" | "Llama-3.2-90B-Vision-Instruct" | "DeepSeek-V3.1" | "o1" | "GPT-4.1 nano" | "Grok 4 Fast (Reasoning)" | "Phi-4" | "GPT-5.1 Codex Mini" | "Meta-Llama-3.1-8B-Instruct" | "GPT-3.5 Turbo 0301" | "DeepSeek-V3.2-Speciale" | "text-embedding-3-small" | "GPT-5.3 Codex" | "Mistral Large 24.11" | "GPT-4 Turbo Vision" | "GPT-5.2" | "o3-mini" | "text-embedding-ada-002" | "Meta-Llama-3.1-70B-Instruct" | "Mistral Medium 3" | "Phi-4-reasoning" | "GPT-5.1 Codex" | "GPT-3.5 Turbo 0613" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0125" | "Phi-3-small-instruct (8k)" | "DeepSeek-R1" | "Kimi K2 Thinking" | "GPT-5.1 Chat" | "Llama-3.3-70B-Instruct" | "Llama 4 Scout 17B 16E Instruct" | "GPT-3.5 Turbo 1106" | "Phi-4-mini" | "Command R+" | "Meta-Llama-3.1-405B-Instruct" | "GPT-4 32K" | "Phi-3-medium-instruct (128k)" | "o4-mini" | "GPT-4" | "GPT-4o" | "Command R" | "GPT-5 Pro" | "Llama-3.2-11B-Vision-Instruct" | "Command A" | "GPT-5 Chat" | "GPT-5" | "Embed v4" | "Mistral Nemo" | "Phi-3.5-mini-instruct" | "o1-mini" | "text-embedding-3-large" | "Mistral Small 3.1" | "Meta-Llama-3-8B-Instruct" | "Phi-3-small-instruct (128k)" | "DeepSeek-V3-0324" | "o3" | "GPT-5.2 Chat" | "DeepSeek-R1-0528" | "GPT-3.5 Turbo Instruct" | "Phi-3.5-MoE-instruct" | "Codex Mini";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="codex-mini" | "phi-3.5-moe-instruct" | "gpt-3.5-turbo-instruct" | "deepseek-r1-0528" | "deepseek-v4-flash" | "gpt-5.2-chat" | "o3" | "deepseek-v3-0324" | "phi-3-small-128k-instruct" | "meta-llama-3-8b-instruct" | "mistral-small-2503" | "text-embedding-3-large" | "o1-mini" | "phi-3.5-mini-instruct" | "mistral-nemo" | "cohere-embed-v-4-0" | "claude-opus-4-5" | "gpt-5" | "gpt-5-chat" | "cohere-command-a" | "llama-3.2-11b-vision-instruct" | "gpt-5-pro" | "cohere-command-r-08-2024" | "gpt-4o" | "gpt-4" | "o4-mini" | "phi-3-medium-128k-instruct" | "gpt-4-32k" | "meta-llama-3.1-405b-instruct" | "cohere-command-r-plus-08-2024" | "phi-4-mini" | "gpt-3.5-turbo-1106" | "llama-4-scout-17b-16e-instruct" | "llama-3.3-70b-instruct" | "grok-4-20-non-reasoning" | "gpt-5.1-chat" | "deepseek-v4-pro" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "claude-sonnet-5" | "deepseek-r1" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "phi-3-small-8k-instruct" | "gpt-5.3-chat" | "gpt-3.5-turbo-0125" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0613" | "gpt-5.1-codex" | "gpt-5.1-codex-max" | "phi-4-reasoning" | "claude-opus-4-8" | "mistral-medium-2505" | "meta-llama-3.1-70b-instruct" | "text-embedding-ada-002" | "o3-mini" | "gpt-5.2" | "gpt-4-turbo-vision" | "mistral-large-2411" | "gpt-5.3-codex" | "text-embedding-3-small" | "deepseek-v3.2-speciale" | "gpt-3.5-turbo-0301" | "meta-llama-3.1-8b-instruct" | "claude-opus-4-1" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "phi-4" | "grok-4-fast-reasoning" | "gpt-image-1.5" | "gpt-4.1-nano" | "claude-fable-5" | "o1" | "deepseek-v3.1" | "llama-3.2-90b-vision-instruct" | "claude-haiku-4-5" | "ministral-3b" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "claude-opus-4-6" | "grok-4-1-fast-reasoning" | "gpt-5-mini" | "gpt-image-1" | "gpt-4.1-mini" | "gpt-4-turbo" | "gpt-5-nano" | "phi-3-medium-4k-instruct" | "gpt-5.4-pro" | "cohere-embed-v3-english" | "claude-sonnet-4-6" | "codestral-2501" | "phi-4-reasoning-plus" | "phi-4-multimodal" | "gpt-4o-mini" | "model-router" | "grok-4-20-reasoning" | "gpt-5-codex" | "deepseek-v3.2" | "llama-4-maverick-17b-128e-instruct-fp8" | "gpt-5.2-codex" | "phi-4-mini-reasoning" | "phi-3-mini-128k-instruct" | "gpt-image-2" | "phi-3-mini-4k-instruct" | "meta-llama-3-70b-instruct" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
-
export type ModelName="Codex Mini" | "Phi-3.5-MoE-instruct" | "GPT-3.5 Turbo Instruct" | "DeepSeek-R1-0528" | "DeepSeek-V4-Flash" | "GPT-5.2 Chat" | "o3" | "DeepSeek-V3-0324" | "Phi-3-small-instruct (128k)" | "Meta-Llama-3-8B-Instruct" | "Mistral Small 3.1" | "text-embedding-3-large" | "o1-mini" | "Phi-3.5-mini-instruct" | "Mistral Nemo" | "Embed v4" | "Claude Opus 4.5" | "GPT-5" | "GPT-5 Chat" | "Command A" | "Llama-3.2-11B-Vision-Instruct" | "GPT-5 Pro" | "Command R" | "GPT-4o" | "GPT-4" | "o4-mini" | "Phi-3-medium-instruct (128k)" | "GPT-4 32K" | "Meta-Llama-3.1-405B-Instruct" | "Command R+" | "Phi-4-mini" | "GPT-3.5 Turbo 1106" | "Llama 4 Scout 17B 16E Instruct" | "Llama-3.3-70B-Instruct" | "Grok 4.20 (Non-Reasoning)" | "GPT-5.1 Chat" | "DeepSeek-V4-Pro" | "Kimi K2 Thinking" | "Claude Sonnet 4.5" | "Claude Sonnet 5" | "DeepSeek-R1" | "Grok 4.1 Fast (Non-Reasoning)" | "GPT-5.4 Nano" | "Phi-3-small-instruct (8k)" | "GPT-5.3 Chat" | "GPT-3.5 Turbo 0125" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0613" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "Phi-4-reasoning" | "Claude Opus 4.8" | "Mistral Medium 3" | "Meta-Llama-3.1-70B-Instruct" | "text-embedding-ada-002" | "o3-mini" | "GPT-5.2" | "GPT-4 Turbo Vision" | "Mistral Large 24.11" | "GPT-5.3 Codex" | "text-embedding-3-small" | "DeepSeek-V3.2-Speciale" | "GPT-3.5 Turbo 0301" | "Meta-Llama-3.1-8B-Instruct" | "Claude Opus 4.1" | "GPT-5.1 Codex Mini" | "Kimi K2.5" | "Phi-4" | "Grok 4 Fast (Reasoning)" | "GPT-Image-1.5" | "GPT-4.1 nano" | "Claude Fable 5" | "o1" | "DeepSeek-V3.1" | "Llama-3.2-90B-Vision-Instruct" | "Claude Haiku 4.5" | "Ministral 3B" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "GPT-4.1" | "Claude Opus 4.6" | "Grok 4.1 Fast (Reasoning)" | "GPT-5 Mini" | "GPT-Image-1" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "Phi-3-medium-instruct (4k)" | "GPT-5.4 Pro" | "Embed v3 English" | "Claude Sonnet 4.6" | "Codestral 25.01" | "Phi-4-reasoning-plus" | "Phi-4-multimodal" | "GPT-4o mini" | "Model Router" | "Grok 4.20 (Reasoning)" | "GPT-5-Codex" | "DeepSeek-V3.2" | "Llama 4 Maverick 17B 128E Instruct FP8" | "GPT-5.2 Codex" | "Phi-4-mini-reasoning" | "Phi-3-mini-instruct (128k)" | "GPT-Image-2" | "Phi-3-mini-instruct (4k)" | "Meta-Llama-3-70B-Instruct" | "GPT-5.1" | "GPT-5.5";
|
|
2
|
+
export type ModelId="codex-mini" | "phi-3.5-moe-instruct" | "gpt-3.5-turbo-instruct" | "deepseek-r1-0528" | "deepseek-v4-flash" | "gpt-5.2-chat" | "o3" | "deepseek-v3-0324" | "phi-3-small-128k-instruct" | "meta-llama-3-8b-instruct" | "mistral-small-2503" | "text-embedding-3-large" | "o1-mini" | "phi-3.5-mini-instruct" | "mistral-nemo" | "cohere-embed-v-4-0" | "claude-opus-4-5" | "gpt-5" | "gpt-5-chat" | "cohere-command-a" | "llama-3.2-11b-vision-instruct" | "gpt-5-pro" | "cohere-command-r-08-2024" | "gpt-4o" | "gpt-4" | "o4-mini" | "phi-3-medium-128k-instruct" | "gpt-4-32k" | "meta-llama-3.1-405b-instruct" | "cohere-command-r-plus-08-2024" | "phi-4-mini" | "gpt-3.5-turbo-1106" | "llama-4-scout-17b-16e-instruct" | "llama-3.3-70b-instruct" | "grok-4-20-non-reasoning" | "gpt-5.1-chat" | "deepseek-v4-pro" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "claude-sonnet-5" | "deepseek-r1" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "phi-3-small-8k-instruct" | "gpt-5.3-chat" | "gpt-3.5-turbo-0125" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0613" | "gpt-5.1-codex" | "gpt-5.1-codex-max" | "phi-4-reasoning" | "claude-opus-4-8" | "mistral-medium-2505" | "meta-llama-3.1-70b-instruct" | "text-embedding-ada-002" | "o3-mini" | "gpt-5.2" | "gpt-4-turbo-vision" | "mistral-large-2411" | "gpt-5.3-codex" | "text-embedding-3-small" | "deepseek-v3.2-speciale" | "gpt-3.5-turbo-0301" | "meta-llama-3.1-8b-instruct" | "gpt-5.6-luna" | "claude-opus-4-1" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "phi-4" | "gpt-5.6-terra" | "grok-4-fast-reasoning" | "gpt-image-1.5" | "gpt-4.1-nano" | "claude-fable-5" | "o1" | "deepseek-v3.1" | "gpt-chat-latest" | "llama-3.2-90b-vision-instruct" | "claude-haiku-4-5" | "ministral-3b" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "claude-opus-4-6" | "grok-4-1-fast-reasoning" | "gpt-5-mini" | "gpt-image-1" | "gpt-4.1-mini" | "gpt-4-turbo" | "gpt-5-nano" | "phi-3-medium-4k-instruct" | "gpt-5.4-pro" | "cohere-embed-v3-english" | "claude-sonnet-4-6" | "codestral-2501" | "phi-4-reasoning-plus" | "phi-4-multimodal" | "gpt-4o-mini" | "gpt-5.6-sol" | "model-router" | "grok-4-20-reasoning" | "gpt-5-codex" | "deepseek-v3.2" | "llama-4-maverick-17b-128e-instruct-fp8" | "gpt-5.2-codex" | "phi-4-mini-reasoning" | "phi-3-mini-128k-instruct" | "gpt-image-2" | "phi-3-mini-4k-instruct" | "meta-llama-3-70b-instruct" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
+
export type ModelName="Codex Mini" | "Phi-3.5-MoE-instruct" | "GPT-3.5 Turbo Instruct" | "DeepSeek-R1-0528" | "DeepSeek-V4-Flash" | "GPT-5.2 Chat" | "o3" | "DeepSeek-V3-0324" | "Phi-3-small-instruct (128k)" | "Meta-Llama-3-8B-Instruct" | "Mistral Small 3.1" | "text-embedding-3-large" | "o1-mini" | "Phi-3.5-mini-instruct" | "Mistral Nemo" | "Embed v4" | "Claude Opus 4.5" | "GPT-5" | "GPT-5 Chat" | "Command A" | "Llama-3.2-11B-Vision-Instruct" | "GPT-5 Pro" | "Command R" | "GPT-4o" | "GPT-4" | "o4-mini" | "Phi-3-medium-instruct (128k)" | "GPT-4 32K" | "Meta-Llama-3.1-405B-Instruct" | "Command R+" | "Phi-4-mini" | "GPT-3.5 Turbo 1106" | "Llama 4 Scout 17B 16E Instruct" | "Llama-3.3-70B-Instruct" | "Grok 4.20 (Non-Reasoning)" | "GPT-5.1 Chat" | "DeepSeek-V4-Pro" | "Kimi K2 Thinking" | "Claude Sonnet 4.5" | "Claude Sonnet 5" | "DeepSeek-R1" | "Grok 4.1 Fast (Non-Reasoning)" | "GPT-5.4 Nano" | "Phi-3-small-instruct (8k)" | "GPT-5.3 Chat" | "GPT-3.5 Turbo 0125" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0613" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "Phi-4-reasoning" | "Claude Opus 4.8" | "Mistral Medium 3" | "Meta-Llama-3.1-70B-Instruct" | "text-embedding-ada-002" | "o3-mini" | "GPT-5.2" | "GPT-4 Turbo Vision" | "Mistral Large 24.11" | "GPT-5.3 Codex" | "text-embedding-3-small" | "DeepSeek-V3.2-Speciale" | "GPT-3.5 Turbo 0301" | "Meta-Llama-3.1-8B-Instruct" | "GPT-5.6 Luna" | "Claude Opus 4.1" | "GPT-5.1 Codex Mini" | "Kimi K2.5" | "Phi-4" | "GPT-5.6 Terra" | "Grok 4 Fast (Reasoning)" | "GPT-Image-1.5" | "GPT-4.1 nano" | "Claude Fable 5" | "o1" | "DeepSeek-V3.1" | "GPT Chat Latest" | "Llama-3.2-90B-Vision-Instruct" | "Claude Haiku 4.5" | "Ministral 3B" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "GPT-4.1" | "Claude Opus 4.6" | "Grok 4.1 Fast (Reasoning)" | "GPT-5 Mini" | "GPT-Image-1" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "Phi-3-medium-instruct (4k)" | "GPT-5.4 Pro" | "Embed v3 English" | "Claude Sonnet 4.6" | "Codestral 25.01" | "Phi-4-reasoning-plus" | "Phi-4-multimodal" | "GPT-4o mini" | "GPT-5.6 Sol" | "Model Router" | "Grok 4.20 (Reasoning)" | "GPT-5-Codex" | "DeepSeek-V3.2" | "Llama 4 Maverick 17B 128E Instruct FP8" | "GPT-5.2 Codex" | "Phi-4-mini-reasoning" | "Phi-3-mini-instruct (128k)" | "GPT-Image-2" | "Phi-3-mini-instruct (4k)" | "Meta-Llama-3-70B-Instruct" | "GPT-5.1" | "GPT-5.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
package/dist/adapters/azure.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="codex-mini" | "phi-3.5-moe-instruct" | "gpt-3.5-turbo-instruct" | "deepseek-r1-0528" | "deepseek-v4-flash" | "gpt-5.2-chat" | "o3" | "deepseek-v3-0324" | "phi-3-small-128k-instruct" | "meta-llama-3-8b-instruct" | "mistral-small-2503" | "text-embedding-3-large" | "o1-mini" | "phi-3.5-mini-instruct" | "mistral-nemo" | "cohere-embed-v-4-0" | "claude-opus-4-5" | "gpt-5" | "gpt-5-chat" | "cohere-command-a" | "llama-3.2-11b-vision-instruct" | "gpt-5-pro" | "cohere-command-r-08-2024" | "gpt-4o" | "gpt-4" | "o4-mini" | "phi-3-medium-128k-instruct" | "gpt-4-32k" | "meta-llama-3.1-405b-instruct" | "cohere-command-r-plus-08-2024" | "phi-4-mini" | "gpt-3.5-turbo-1106" | "llama-4-scout-17b-16e-instruct" | "llama-3.3-70b-instruct" | "grok-4-20-non-reasoning" | "gpt-5.1-chat" | "deepseek-v4-pro" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "claude-sonnet-5" | "deepseek-r1" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "phi-3-small-8k-instruct" | "gpt-5.3-chat" | "gpt-3.5-turbo-0125" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0613" | "gpt-5.1-codex" | "gpt-5.1-codex-max" | "phi-4-reasoning" | "claude-opus-4-8" | "mistral-medium-2505" | "meta-llama-3.1-70b-instruct" | "text-embedding-ada-002" | "o3-mini" | "gpt-5.2" | "gpt-4-turbo-vision" | "mistral-large-2411" | "gpt-5.3-codex" | "text-embedding-3-small" | "deepseek-v3.2-speciale" | "gpt-3.5-turbo-0301" | "meta-llama-3.1-8b-instruct" | "claude-opus-4-1" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "phi-4" | "grok-4-fast-reasoning" | "gpt-image-1.5" | "gpt-4.1-nano" | "claude-fable-5" | "o1" | "deepseek-v3.1" | "llama-3.2-90b-vision-instruct" | "claude-haiku-4-5" | "ministral-3b" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "claude-opus-4-6" | "grok-4-1-fast-reasoning" | "gpt-5-mini" | "gpt-image-1" | "gpt-4.1-mini" | "gpt-4-turbo" | "gpt-5-nano" | "phi-3-medium-4k-instruct" | "gpt-5.4-pro" | "cohere-embed-v3-english" | "claude-sonnet-4-6" | "codestral-2501" | "phi-4-reasoning-plus" | "phi-4-multimodal" | "gpt-4o-mini" | "model-router" | "grok-4-20-reasoning" | "gpt-5-codex" | "deepseek-v3.2" | "llama-4-maverick-17b-128e-instruct-fp8" | "gpt-5.2-codex" | "phi-4-mini-reasoning" | "phi-3-mini-128k-instruct" | "gpt-image-2" | "phi-3-mini-4k-instruct" | "meta-llama-3-70b-instruct" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
-
export type ModelName="Codex Mini" | "Phi-3.5-MoE-instruct" | "GPT-3.5 Turbo Instruct" | "DeepSeek-R1-0528" | "DeepSeek-V4-Flash" | "GPT-5.2 Chat" | "o3" | "DeepSeek-V3-0324" | "Phi-3-small-instruct (128k)" | "Meta-Llama-3-8B-Instruct" | "Mistral Small 3.1" | "text-embedding-3-large" | "o1-mini" | "Phi-3.5-mini-instruct" | "Mistral Nemo" | "Embed v4" | "Claude Opus 4.5" | "GPT-5" | "GPT-5 Chat" | "Command A" | "Llama-3.2-11B-Vision-Instruct" | "GPT-5 Pro" | "Command R" | "GPT-4o" | "GPT-4" | "o4-mini" | "Phi-3-medium-instruct (128k)" | "GPT-4 32K" | "Meta-Llama-3.1-405B-Instruct" | "Command R+" | "Phi-4-mini" | "GPT-3.5 Turbo 1106" | "Llama 4 Scout 17B 16E Instruct" | "Llama-3.3-70B-Instruct" | "Grok 4.20 (Non-Reasoning)" | "GPT-5.1 Chat" | "DeepSeek-V4-Pro" | "Kimi K2 Thinking" | "Claude Sonnet 4.5" | "Claude Sonnet 5" | "DeepSeek-R1" | "Grok 4.1 Fast (Non-Reasoning)" | "GPT-5.4 Nano" | "Phi-3-small-instruct (8k)" | "GPT-5.3 Chat" | "GPT-3.5 Turbo 0125" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0613" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "Phi-4-reasoning" | "Claude Opus 4.8" | "Mistral Medium 3" | "Meta-Llama-3.1-70B-Instruct" | "text-embedding-ada-002" | "o3-mini" | "GPT-5.2" | "GPT-4 Turbo Vision" | "Mistral Large 24.11" | "GPT-5.3 Codex" | "text-embedding-3-small" | "DeepSeek-V3.2-Speciale" | "GPT-3.5 Turbo 0301" | "Meta-Llama-3.1-8B-Instruct" | "Claude Opus 4.1" | "GPT-5.1 Codex Mini" | "Kimi K2.5" | "Phi-4" | "Grok 4 Fast (Reasoning)" | "GPT-Image-1.5" | "GPT-4.1 nano" | "Claude Fable 5" | "o1" | "DeepSeek-V3.1" | "Llama-3.2-90B-Vision-Instruct" | "Claude Haiku 4.5" | "Ministral 3B" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "GPT-4.1" | "Claude Opus 4.6" | "Grok 4.1 Fast (Reasoning)" | "GPT-5 Mini" | "GPT-Image-1" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "Phi-3-medium-instruct (4k)" | "GPT-5.4 Pro" | "Embed v3 English" | "Claude Sonnet 4.6" | "Codestral 25.01" | "Phi-4-reasoning-plus" | "Phi-4-multimodal" | "GPT-4o mini" | "Model Router" | "Grok 4.20 (Reasoning)" | "GPT-5-Codex" | "DeepSeek-V3.2" | "Llama 4 Maverick 17B 128E Instruct FP8" | "GPT-5.2 Codex" | "Phi-4-mini-reasoning" | "Phi-3-mini-instruct (128k)" | "GPT-Image-2" | "Phi-3-mini-instruct (4k)" | "Meta-Llama-3-70B-Instruct" | "GPT-5.1" | "GPT-5.5";
|
|
2
|
+
export type ModelId="codex-mini" | "phi-3.5-moe-instruct" | "gpt-3.5-turbo-instruct" | "deepseek-r1-0528" | "deepseek-v4-flash" | "gpt-5.2-chat" | "o3" | "deepseek-v3-0324" | "phi-3-small-128k-instruct" | "meta-llama-3-8b-instruct" | "mistral-small-2503" | "text-embedding-3-large" | "o1-mini" | "phi-3.5-mini-instruct" | "mistral-nemo" | "cohere-embed-v-4-0" | "claude-opus-4-5" | "gpt-5" | "gpt-5-chat" | "cohere-command-a" | "llama-3.2-11b-vision-instruct" | "gpt-5-pro" | "cohere-command-r-08-2024" | "gpt-4o" | "gpt-4" | "o4-mini" | "phi-3-medium-128k-instruct" | "gpt-4-32k" | "meta-llama-3.1-405b-instruct" | "cohere-command-r-plus-08-2024" | "phi-4-mini" | "gpt-3.5-turbo-1106" | "llama-4-scout-17b-16e-instruct" | "llama-3.3-70b-instruct" | "grok-4-20-non-reasoning" | "gpt-5.1-chat" | "deepseek-v4-pro" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "claude-sonnet-5" | "deepseek-r1" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "phi-3-small-8k-instruct" | "gpt-5.3-chat" | "gpt-3.5-turbo-0125" | "cohere-embed-v3-multilingual" | "gpt-3.5-turbo-0613" | "gpt-5.1-codex" | "gpt-5.1-codex-max" | "phi-4-reasoning" | "claude-opus-4-8" | "mistral-medium-2505" | "meta-llama-3.1-70b-instruct" | "text-embedding-ada-002" | "o3-mini" | "gpt-5.2" | "gpt-4-turbo-vision" | "mistral-large-2411" | "gpt-5.3-codex" | "text-embedding-3-small" | "deepseek-v3.2-speciale" | "gpt-3.5-turbo-0301" | "meta-llama-3.1-8b-instruct" | "gpt-5.6-luna" | "claude-opus-4-1" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "phi-4" | "gpt-5.6-terra" | "grok-4-fast-reasoning" | "gpt-image-1.5" | "gpt-4.1-nano" | "claude-fable-5" | "o1" | "deepseek-v3.1" | "gpt-chat-latest" | "llama-3.2-90b-vision-instruct" | "claude-haiku-4-5" | "ministral-3b" | "gpt-5.4" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "claude-opus-4-6" | "grok-4-1-fast-reasoning" | "gpt-5-mini" | "gpt-image-1" | "gpt-4.1-mini" | "gpt-4-turbo" | "gpt-5-nano" | "phi-3-medium-4k-instruct" | "gpt-5.4-pro" | "cohere-embed-v3-english" | "claude-sonnet-4-6" | "codestral-2501" | "phi-4-reasoning-plus" | "phi-4-multimodal" | "gpt-4o-mini" | "gpt-5.6-sol" | "model-router" | "grok-4-20-reasoning" | "gpt-5-codex" | "deepseek-v3.2" | "llama-4-maverick-17b-128e-instruct-fp8" | "gpt-5.2-codex" | "phi-4-mini-reasoning" | "phi-3-mini-128k-instruct" | "gpt-image-2" | "phi-3-mini-4k-instruct" | "meta-llama-3-70b-instruct" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
+
export type ModelName="Codex Mini" | "Phi-3.5-MoE-instruct" | "GPT-3.5 Turbo Instruct" | "DeepSeek-R1-0528" | "DeepSeek-V4-Flash" | "GPT-5.2 Chat" | "o3" | "DeepSeek-V3-0324" | "Phi-3-small-instruct (128k)" | "Meta-Llama-3-8B-Instruct" | "Mistral Small 3.1" | "text-embedding-3-large" | "o1-mini" | "Phi-3.5-mini-instruct" | "Mistral Nemo" | "Embed v4" | "Claude Opus 4.5" | "GPT-5" | "GPT-5 Chat" | "Command A" | "Llama-3.2-11B-Vision-Instruct" | "GPT-5 Pro" | "Command R" | "GPT-4o" | "GPT-4" | "o4-mini" | "Phi-3-medium-instruct (128k)" | "GPT-4 32K" | "Meta-Llama-3.1-405B-Instruct" | "Command R+" | "Phi-4-mini" | "GPT-3.5 Turbo 1106" | "Llama 4 Scout 17B 16E Instruct" | "Llama-3.3-70B-Instruct" | "Grok 4.20 (Non-Reasoning)" | "GPT-5.1 Chat" | "DeepSeek-V4-Pro" | "Kimi K2 Thinking" | "Claude Sonnet 4.5" | "Claude Sonnet 5" | "DeepSeek-R1" | "Grok 4.1 Fast (Non-Reasoning)" | "GPT-5.4 Nano" | "Phi-3-small-instruct (8k)" | "GPT-5.3 Chat" | "GPT-3.5 Turbo 0125" | "Embed v3 Multilingual" | "GPT-3.5 Turbo 0613" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "Phi-4-reasoning" | "Claude Opus 4.8" | "Mistral Medium 3" | "Meta-Llama-3.1-70B-Instruct" | "text-embedding-ada-002" | "o3-mini" | "GPT-5.2" | "GPT-4 Turbo Vision" | "Mistral Large 24.11" | "GPT-5.3 Codex" | "text-embedding-3-small" | "DeepSeek-V3.2-Speciale" | "GPT-3.5 Turbo 0301" | "Meta-Llama-3.1-8B-Instruct" | "GPT-5.6 Luna" | "Claude Opus 4.1" | "GPT-5.1 Codex Mini" | "Kimi K2.5" | "Phi-4" | "GPT-5.6 Terra" | "Grok 4 Fast (Reasoning)" | "GPT-Image-1.5" | "GPT-4.1 nano" | "Claude Fable 5" | "o1" | "DeepSeek-V3.1" | "GPT Chat Latest" | "Llama-3.2-90B-Vision-Instruct" | "Claude Haiku 4.5" | "Ministral 3B" | "GPT-5.4" | "GPT-5.4 Mini" | "Kimi K2.6" | "GPT-4.1" | "Claude Opus 4.6" | "Grok 4.1 Fast (Reasoning)" | "GPT-5 Mini" | "GPT-Image-1" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "Phi-3-medium-instruct (4k)" | "GPT-5.4 Pro" | "Embed v3 English" | "Claude Sonnet 4.6" | "Codestral 25.01" | "Phi-4-reasoning-plus" | "Phi-4-multimodal" | "GPT-4o mini" | "GPT-5.6 Sol" | "Model Router" | "Grok 4.20 (Reasoning)" | "GPT-5-Codex" | "DeepSeek-V3.2" | "Llama 4 Maverick 17B 128E Instruct FP8" | "GPT-5.2 Codex" | "Phi-4-mini-reasoning" | "Phi-3-mini-instruct (128k)" | "GPT-Image-2" | "Phi-3-mini-instruct (4k)" | "Meta-Llama-3-70B-Instruct" | "GPT-5.1" | "GPT-5.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="workers-ai/@cf/baai/bge-m3" | "workers-ai/@cf/baai/bge-small-en-v1.5" | "workers-ai/@cf/baai/bge-reranker-base" | "workers-ai/@cf/baai/bge-base-en-v1.5" | "workers-ai/@cf/baai/bge-large-en-v1.5" | "workers-ai/@cf/ai4bharat/indictrans2-en-indic-1B" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro" | "workers-ai/@cf/huggingface/distilbert-sst-2-int8" | "workers-ai/@cf/moonshotai/kimi-k2.5" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/mistral/mistral-7b-instruct-v0.1" | "workers-ai/@cf/google/gemma-3-12b-it" | "workers-ai/@cf/myshell-ai/melotts" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/pfnet/plamo-embedding-1b" | "workers-ai/@cf/deepgram/aura-2-es" | "workers-ai/@cf/deepgram/aura-2-en" | "workers-ai/@cf/deepgram/nova-3" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-embedding-0.6b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/pipecat-ai/smart-turn-v2" | "workers-ai/@cf/meta/llama-3.1-8b-instruct" | "workers-ai/@cf/meta/m2m100-1.2b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3-8b-instruct" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-2-7b-chat-fp16" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/facebook/bart-large-cnn" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "openai/o3" | "openai/gpt-3.5-turbo" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/o3-pro" | "openai/gpt-5.1-codex" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-4-turbo" | "openai/gpt-4o-mini" | "openai/gpt-5.2-codex" | "openai/gpt-5.1" | "openai/gpt-5.5" | "anthropic/claude-3.5-haiku" | "anthropic/claude-3.5-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-3-sonnet" | "anthropic/claude-opus-4-8" | "anthropic/claude-3-opus" | "anthropic/claude-3-5-haiku" | "anthropic/claude-opus-4-1" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-3-haiku" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4";
|
|
3
|
-
export type ModelName="BGE M3" | "BGE Small EN v1.5" | "BGE Reranker Base" | "BGE Base EN v1.5" | "BGE Large EN v1.5" | "IndicTrans2 EN-Indic 1B" | "IBM Granite 4.0 H Micro" | "DistilBERT SST-2 INT8" | "Kimi K2.5" | "Kimi K2.6" | "Mistral 7B Instruct v0.1" | "Gemma 3 12B IT" | "MyShell MeloTTS" | "GPT OSS 120B" | "GPT OSS 20B" | "Mistral Small 3.1 24B Instruct" | "Nemotron 3 Super 120B" | "PLaMo Embedding 1B" | "Deepgram Aura 2 (ES)" | "Deepgram Aura 2 (EN)" | "Deepgram Nova 3" | "GLM-4.7-Flash" | "DeepSeek R1 Distill Qwen 32B" | "Qwen3 Embedding 0.6B" | "Qwen3 30B A3B FP8" | "Qwen 2.5 Coder 32B Instruct" | "QwQ 32B" | "Pipecat Smart Turn v2" | "Llama 3.1 8B Instruct" | "M2M100 1.2B" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama Guard 3 8B" | "Llama 3 8B Instruct AWQ" | "Llama 3.1 8B Instruct AWQ" | "Llama 3.3 70B Instruct FP8 Fast" | "Llama 3 8B Instruct" | "Llama 3.1 8B Instruct FP8" | "Llama 2 7B Chat FP16" | "Llama 3.2 3B Instruct" | "BART Large CNN" | "Gemma SEA-LION v4 27B IT" | "o3" | "GPT-3.5-turbo" | "GPT-4o" | "GPT-4" | "o4-mini" | "o3-pro" | "GPT-5.1 Codex" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "o1" | "GPT-5.4" | "GPT-4 Turbo" | "GPT-4o mini" | "GPT-5.2 Codex" | "GPT-5.1" | "GPT-5.5" | "Claude Haiku 3.5 (latest)" | "Claude Sonnet 3.5 v2" | "Claude Sonnet 4 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Sonnet 3" | "Claude Opus 4.8" | "Claude Opus 3" | "Claude Opus 4.1 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6 (latest)" | "Claude Haiku 3" | "Claude Sonnet 4.6" | "Claude Opus 4 (latest)";
|
|
2
|
+
export type ModelId="workers-ai/@cf/baai/bge-m3" | "workers-ai/@cf/baai/bge-small-en-v1.5" | "workers-ai/@cf/baai/bge-reranker-base" | "workers-ai/@cf/baai/bge-base-en-v1.5" | "workers-ai/@cf/baai/bge-large-en-v1.5" | "workers-ai/@cf/ai4bharat/indictrans2-en-indic-1B" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro" | "workers-ai/@cf/huggingface/distilbert-sst-2-int8" | "workers-ai/@cf/moonshotai/kimi-k2.5" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/mistral/mistral-7b-instruct-v0.1" | "workers-ai/@cf/google/gemma-3-12b-it" | "workers-ai/@cf/myshell-ai/melotts" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/pfnet/plamo-embedding-1b" | "workers-ai/@cf/deepgram/aura-2-es" | "workers-ai/@cf/deepgram/aura-2-en" | "workers-ai/@cf/deepgram/nova-3" | "workers-ai/@cf/zai-org/glm-5.2" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-embedding-0.6b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/pipecat-ai/smart-turn-v2" | "workers-ai/@cf/meta/llama-3.1-8b-instruct" | "workers-ai/@cf/meta/m2m100-1.2b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3-8b-instruct" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-2-7b-chat-fp16" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/facebook/bart-large-cnn" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "openai/o3" | "openai/gpt-3.5-turbo" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/o3-pro" | "openai/gpt-5.1-codex" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.6-luna" | "openai/gpt-5.6-terra" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-4-turbo" | "openai/gpt-4o-mini" | "openai/gpt-5.6-sol" | "openai/gpt-5.2-codex" | "openai/gpt-5.1" | "openai/gpt-5.5" | "anthropic/claude-3.5-haiku" | "anthropic/claude-3.5-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-3-sonnet" | "anthropic/claude-opus-4-8" | "anthropic/claude-3-opus" | "anthropic/claude-3-5-haiku" | "anthropic/claude-opus-4-1" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-3-haiku" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4";
|
|
3
|
+
export type ModelName="BGE M3" | "BGE Small EN v1.5" | "BGE Reranker Base" | "BGE Base EN v1.5" | "BGE Large EN v1.5" | "IndicTrans2 EN-Indic 1B" | "IBM Granite 4.0 H Micro" | "DistilBERT SST-2 INT8" | "Kimi K2.5" | "Kimi K2.6" | "Mistral 7B Instruct v0.1" | "Gemma 3 12B IT" | "MyShell MeloTTS" | "GPT OSS 120B" | "GPT OSS 20B" | "Mistral Small 3.1 24B Instruct" | "Nemotron 3 Super 120B" | "PLaMo Embedding 1B" | "Deepgram Aura 2 (ES)" | "Deepgram Aura 2 (EN)" | "Deepgram Nova 3" | "Glm 5.2" | "GLM-4.7-Flash" | "DeepSeek R1 Distill Qwen 32B" | "Qwen3 Embedding 0.6B" | "Qwen3 30B A3B FP8" | "Qwen 2.5 Coder 32B Instruct" | "QwQ 32B" | "Pipecat Smart Turn v2" | "Llama 3.1 8B Instruct" | "M2M100 1.2B" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama Guard 3 8B" | "Llama 3 8B Instruct AWQ" | "Llama 3.1 8B Instruct AWQ" | "Llama 3.3 70B Instruct FP8 Fast" | "Llama 3 8B Instruct" | "Llama 3.1 8B Instruct FP8" | "Llama 2 7B Chat FP16" | "Llama 3.2 3B Instruct" | "BART Large CNN" | "Gemma SEA-LION v4 27B IT" | "o3" | "GPT-3.5-turbo" | "GPT-4o" | "GPT-4" | "o4-mini" | "o3-pro" | "GPT-5.1 Codex" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT-5.6 Luna" | "GPT-5.6 Terra" | "o1" | "GPT-5.4" | "GPT-4 Turbo" | "GPT-4o mini" | "GPT-5.6 Sol" | "GPT-5.2 Codex" | "GPT-5.1" | "GPT-5.5" | "Claude Haiku 3.5 (latest)" | "Claude Sonnet 3.5 v2" | "Claude Sonnet 4 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Sonnet 3" | "Claude Opus 4.8" | "Claude Opus 3" | "Claude Opus 4.1 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6 (latest)" | "Claude Haiku 3" | "Claude Sonnet 4.6" | "Claude Opus 4 (latest)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="workers-ai/@cf/baai/bge-m3" | "workers-ai/@cf/baai/bge-small-en-v1.5" | "workers-ai/@cf/baai/bge-reranker-base" | "workers-ai/@cf/baai/bge-base-en-v1.5" | "workers-ai/@cf/baai/bge-large-en-v1.5" | "workers-ai/@cf/ai4bharat/indictrans2-en-indic-1B" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro" | "workers-ai/@cf/huggingface/distilbert-sst-2-int8" | "workers-ai/@cf/moonshotai/kimi-k2.5" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/mistral/mistral-7b-instruct-v0.1" | "workers-ai/@cf/google/gemma-3-12b-it" | "workers-ai/@cf/myshell-ai/melotts" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/pfnet/plamo-embedding-1b" | "workers-ai/@cf/deepgram/aura-2-es" | "workers-ai/@cf/deepgram/aura-2-en" | "workers-ai/@cf/deepgram/nova-3" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-embedding-0.6b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/pipecat-ai/smart-turn-v2" | "workers-ai/@cf/meta/llama-3.1-8b-instruct" | "workers-ai/@cf/meta/m2m100-1.2b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3-8b-instruct" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-2-7b-chat-fp16" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/facebook/bart-large-cnn" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "openai/o3" | "openai/gpt-3.5-turbo" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/o3-pro" | "openai/gpt-5.1-codex" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-4-turbo" | "openai/gpt-4o-mini" | "openai/gpt-5.2-codex" | "openai/gpt-5.1" | "openai/gpt-5.5" | "anthropic/claude-3.5-haiku" | "anthropic/claude-3.5-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-3-sonnet" | "anthropic/claude-opus-4-8" | "anthropic/claude-3-opus" | "anthropic/claude-3-5-haiku" | "anthropic/claude-opus-4-1" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-3-haiku" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4";
|
|
3
|
-
export type ModelName="BGE M3" | "BGE Small EN v1.5" | "BGE Reranker Base" | "BGE Base EN v1.5" | "BGE Large EN v1.5" | "IndicTrans2 EN-Indic 1B" | "IBM Granite 4.0 H Micro" | "DistilBERT SST-2 INT8" | "Kimi K2.5" | "Kimi K2.6" | "Mistral 7B Instruct v0.1" | "Gemma 3 12B IT" | "MyShell MeloTTS" | "GPT OSS 120B" | "GPT OSS 20B" | "Mistral Small 3.1 24B Instruct" | "Nemotron 3 Super 120B" | "PLaMo Embedding 1B" | "Deepgram Aura 2 (ES)" | "Deepgram Aura 2 (EN)" | "Deepgram Nova 3" | "GLM-4.7-Flash" | "DeepSeek R1 Distill Qwen 32B" | "Qwen3 Embedding 0.6B" | "Qwen3 30B A3B FP8" | "Qwen 2.5 Coder 32B Instruct" | "QwQ 32B" | "Pipecat Smart Turn v2" | "Llama 3.1 8B Instruct" | "M2M100 1.2B" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama Guard 3 8B" | "Llama 3 8B Instruct AWQ" | "Llama 3.1 8B Instruct AWQ" | "Llama 3.3 70B Instruct FP8 Fast" | "Llama 3 8B Instruct" | "Llama 3.1 8B Instruct FP8" | "Llama 2 7B Chat FP16" | "Llama 3.2 3B Instruct" | "BART Large CNN" | "Gemma SEA-LION v4 27B IT" | "o3" | "GPT-3.5-turbo" | "GPT-4o" | "GPT-4" | "o4-mini" | "o3-pro" | "GPT-5.1 Codex" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "o1" | "GPT-5.4" | "GPT-4 Turbo" | "GPT-4o mini" | "GPT-5.2 Codex" | "GPT-5.1" | "GPT-5.5" | "Claude Haiku 3.5 (latest)" | "Claude Sonnet 3.5 v2" | "Claude Sonnet 4 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Sonnet 3" | "Claude Opus 4.8" | "Claude Opus 3" | "Claude Opus 4.1 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6 (latest)" | "Claude Haiku 3" | "Claude Sonnet 4.6" | "Claude Opus 4 (latest)";
|
|
2
|
+
export type ModelId="workers-ai/@cf/baai/bge-m3" | "workers-ai/@cf/baai/bge-small-en-v1.5" | "workers-ai/@cf/baai/bge-reranker-base" | "workers-ai/@cf/baai/bge-base-en-v1.5" | "workers-ai/@cf/baai/bge-large-en-v1.5" | "workers-ai/@cf/ai4bharat/indictrans2-en-indic-1B" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro" | "workers-ai/@cf/huggingface/distilbert-sst-2-int8" | "workers-ai/@cf/moonshotai/kimi-k2.5" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/mistral/mistral-7b-instruct-v0.1" | "workers-ai/@cf/google/gemma-3-12b-it" | "workers-ai/@cf/myshell-ai/melotts" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/pfnet/plamo-embedding-1b" | "workers-ai/@cf/deepgram/aura-2-es" | "workers-ai/@cf/deepgram/aura-2-en" | "workers-ai/@cf/deepgram/nova-3" | "workers-ai/@cf/zai-org/glm-5.2" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-embedding-0.6b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/pipecat-ai/smart-turn-v2" | "workers-ai/@cf/meta/llama-3.1-8b-instruct" | "workers-ai/@cf/meta/m2m100-1.2b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-awq" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3-8b-instruct" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-2-7b-chat-fp16" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/facebook/bart-large-cnn" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "openai/o3" | "openai/gpt-3.5-turbo" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/o3-pro" | "openai/gpt-5.1-codex" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.6-luna" | "openai/gpt-5.6-terra" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-4-turbo" | "openai/gpt-4o-mini" | "openai/gpt-5.6-sol" | "openai/gpt-5.2-codex" | "openai/gpt-5.1" | "openai/gpt-5.5" | "anthropic/claude-3.5-haiku" | "anthropic/claude-3.5-sonnet" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-3-sonnet" | "anthropic/claude-opus-4-8" | "anthropic/claude-3-opus" | "anthropic/claude-3-5-haiku" | "anthropic/claude-opus-4-1" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-3-haiku" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4";
|
|
3
|
+
export type ModelName="BGE M3" | "BGE Small EN v1.5" | "BGE Reranker Base" | "BGE Base EN v1.5" | "BGE Large EN v1.5" | "IndicTrans2 EN-Indic 1B" | "IBM Granite 4.0 H Micro" | "DistilBERT SST-2 INT8" | "Kimi K2.5" | "Kimi K2.6" | "Mistral 7B Instruct v0.1" | "Gemma 3 12B IT" | "MyShell MeloTTS" | "GPT OSS 120B" | "GPT OSS 20B" | "Mistral Small 3.1 24B Instruct" | "Nemotron 3 Super 120B" | "PLaMo Embedding 1B" | "Deepgram Aura 2 (ES)" | "Deepgram Aura 2 (EN)" | "Deepgram Nova 3" | "Glm 5.2" | "GLM-4.7-Flash" | "DeepSeek R1 Distill Qwen 32B" | "Qwen3 Embedding 0.6B" | "Qwen3 30B A3B FP8" | "Qwen 2.5 Coder 32B Instruct" | "QwQ 32B" | "Pipecat Smart Turn v2" | "Llama 3.1 8B Instruct" | "M2M100 1.2B" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama Guard 3 8B" | "Llama 3 8B Instruct AWQ" | "Llama 3.1 8B Instruct AWQ" | "Llama 3.3 70B Instruct FP8 Fast" | "Llama 3 8B Instruct" | "Llama 3.1 8B Instruct FP8" | "Llama 2 7B Chat FP16" | "Llama 3.2 3B Instruct" | "BART Large CNN" | "Gemma SEA-LION v4 27B IT" | "o3" | "GPT-3.5-turbo" | "GPT-4o" | "GPT-4" | "o4-mini" | "o3-pro" | "GPT-5.1 Codex" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT-5.6 Luna" | "GPT-5.6 Terra" | "o1" | "GPT-5.4" | "GPT-4 Turbo" | "GPT-4o mini" | "GPT-5.6 Sol" | "GPT-5.2 Codex" | "GPT-5.1" | "GPT-5.5" | "Claude Haiku 3.5 (latest)" | "Claude Sonnet 3.5 v2" | "Claude Sonnet 4 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Sonnet 3" | "Claude Opus 4.8" | "Claude Opus 3" | "Claude Opus 4.1 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6 (latest)" | "Claude Haiku 3" | "Claude Sonnet 4.6" | "Claude Opus 4 (latest)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="z-ai/glm-4.7" | "z-ai/glm-5.1" | "z-ai/glm-5.2" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-5.4-nano" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-5.5" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-8" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-sonnet-4-6" | "tencent/hy3-preview" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-2.5-pro" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-3-flash-preview" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-max" | "qwen/qwen3.6-flash" | "qwen/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
-
export type ModelName="GLM-4.7" | "GLM-5.1" | "GLM-5.2" | "GLM-5" | "GLM-5-Turbo" | "GPT-5.4 nano" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT-5.5" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Opus 4.8" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Sonnet 4.6" | "Hy3 preview" | "Kimi K2.7 Code" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Flash Preview" | "Qwen3.7 Plus" | "Qwen3.7 Max" | "Qwen3.6 Flash" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="x-ai/grok-4.3" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "z-ai/glm-4.7" | "z-ai/glm-5.1" | "z-ai/glm-5.2" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-5.4-nano" | "openai/gpt-5.6-luna" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-5.6-sol" | "openai/gpt-5.5" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-8" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-sonnet-4-6" | "tencent/hy3-preview" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-2.5-pro" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-3-flash-preview" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-max" | "qwen/qwen3.6-flash" | "qwen/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
+
export type ModelName="Grok 4.3" | "Grok 4.5" | "Grok Build 0.1" | "GLM-4.7" | "GLM-5.1" | "GLM-5.2" | "GLM-5" | "GLM-5-Turbo" | "GPT-5.4 nano" | "GPT-5.6 Luna" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT-5.6 Sol" | "GPT-5.5" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Opus 4.8" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Sonnet 4.6" | "Hy3 preview" | "Kimi K2.7 Code" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Flash Preview" | "Qwen3.7 Plus" | "Qwen3.7 Max" | "Qwen3.6 Flash" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="z-ai/glm-4.7" | "z-ai/glm-5.1" | "z-ai/glm-5.2" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-5.4-nano" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-5.5" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-8" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-sonnet-4-6" | "tencent/hy3-preview" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-2.5-pro" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-3-flash-preview" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-max" | "qwen/qwen3.6-flash" | "qwen/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
-
export type ModelName="GLM-4.7" | "GLM-5.1" | "GLM-5.2" | "GLM-5" | "GLM-5-Turbo" | "GPT-5.4 nano" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT-5.5" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Opus 4.8" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Sonnet 4.6" | "Hy3 preview" | "Kimi K2.7 Code" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Flash Preview" | "Qwen3.7 Plus" | "Qwen3.7 Max" | "Qwen3.6 Flash" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="x-ai/grok-4.3" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "z-ai/glm-4.7" | "z-ai/glm-5.1" | "z-ai/glm-5.2" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-5.4-nano" | "openai/gpt-5.6-luna" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-5.6-sol" | "openai/gpt-5.5" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "anthropic/claude-opus-4-7" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-8" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-sonnet-4-6" | "tencent/hy3-preview" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-2.5-pro" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-3-flash-preview" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-max" | "qwen/qwen3.6-flash" | "qwen/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
+
export type ModelName="Grok 4.3" | "Grok 4.5" | "Grok Build 0.1" | "GLM-4.7" | "GLM-5.1" | "GLM-5.2" | "GLM-5" | "GLM-5-Turbo" | "GPT-5.4 nano" | "GPT-5.6 Luna" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT-5.6 Sol" | "GPT-5.5" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Claude Opus 4.7" | "Claude Sonnet 5" | "Claude Opus 4.8" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Sonnet 4.6" | "Hy3 preview" | "Kimi K2.7 Code" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Flash Preview" | "Qwen3.7 Plus" | "Qwen3.7 Max" | "Qwen3.6 Flash" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="databricks-claude-opus-4-7" | "databricks-gpt-5-4" | "databricks-gemini-3-flash" | "databricks-claude-opus-4-5" | "databricks-gpt-5-nano" | "databricks-gpt-5-mini" | "databricks-gpt-5" | "databricks-gemini-2-5-pro" | "databricks-gemini-3-1-pro" | "databricks-gemini-2-5-flash" | "databricks-claude-sonnet-4" | "databricks-glm-5-2" | "databricks-claude-haiku-4-5" | "databricks-gpt-5-4-nano" | "databricks-claude-opus-4-6" | "databricks-gpt-5-1" | "databricks-claude-sonnet-4-5" | "databricks-claude-opus-4-1" | "databricks-gpt-5-5" | "databricks-gemini-3-1-flash-lite" | "databricks-gemini-3-pro" | "databricks-kimi-k2-7-code" | "databricks-claude-sonnet-4-6" | "databricks-gpt-oss-20b" | "databricks-gpt-oss-120b" | "databricks-gpt-5-2" | "databricks-gpt-5-4-mini";
|
|
3
|
-
export type ModelName="Claude Opus 4.7" | "GPT-5.4" | "Gemini 3 Flash Preview" | "Claude Opus 4.5 (latest)" | "GPT-5 Nano" | "GPT-5 Mini" | "GPT-5" | "Gemini 2.5 Pro" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini 2.5 Flash" | "Claude Sonnet 4.5" | "GLM-5.2" | "Claude Haiku 4.5 (latest)" | "GPT-5.4 nano" | "Claude Opus 4.6" | "GPT-5.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.1 (latest)" | "GPT-5.5" | "Gemini 3.1 Flash Lite Preview" | "Gemini 3 Pro Preview" | "Kimi K2.7 Code" | "Claude Sonnet 4.6" | "GPT OSS 20B" | "GPT OSS 120B" | "GPT-5.2" | "GPT-5.4 mini";
|
|
2
|
+
export type ModelId="databricks-claude-opus-4-7" | "databricks-gpt-5-4" | "databricks-gemini-3-flash" | "databricks-claude-opus-4-5" | "databricks-gpt-5-nano" | "databricks-gpt-5-mini" | "databricks-gpt-5-6-sol" | "databricks-gpt-5-6-terra" | "databricks-gpt-5" | "databricks-gemini-2-5-pro" | "databricks-gemini-3-1-pro" | "databricks-gemini-2-5-flash" | "databricks-claude-sonnet-4" | "databricks-glm-5-2" | "databricks-claude-haiku-4-5" | "databricks-gpt-5-4-nano" | "databricks-claude-opus-4-6" | "databricks-gpt-5-1" | "databricks-claude-sonnet-4-5" | "databricks-claude-opus-4-1" | "databricks-gpt-5-5" | "databricks-gemini-3-1-flash-lite" | "databricks-gpt-5-6-luna" | "databricks-gemini-3-pro" | "databricks-kimi-k2-7-code" | "databricks-claude-sonnet-4-6" | "databricks-gpt-oss-20b" | "databricks-gpt-oss-120b" | "databricks-gpt-5-2" | "databricks-gpt-5-4-mini";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "GPT-5.4" | "Gemini 3 Flash Preview" | "Claude Opus 4.5 (latest)" | "GPT-5 Nano" | "GPT-5 Mini" | "GPT-5.6 Sol" | "GPT-5.6 Terra" | "GPT-5" | "Gemini 2.5 Pro" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini 2.5 Flash" | "Claude Sonnet 4.5" | "GLM-5.2" | "Claude Haiku 4.5 (latest)" | "GPT-5.4 nano" | "Claude Opus 4.6" | "GPT-5.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.1 (latest)" | "GPT-5.5" | "Gemini 3.1 Flash Lite Preview" | "GPT-5.6 Luna" | "Gemini 3 Pro Preview" | "Kimi K2.7 Code" | "Claude Sonnet 4.6" | "GPT OSS 20B" | "GPT OSS 120B" | "GPT-5.2" | "GPT-5.4 mini";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="databricks-claude-opus-4-7" | "databricks-gpt-5-4" | "databricks-gemini-3-flash" | "databricks-claude-opus-4-5" | "databricks-gpt-5-nano" | "databricks-gpt-5-mini" | "databricks-gpt-5" | "databricks-gemini-2-5-pro" | "databricks-gemini-3-1-pro" | "databricks-gemini-2-5-flash" | "databricks-claude-sonnet-4" | "databricks-glm-5-2" | "databricks-claude-haiku-4-5" | "databricks-gpt-5-4-nano" | "databricks-claude-opus-4-6" | "databricks-gpt-5-1" | "databricks-claude-sonnet-4-5" | "databricks-claude-opus-4-1" | "databricks-gpt-5-5" | "databricks-gemini-3-1-flash-lite" | "databricks-gemini-3-pro" | "databricks-kimi-k2-7-code" | "databricks-claude-sonnet-4-6" | "databricks-gpt-oss-20b" | "databricks-gpt-oss-120b" | "databricks-gpt-5-2" | "databricks-gpt-5-4-mini";
|
|
3
|
-
export type ModelName="Claude Opus 4.7" | "GPT-5.4" | "Gemini 3 Flash Preview" | "Claude Opus 4.5 (latest)" | "GPT-5 Nano" | "GPT-5 Mini" | "GPT-5" | "Gemini 2.5 Pro" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini 2.5 Flash" | "Claude Sonnet 4.5" | "GLM-5.2" | "Claude Haiku 4.5 (latest)" | "GPT-5.4 nano" | "Claude Opus 4.6" | "GPT-5.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.1 (latest)" | "GPT-5.5" | "Gemini 3.1 Flash Lite Preview" | "Gemini 3 Pro Preview" | "Kimi K2.7 Code" | "Claude Sonnet 4.6" | "GPT OSS 20B" | "GPT OSS 120B" | "GPT-5.2" | "GPT-5.4 mini";
|
|
2
|
+
export type ModelId="databricks-claude-opus-4-7" | "databricks-gpt-5-4" | "databricks-gemini-3-flash" | "databricks-claude-opus-4-5" | "databricks-gpt-5-nano" | "databricks-gpt-5-mini" | "databricks-gpt-5-6-sol" | "databricks-gpt-5-6-terra" | "databricks-gpt-5" | "databricks-gemini-2-5-pro" | "databricks-gemini-3-1-pro" | "databricks-gemini-2-5-flash" | "databricks-claude-sonnet-4" | "databricks-glm-5-2" | "databricks-claude-haiku-4-5" | "databricks-gpt-5-4-nano" | "databricks-claude-opus-4-6" | "databricks-gpt-5-1" | "databricks-claude-sonnet-4-5" | "databricks-claude-opus-4-1" | "databricks-gpt-5-5" | "databricks-gemini-3-1-flash-lite" | "databricks-gpt-5-6-luna" | "databricks-gemini-3-pro" | "databricks-kimi-k2-7-code" | "databricks-claude-sonnet-4-6" | "databricks-gpt-oss-20b" | "databricks-gpt-oss-120b" | "databricks-gpt-5-2" | "databricks-gpt-5-4-mini";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "GPT-5.4" | "Gemini 3 Flash Preview" | "Claude Opus 4.5 (latest)" | "GPT-5 Nano" | "GPT-5 Mini" | "GPT-5.6 Sol" | "GPT-5.6 Terra" | "GPT-5" | "Gemini 2.5 Pro" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini 2.5 Flash" | "Claude Sonnet 4.5" | "GLM-5.2" | "Claude Haiku 4.5 (latest)" | "GPT-5.4 nano" | "Claude Opus 4.6" | "GPT-5.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.1 (latest)" | "GPT-5.5" | "Gemini 3.1 Flash Lite Preview" | "GPT-5.6 Luna" | "Gemini 3 Pro Preview" | "Kimi K2.7 Code" | "Claude Sonnet 4.6" | "GPT OSS 20B" | "GPT OSS 120B" | "GPT-5.2" | "GPT-5.4 mini";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
+
export type ModelId="DeepSeek-V4-Flash" | "Kimi-K2.6" | "DeepSeek-V4-Pro" | "GLM-5.1";
|
|
3
|
+
export type ModelName="DeepSeek V4 Flash" | "Kimi K2.6" | "DeepSeek V4 Pro" | "GLM-5.1";
|
|
4
|
+
export declare function getModels():Model[];
|
|
5
|
+
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
|
+
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
+
export type ModelId="DeepSeek-V4-Flash" | "Kimi-K2.6" | "DeepSeek-V4-Pro" | "GLM-5.1";
|
|
3
|
+
export type ModelName="DeepSeek V4 Flash" | "Kimi K2.6" | "DeepSeek V4 Pro" | "GLM-5.1";
|
|
4
|
+
export declare function getModels():Model[];
|
|
5
|
+
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
|
+
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports,"__esModule",{value:true});
|
|
3
|
+
const{getModelsByProvider:_gm,getModel:_gmod,getPrice:_gp}=require("../index.js");
|
|
4
|
+
const pid="ebcloud";
|
|
5
|
+
const getModels=()=>_gm(pid);exports.getModels=getModels;
|
|
6
|
+
const getModel=id=>_gmod(pid,id);exports.getModel=getModel;
|
|
7
|
+
const getPrice=(id,tokens)=>_gp(pid,id,tokens);exports.getPrice=getPrice;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="qwen3-5-plus" | "deepseek-v4-flash" | "kimi-k2-6" | "qwen3-5-27b" | "step-3-7-flash" | "qwen3-5-397b-a17b" | "qwen3-5-35b-a3b" | "qwen3-max" | "glm-5-1" | "qwen3-7-plus" | "kimi-k2-7-code" | "deepseek-v4-pro" | "glm-4-5-flash" | "qwen3-6-flash" | "minimax-m2-7-highspeed" | "minimax-m2-7" | "kimi-k2-7-code-highspeed" | "minimax-m3" | "mimo-v2-5" | "qwen3-6-plus" | "step-3-5-flash" | "qwen3-6-27b" | "glm-5-2" | "glm-4-7-flash" | "step-3-5-flash-2603" | "qwen3-5-4b" | "gemma-4-26b-a4b" | "qwen3-5-9b" | "qwen3-7-max" | "qwen3-6-max-preview" | "mimo-v2-5-pro" | "qwen3-5-122b-a10b" | "fugu-ultra" | "muse-spark-1-1";
|
|
3
|
-
export type ModelName="Qwen3.5 Plus" | "DeepSeek V4 Flash" | "Kimi K2.6" | "Qwen3.5 27B" | "Step 3.7 Flash" | "Qwen3.5 397B-A17B" | "Qwen3.5 35B-A3B" | "Qwen3 Max" | "GLM 5.1" | "Qwen3.7 Plus" | "Kimi K2.7 Code" | "DeepSeek V4 Pro" | "GLM 4.5 Flash" | "Qwen3.6 Flash" | "MiniMax M2.7 Highspeed" | "MiniMax M2.7" | "Kimi K2.7 Code Highspeed" | "MiniMax M3" | "MiMo V2.5" | "Qwen3.6 Plus" | "Step 3.5 Flash" | "Qwen3.6 27B" | "GLM 5.2" | "GLM 4.7 Flash" | "Step 3.5 Flash 2603" | "Qwen3.5 4B" | "Gemma 4 26B-A4B" | "Qwen3.5 9B" | "Qwen3.7 Max" | "Qwen3.6 Max Preview" | "MiMo V2.5 Pro" | "Qwen3.5 122B-A10B" | "Fugu Ultra" | "Muse Spark 1.1";
|
|
2
|
+
export type ModelId="qwen3-5-plus" | "deepseek-v4-flash" | "kimi-k2-6" | "qwen3-5-27b" | "step-3-7-flash" | "qwen3-5-397b-a17b" | "qwen3-5-35b-a3b" | "qwen3-max" | "glm-5-1" | "qwen3-7-plus" | "kimi-k2-7-code" | "deepseek-v4-pro" | "glm-4-5-flash" | "qwen3-6-flash" | "minimax-m2-7-highspeed" | "minimax-m2-7" | "kimi-k2-7-code-highspeed" | "minimax-m3" | "mistral-small-4" | "mimo-v2-5" | "qwen3-6-plus" | "step-3-5-flash" | "qwen3-6-27b" | "glm-5-2" | "glm-4-7-flash" | "step-3-5-flash-2603" | "mistral-medium-3" | "qwen3-5-4b" | "gemma-4-26b-a4b" | "qwen3-5-9b" | "qwen3-7-max" | "qwen3-6-max-preview" | "mimo-v2-5-pro" | "qwen3-5-122b-a10b" | "fugu-ultra" | "muse-spark-1-1";
|
|
3
|
+
export type ModelName="Qwen3.5 Plus" | "DeepSeek V4 Flash" | "Kimi K2.6" | "Qwen3.5 27B" | "Step 3.7 Flash" | "Qwen3.5 397B-A17B" | "Qwen3.5 35B-A3B" | "Qwen3 Max" | "GLM 5.1" | "Qwen3.7 Plus" | "Kimi K2.7 Code" | "DeepSeek V4 Pro" | "GLM 4.5 Flash" | "Qwen3.6 Flash" | "MiniMax M2.7 Highspeed" | "MiniMax M2.7" | "Kimi K2.7 Code Highspeed" | "MiniMax M3" | "Mistral Small 4" | "MiMo V2.5" | "Qwen3.6 Plus" | "Step 3.5 Flash" | "Qwen3.6 27B" | "GLM 5.2" | "GLM 4.7 Flash" | "Step 3.5 Flash 2603" | "Mistral Medium 3" | "Qwen3.5 4B" | "Gemma 4 26B-A4B" | "Qwen3.5 9B" | "Qwen3.7 Max" | "Qwen3.6 Max Preview" | "MiMo V2.5 Pro" | "Qwen3.5 122B-A10B" | "Fugu Ultra" | "Muse Spark 1.1";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="qwen3-5-plus" | "deepseek-v4-flash" | "kimi-k2-6" | "qwen3-5-27b" | "step-3-7-flash" | "qwen3-5-397b-a17b" | "qwen3-5-35b-a3b" | "qwen3-max" | "glm-5-1" | "qwen3-7-plus" | "kimi-k2-7-code" | "deepseek-v4-pro" | "glm-4-5-flash" | "qwen3-6-flash" | "minimax-m2-7-highspeed" | "minimax-m2-7" | "kimi-k2-7-code-highspeed" | "minimax-m3" | "mimo-v2-5" | "qwen3-6-plus" | "step-3-5-flash" | "qwen3-6-27b" | "glm-5-2" | "glm-4-7-flash" | "step-3-5-flash-2603" | "qwen3-5-4b" | "gemma-4-26b-a4b" | "qwen3-5-9b" | "qwen3-7-max" | "qwen3-6-max-preview" | "mimo-v2-5-pro" | "qwen3-5-122b-a10b" | "fugu-ultra" | "muse-spark-1-1";
|
|
3
|
-
export type ModelName="Qwen3.5 Plus" | "DeepSeek V4 Flash" | "Kimi K2.6" | "Qwen3.5 27B" | "Step 3.7 Flash" | "Qwen3.5 397B-A17B" | "Qwen3.5 35B-A3B" | "Qwen3 Max" | "GLM 5.1" | "Qwen3.7 Plus" | "Kimi K2.7 Code" | "DeepSeek V4 Pro" | "GLM 4.5 Flash" | "Qwen3.6 Flash" | "MiniMax M2.7 Highspeed" | "MiniMax M2.7" | "Kimi K2.7 Code Highspeed" | "MiniMax M3" | "MiMo V2.5" | "Qwen3.6 Plus" | "Step 3.5 Flash" | "Qwen3.6 27B" | "GLM 5.2" | "GLM 4.7 Flash" | "Step 3.5 Flash 2603" | "Qwen3.5 4B" | "Gemma 4 26B-A4B" | "Qwen3.5 9B" | "Qwen3.7 Max" | "Qwen3.6 Max Preview" | "MiMo V2.5 Pro" | "Qwen3.5 122B-A10B" | "Fugu Ultra" | "Muse Spark 1.1";
|
|
2
|
+
export type ModelId="qwen3-5-plus" | "deepseek-v4-flash" | "kimi-k2-6" | "qwen3-5-27b" | "step-3-7-flash" | "qwen3-5-397b-a17b" | "qwen3-5-35b-a3b" | "qwen3-max" | "glm-5-1" | "qwen3-7-plus" | "kimi-k2-7-code" | "deepseek-v4-pro" | "glm-4-5-flash" | "qwen3-6-flash" | "minimax-m2-7-highspeed" | "minimax-m2-7" | "kimi-k2-7-code-highspeed" | "minimax-m3" | "mistral-small-4" | "mimo-v2-5" | "qwen3-6-plus" | "step-3-5-flash" | "qwen3-6-27b" | "glm-5-2" | "glm-4-7-flash" | "step-3-5-flash-2603" | "mistral-medium-3" | "qwen3-5-4b" | "gemma-4-26b-a4b" | "qwen3-5-9b" | "qwen3-7-max" | "qwen3-6-max-preview" | "mimo-v2-5-pro" | "qwen3-5-122b-a10b" | "fugu-ultra" | "muse-spark-1-1";
|
|
3
|
+
export type ModelName="Qwen3.5 Plus" | "DeepSeek V4 Flash" | "Kimi K2.6" | "Qwen3.5 27B" | "Step 3.7 Flash" | "Qwen3.5 397B-A17B" | "Qwen3.5 35B-A3B" | "Qwen3 Max" | "GLM 5.1" | "Qwen3.7 Plus" | "Kimi K2.7 Code" | "DeepSeek V4 Pro" | "GLM 4.5 Flash" | "Qwen3.6 Flash" | "MiniMax M2.7 Highspeed" | "MiniMax M2.7" | "Kimi K2.7 Code Highspeed" | "MiniMax M3" | "Mistral Small 4" | "MiMo V2.5" | "Qwen3.6 Plus" | "Step 3.5 Flash" | "Qwen3.6 27B" | "GLM 5.2" | "GLM 4.7 Flash" | "Step 3.5 Flash 2603" | "Mistral Medium 3" | "Qwen3.5 4B" | "Gemma 4 26B-A4B" | "Qwen3.5 9B" | "Qwen3.7 Max" | "Qwen3.6 Max Preview" | "MiMo V2.5 Pro" | "Qwen3.5 122B-A10B" | "Fugu Ultra" | "Muse Spark 1.1";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="duo-chat-opus-4-5" | "duo-chat-opus-4-8" | "duo-chat-opus-4-7" | "duo-chat-gpt-5-2-codex" | "duo-chat-fable-5" | "duo-chat-gpt-5-5" | "duo-chat-opus-4-6" | "duo-chat-gpt-5-4" | "duo-chat-gpt-5-codex" | "duo-chat-gpt-5-4-nano" | "duo-chat-sonnet-4-6" | "duo-chat-gpt-5-mini" | "duo-chat-sonnet-5" | "duo-chat-gpt-5-4-mini" | "duo-chat-gpt-5-3-codex" | "duo-chat-haiku-4-5" | "duo-chat-gpt-5-2" | "duo-chat-sonnet-4-5" | "duo-chat-gpt-5-1";
|
|
3
|
-
export type ModelName="Agentic Chat (Claude Opus 4.5)" | "Agentic Chat (Claude Opus 4.8)" | "Agentic Chat (Claude Opus 4.7)" | "Agentic Chat (GPT-5.2 Codex)" | "Agentic Chat (Claude Fable 5)" | "Agentic Chat (GPT-5.5)" | "Agentic Chat (Claude Opus 4.6)" | "Agentic Chat (GPT-5.4)" | "Agentic Chat (GPT-5 Codex)" | "Agentic Chat (GPT-5.4 Nano)" | "Agentic Chat (Claude Sonnet 4.6)" | "Agentic Chat (GPT-5 Mini)" | "Agentic Chat (Claude Sonnet 5)" | "Agentic Chat (GPT-5.4 Mini)" | "Agentic Chat (GPT-5.3 Codex)" | "Agentic Chat (Claude Haiku 4.5)" | "Agentic Chat (GPT-5.2)" | "Agentic Chat (Claude Sonnet 4.5)" | "Agentic Chat (GPT-5.1)";
|
|
2
|
+
export type ModelId="duo-chat-gpt-5-6-terra" | "duo-chat-opus-4-5" | "duo-chat-opus-4-8" | "duo-chat-gpt-5-6-sol" | "duo-chat-opus-4-7" | "duo-chat-gpt-5-2-codex" | "duo-chat-gpt-5-6-luna" | "duo-chat-fable-5" | "duo-chat-gpt-5-5" | "duo-chat-opus-4-6" | "duo-chat-gpt-5-4" | "duo-chat-gpt-5-codex" | "duo-chat-gpt-5-4-nano" | "duo-chat-sonnet-4-6" | "duo-chat-gpt-5-mini" | "duo-chat-sonnet-5" | "duo-chat-gpt-5-4-mini" | "duo-chat-gpt-5-3-codex" | "duo-chat-haiku-4-5" | "duo-chat-gpt-5-2" | "duo-chat-sonnet-4-5" | "duo-chat-gpt-5-1";
|
|
3
|
+
export type ModelName="Agentic Chat (GPT-5.6 Terra)" | "Agentic Chat (Claude Opus 4.5)" | "Agentic Chat (Claude Opus 4.8)" | "Agentic Chat (GPT-5.6 Sol)" | "Agentic Chat (Claude Opus 4.7)" | "Agentic Chat (GPT-5.2 Codex)" | "Agentic Chat (GPT-5.6 Luna)" | "Agentic Chat (Claude Fable 5)" | "Agentic Chat (GPT-5.5)" | "Agentic Chat (Claude Opus 4.6)" | "Agentic Chat (GPT-5.4)" | "Agentic Chat (GPT-5 Codex)" | "Agentic Chat (GPT-5.4 Nano)" | "Agentic Chat (Claude Sonnet 4.6)" | "Agentic Chat (GPT-5 Mini)" | "Agentic Chat (Claude Sonnet 5)" | "Agentic Chat (GPT-5.4 Mini)" | "Agentic Chat (GPT-5.3 Codex)" | "Agentic Chat (Claude Haiku 4.5)" | "Agentic Chat (GPT-5.2)" | "Agentic Chat (Claude Sonnet 4.5)" | "Agentic Chat (GPT-5.1)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="duo-chat-opus-4-5" | "duo-chat-opus-4-8" | "duo-chat-opus-4-7" | "duo-chat-gpt-5-2-codex" | "duo-chat-fable-5" | "duo-chat-gpt-5-5" | "duo-chat-opus-4-6" | "duo-chat-gpt-5-4" | "duo-chat-gpt-5-codex" | "duo-chat-gpt-5-4-nano" | "duo-chat-sonnet-4-6" | "duo-chat-gpt-5-mini" | "duo-chat-sonnet-5" | "duo-chat-gpt-5-4-mini" | "duo-chat-gpt-5-3-codex" | "duo-chat-haiku-4-5" | "duo-chat-gpt-5-2" | "duo-chat-sonnet-4-5" | "duo-chat-gpt-5-1";
|
|
3
|
-
export type ModelName="Agentic Chat (Claude Opus 4.5)" | "Agentic Chat (Claude Opus 4.8)" | "Agentic Chat (Claude Opus 4.7)" | "Agentic Chat (GPT-5.2 Codex)" | "Agentic Chat (Claude Fable 5)" | "Agentic Chat (GPT-5.5)" | "Agentic Chat (Claude Opus 4.6)" | "Agentic Chat (GPT-5.4)" | "Agentic Chat (GPT-5 Codex)" | "Agentic Chat (GPT-5.4 Nano)" | "Agentic Chat (Claude Sonnet 4.6)" | "Agentic Chat (GPT-5 Mini)" | "Agentic Chat (Claude Sonnet 5)" | "Agentic Chat (GPT-5.4 Mini)" | "Agentic Chat (GPT-5.3 Codex)" | "Agentic Chat (Claude Haiku 4.5)" | "Agentic Chat (GPT-5.2)" | "Agentic Chat (Claude Sonnet 4.5)" | "Agentic Chat (GPT-5.1)";
|
|
2
|
+
export type ModelId="duo-chat-gpt-5-6-terra" | "duo-chat-opus-4-5" | "duo-chat-opus-4-8" | "duo-chat-gpt-5-6-sol" | "duo-chat-opus-4-7" | "duo-chat-gpt-5-2-codex" | "duo-chat-gpt-5-6-luna" | "duo-chat-fable-5" | "duo-chat-gpt-5-5" | "duo-chat-opus-4-6" | "duo-chat-gpt-5-4" | "duo-chat-gpt-5-codex" | "duo-chat-gpt-5-4-nano" | "duo-chat-sonnet-4-6" | "duo-chat-gpt-5-mini" | "duo-chat-sonnet-5" | "duo-chat-gpt-5-4-mini" | "duo-chat-gpt-5-3-codex" | "duo-chat-haiku-4-5" | "duo-chat-gpt-5-2" | "duo-chat-sonnet-4-5" | "duo-chat-gpt-5-1";
|
|
3
|
+
export type ModelName="Agentic Chat (GPT-5.6 Terra)" | "Agentic Chat (Claude Opus 4.5)" | "Agentic Chat (Claude Opus 4.8)" | "Agentic Chat (GPT-5.6 Sol)" | "Agentic Chat (Claude Opus 4.7)" | "Agentic Chat (GPT-5.2 Codex)" | "Agentic Chat (GPT-5.6 Luna)" | "Agentic Chat (Claude Fable 5)" | "Agentic Chat (GPT-5.5)" | "Agentic Chat (Claude Opus 4.6)" | "Agentic Chat (GPT-5.4)" | "Agentic Chat (GPT-5 Codex)" | "Agentic Chat (GPT-5.4 Nano)" | "Agentic Chat (Claude Sonnet 4.6)" | "Agentic Chat (GPT-5 Mini)" | "Agentic Chat (Claude Sonnet 5)" | "Agentic Chat (GPT-5.4 Mini)" | "Agentic Chat (GPT-5.3 Codex)" | "Agentic Chat (Claude Haiku 4.5)" | "Agentic Chat (GPT-5.2)" | "Agentic Chat (Claude Sonnet 4.5)" | "Agentic Chat (GPT-5.1)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|