ai-model-prices 2026.8.13 → 2026.8.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 +2 -1
- package/dist/adapters/abacus.d.mts +2 -2
- package/dist/adapters/abacus.d.ts +2 -2
- package/dist/adapters/aihubmix.d.mts +2 -2
- package/dist/adapters/aihubmix.d.ts +2 -2
- package/dist/adapters/baseten.d.mts +2 -2
- package/dist/adapters/baseten.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/cloudflare-workers-ai.d.mts +2 -2
- package/dist/adapters/cloudflare-workers-ai.d.ts +2 -2
- package/dist/adapters/cortecs.d.mts +2 -2
- package/dist/adapters/cortecs.d.ts +2 -2
- package/dist/adapters/crossmodel.d.mts +2 -2
- package/dist/adapters/crossmodel.d.ts +2 -2
- package/dist/adapters/crusoe.d.mts +6 -0
- package/dist/adapters/crusoe.d.ts +6 -0
- package/dist/adapters/crusoe.js +7 -0
- package/dist/adapters/crusoe.mjs +5 -0
- package/dist/adapters/deepinfra.d.mts +2 -2
- package/dist/adapters/deepinfra.d.ts +2 -2
- package/dist/adapters/edenai.d.mts +2 -2
- package/dist/adapters/edenai.d.ts +2 -2
- package/dist/adapters/empiriolabs.d.mts +2 -2
- package/dist/adapters/empiriolabs.d.ts +2 -2
- package/dist/adapters/fireworks-ai.d.mts +2 -2
- package/dist/adapters/fireworks-ai.d.ts +2 -2
- package/dist/adapters/github-copilot.d.mts +2 -2
- package/dist/adapters/github-copilot.d.ts +2 -2
- package/dist/adapters/google-vertex.d.mts +2 -2
- package/dist/adapters/google-vertex.d.ts +2 -2
- package/dist/adapters/google.d.mts +2 -2
- package/dist/adapters/google.d.ts +2 -2
- package/dist/adapters/huggingface.d.mts +2 -2
- package/dist/adapters/huggingface.d.ts +2 -2
- package/dist/adapters/hyper.d.mts +2 -2
- package/dist/adapters/hyper.d.ts +2 -2
- package/dist/adapters/kilo.d.mts +2 -2
- package/dist/adapters/kilo.d.ts +2 -2
- package/dist/adapters/llmgateway.d.mts +2 -2
- package/dist/adapters/llmgateway.d.ts +2 -2
- package/dist/adapters/merge-gateway.d.mts +2 -2
- package/dist/adapters/merge-gateway.d.ts +2 -2
- package/dist/adapters/nano-gpt.d.mts +2 -2
- package/dist/adapters/nano-gpt.d.ts +2 -2
- package/dist/adapters/nvidia.d.mts +2 -2
- package/dist/adapters/nvidia.d.ts +2 -2
- package/dist/adapters/ofox.d.mts +2 -2
- package/dist/adapters/ofox.d.ts +2 -2
- package/dist/adapters/opencode-go.d.mts +2 -2
- package/dist/adapters/opencode-go.d.ts +2 -2
- package/dist/adapters/opencode.d.mts +2 -2
- package/dist/adapters/opencode.d.ts +2 -2
- package/dist/adapters/openrouter.d.mts +2 -2
- package/dist/adapters/openrouter.d.ts +2 -2
- package/dist/adapters/perplexity-agent.d.mts +2 -2
- package/dist/adapters/perplexity-agent.d.ts +2 -2
- package/dist/adapters/requesty.d.mts +2 -2
- package/dist/adapters/requesty.d.ts +2 -2
- package/dist/adapters/venice.d.mts +2 -2
- package/dist/adapters/venice.d.ts +2 -2
- package/dist/adapters/vercel.d.mts +2 -2
- package/dist/adapters/vercel.d.ts +2 -2
- package/dist/adapters/zai-coding-plan.d.mts +2 -2
- package/dist/adapters/zai-coding-plan.d.ts +2 -2
- package/dist/adapters/zhipuai-coding-plan.d.mts +2 -2
- package/dist/adapters/zhipuai-coding-plan.d.ts +2 -2
- package/dist/index.d.mts +33 -32
- package/dist/index.d.ts +33 -32
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/_manifest.js +1 -1
- package/dist/providers/abacus.js +1 -1
- package/dist/providers/aihubmix.js +1 -1
- package/dist/providers/baseten.js +1 -1
- package/dist/providers/cloudflare-ai-gateway.js +1 -1
- package/dist/providers/cloudflare-workers-ai.js +1 -1
- package/dist/providers/cortecs.js +1 -1
- package/dist/providers/crossmodel.js +1 -1
- package/dist/providers/crusoe.js +1 -0
- package/dist/providers/deepinfra.js +1 -1
- package/dist/providers/edenai.js +1 -1
- package/dist/providers/empiriolabs.js +1 -1
- package/dist/providers/fireworks-ai.js +1 -1
- package/dist/providers/github-copilot.js +1 -1
- package/dist/providers/google-vertex.js +1 -1
- package/dist/providers/google.js +1 -1
- package/dist/providers/huggingface.js +1 -1
- package/dist/providers/hyper.js +1 -1
- package/dist/providers/kilo.js +1 -1
- package/dist/providers/llmgateway.js +1 -1
- package/dist/providers/merge-gateway.js +1 -1
- package/dist/providers/nano-gpt.js +1 -1
- package/dist/providers/nvidia.js +1 -1
- package/dist/providers/ofox.js +1 -1
- package/dist/providers/opencode-go.js +1 -1
- package/dist/providers/opencode.js +1 -1
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/perplexity-agent.js +1 -1
- package/dist/providers/requesty.js +1 -1
- package/dist/providers/venice.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/dist/providers/zai-coding-plan.js +1 -1
- package/dist/providers/zhipuai-coding-plan.js +1 -1
- package/package.json +11 -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
|
+
**175 providers · 6162 models · Updated 2026-08-15**
|
|
10
10
|
<!-- STATS:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -186,6 +186,7 @@ filterModels({
|
|
|
186
186
|
| MiniMax Token Plan (minimaxi.com) | `minimax-cn-coding-plan` |
|
|
187
187
|
| Amazon Bedrock | `amazon-bedrock` |
|
|
188
188
|
| UnoRouter | `unorouter` |
|
|
189
|
+
| Crusoe | `crusoe` |
|
|
189
190
|
| DInference | `dinference` |
|
|
190
191
|
| OpenAI | `openai` |
|
|
191
192
|
| OpenCode Go | `opencode-go` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="claude-opus-4-20250514" | "claude-opus-4-7" | "gpt-4o" | "claude-opus-4-1-20250805" | "gpt-5.3-chat-latest" | "gemini-3-pro-image-preview" | "gpt-5-nano" | "gpt-4o-mini" | "qwen-2.5-coder-32b" | "claude-opus-4-8" | "gpt-5.6-sol" | "o3-pro" | "gemini-3.1-pro-preview" | "grok-4.5" | "gpt-5" | "claude-sonnet-5" | "gpt-5.3-codex-xhigh" | "gpt-5-codex" | "grok-code-fast-1" | "gpt-5-mini" | "gpt-5.6-luna" | "claude-3-7-sonnet-20250219" | "gpt-5.3-codex" | "claude-sonnet-4-5-20250929" | "mimo-v2-pro" | "gpt-4.1-nano" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "o3" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "gpt-5.5" | "route-llm" | "gemini-2.5-flash" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "kimi-k2.5" | "gpt-5.2-codex" | "qwen3-max" | "claude-haiku-4-5-20251001" | "muse-spark-1.1" | "gpt-4.1" | "gpt-5.6-terra" | "o4-mini" | "gpt-5.4" | "gemini-3.1-flash-image-preview" | "o3-mini" | "gpt-4o-2024-11-20" | "gpt-5.2-chat-latest" | "grok-4-fast-non-reasoning" | "claude-opus-4-5-20251101" | "claude-fable-5" | "grok-4-0709" | "gemini-3.1-flash-lite-preview" | "kimi-k2-turbo-preview" | "claude-sonnet-4-20250514" | "gpt-5.1-chat-latest" | "gemini-3-flash-preview" | "gpt-5.1-codex-max" | "gemini-2.5-flash-image" | "claude-opus-4-6" | "gpt-5.1-codex" | "gemini-2.5-pro" | "gpt-4.1-mini" | "gpt-5.4-nano" | "grok-4.3" | "gpt-5.1" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "deepseek/deepseek-v3.1" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V4-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3-32B" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Meta-Llama-3.3-70B-Instruct" | "meta-llama/Meta-Llama-3.1-8B-Instruct";
|
|
3
|
-
export type ModelName="Claude Opus 4" | "Claude Opus 4.7" | "GPT-4o" | "Claude Opus 4.1" | "GPT-5.3 Chat Latest" | "
|
|
2
|
+
export type ModelId="claude-opus-4-20250514" | "claude-opus-4-7" | "gpt-4o" | "gemini-3-pro-image" | "qwen3.7-max" | "claude-opus-4-1-20250805" | "gpt-5.3-chat-latest" | "gemini-3-pro-image-preview" | "gpt-5-nano" | "gpt-4o-mini" | "qwen-2.5-coder-32b" | "claude-opus-4-8" | "gemini-3.5-flash-lite" | "gpt-5.6-sol" | "o3-pro" | "grok-4.6" | "gemini-3.1-pro-preview" | "grok-4.5" | "gpt-5" | "claude-sonnet-5" | "gpt-5.3-codex-xhigh" | "gpt-5-codex" | "grok-code-fast-1" | "gpt-5-mini" | "gpt-5.6-luna" | "claude-3-7-sonnet-20250219" | "gpt-5.3-codex" | "qwen3.8-max" | "claude-sonnet-4-5-20250929" | "mimo-v2-pro" | "gpt-4.1-nano" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "o3" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "muse-spark-1.2" | "gpt-5.5" | "route-llm" | "gemini-2.5-flash" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "kimi-k2.5" | "gpt-5.2-codex" | "qwen3-max" | "claude-haiku-4-5-20251001" | "muse-spark-1.1" | "gpt-4.1" | "gemini-3.6-flash" | "gpt-5.6-terra" | "gemini-3.1-flash-image" | "o4-mini" | "gpt-5.4" | "gemini-3.1-flash-image-preview" | "o3-mini" | "gpt-4o-2024-11-20" | "gpt-5.2-chat-latest" | "grok-4-fast-non-reasoning" | "claude-opus-4-5-20251101" | "claude-fable-5" | "grok-4-0709" | "gemini-3.1-flash-lite-preview" | "kimi-k2-turbo-preview" | "claude-sonnet-4-20250514" | "gpt-5.1-chat-latest" | "gemini-3-flash-preview" | "gpt-5.1-codex-max" | "gemini-2.5-flash-image" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "gpt-4.1-mini" | "gemini-3.7-flash" | "gpt-5.4-nano" | "grok-4.3" | "gpt-5.1" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "deepseek/deepseek-v3.1" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V4-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3-32B" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/Inkling" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Meta-Llama-3.3-70B-Instruct" | "meta-llama/Meta-Llama-3.1-8B-Instruct";
|
|
3
|
+
export type ModelName="Claude Opus 4" | "Claude Opus 4.7" | "GPT-4o" | "Nano Banana Pro" | "Qwen3.7 Max" | "Claude Opus 4.1" | "GPT-5.3 Chat Latest" | "GPT-5 Nano" | "GPT-4o mini" | "Qwen 2.5 Coder 32B" | "Claude Opus 4.8" | "Gemini 3.5 Flash Lite" | "GPT-5.6 Sol" | "o3-pro" | "Grok 4.6" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "GPT-5" | "Claude Sonnet 5" | "GPT-5.3 Codex XHigh" | "GPT-5-Codex" | "Grok Code Fast 1" | "GPT-5 Mini" | "GPT-5.6 Luna" | "Claude Sonnet 3.7" | "GPT-5.3 Codex" | "Qwen3.8 Max" | "Claude Sonnet 4.5" | "MiMo-V2-Pro" | "GPT-4.1 nano" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "o3" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Muse Spark 1.2" | "GPT-5.5" | "RouteLLM" | "Gemini 2.5 Flash" | "Grok 4.1 Fast (Non-Reasoning)" | "Llama 3.3 70B Versatile" | "Kimi K2.5" | "GPT-5.2 Codex" | "Qwen3 Max" | "Claude Haiku 4.5" | "Muse Spark 1.1" | "GPT-4.1" | "Gemini 3.6 Flash" | "GPT-5.6 Terra" | "Nano Banana 2" | "o4-mini" | "GPT-5.4" | "o3-mini" | "GPT-4o (2024-11-20)" | "GPT-5.2 Chat Latest" | "Grok 4 Fast (Non-Reasoning)" | "Claude Opus 4.5" | "Claude Fable 5" | "Grok 4" | "Gemini 3.1 Flash Lite Preview" | "Kimi K2 Turbo Preview" | "Claude Sonnet 4" | "GPT-5.1 Chat Latest" | "Gemini 3 Flash Preview" | "GPT-5.1 Codex Max" | "Nano Banana" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "GPT-4.1 mini" | "Gemini 3.7 Flash" | "GPT-5.4 nano" | "Grok 4.3" | "GPT-5.1" | "MiniMax-M2.7" | "MiniMax-M3" | "DeepSeek V3.1" | "Gemma 4 31B IT" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "DeepSeek V4 Pro" | "DeepSeek V3.1 Terminus" | "DeepSeek R1" | "DeepSeek V3.2" | "DeepSeek V4 Flash" | "Qwen3 235B A22B Instruct" | "Qwen3.6 27B" | "Qwen3 32B" | "QwQ 32B" | "Qwen3-Coder 480B-A35B Instruct" | "Qwen 2.5 72B Instruct" | "GLM-5.1" | "GLM-4.5" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "Inkling" | "Llama 4 Maverick 17B Instruct" | "Llama 3.1 405B Instruct Turbo" | "Llama-3.3-70B-Instruct" | "Llama 3.1 8B Instruct";
|
|
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-20250514" | "claude-opus-4-7" | "gpt-4o" | "claude-opus-4-1-20250805" | "gpt-5.3-chat-latest" | "gemini-3-pro-image-preview" | "gpt-5-nano" | "gpt-4o-mini" | "qwen-2.5-coder-32b" | "claude-opus-4-8" | "gpt-5.6-sol" | "o3-pro" | "gemini-3.1-pro-preview" | "grok-4.5" | "gpt-5" | "claude-sonnet-5" | "gpt-5.3-codex-xhigh" | "gpt-5-codex" | "grok-code-fast-1" | "gpt-5-mini" | "gpt-5.6-luna" | "claude-3-7-sonnet-20250219" | "gpt-5.3-codex" | "claude-sonnet-4-5-20250929" | "mimo-v2-pro" | "gpt-4.1-nano" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "o3" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "gpt-5.5" | "route-llm" | "gemini-2.5-flash" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "kimi-k2.5" | "gpt-5.2-codex" | "qwen3-max" | "claude-haiku-4-5-20251001" | "muse-spark-1.1" | "gpt-4.1" | "gpt-5.6-terra" | "o4-mini" | "gpt-5.4" | "gemini-3.1-flash-image-preview" | "o3-mini" | "gpt-4o-2024-11-20" | "gpt-5.2-chat-latest" | "grok-4-fast-non-reasoning" | "claude-opus-4-5-20251101" | "claude-fable-5" | "grok-4-0709" | "gemini-3.1-flash-lite-preview" | "kimi-k2-turbo-preview" | "claude-sonnet-4-20250514" | "gpt-5.1-chat-latest" | "gemini-3-flash-preview" | "gpt-5.1-codex-max" | "gemini-2.5-flash-image" | "claude-opus-4-6" | "gpt-5.1-codex" | "gemini-2.5-pro" | "gpt-4.1-mini" | "gpt-5.4-nano" | "grok-4.3" | "gpt-5.1" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "deepseek/deepseek-v3.1" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V4-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3-32B" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Meta-Llama-3.3-70B-Instruct" | "meta-llama/Meta-Llama-3.1-8B-Instruct";
|
|
3
|
-
export type ModelName="Claude Opus 4" | "Claude Opus 4.7" | "GPT-4o" | "Claude Opus 4.1" | "GPT-5.3 Chat Latest" | "
|
|
2
|
+
export type ModelId="claude-opus-4-20250514" | "claude-opus-4-7" | "gpt-4o" | "gemini-3-pro-image" | "qwen3.7-max" | "claude-opus-4-1-20250805" | "gpt-5.3-chat-latest" | "gemini-3-pro-image-preview" | "gpt-5-nano" | "gpt-4o-mini" | "qwen-2.5-coder-32b" | "claude-opus-4-8" | "gemini-3.5-flash-lite" | "gpt-5.6-sol" | "o3-pro" | "grok-4.6" | "gemini-3.1-pro-preview" | "grok-4.5" | "gpt-5" | "claude-sonnet-5" | "gpt-5.3-codex-xhigh" | "gpt-5-codex" | "grok-code-fast-1" | "gpt-5-mini" | "gpt-5.6-luna" | "claude-3-7-sonnet-20250219" | "gpt-5.3-codex" | "qwen3.8-max" | "claude-sonnet-4-5-20250929" | "mimo-v2-pro" | "gpt-4.1-nano" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "o3" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "muse-spark-1.2" | "gpt-5.5" | "route-llm" | "gemini-2.5-flash" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "kimi-k2.5" | "gpt-5.2-codex" | "qwen3-max" | "claude-haiku-4-5-20251001" | "muse-spark-1.1" | "gpt-4.1" | "gemini-3.6-flash" | "gpt-5.6-terra" | "gemini-3.1-flash-image" | "o4-mini" | "gpt-5.4" | "gemini-3.1-flash-image-preview" | "o3-mini" | "gpt-4o-2024-11-20" | "gpt-5.2-chat-latest" | "grok-4-fast-non-reasoning" | "claude-opus-4-5-20251101" | "claude-fable-5" | "grok-4-0709" | "gemini-3.1-flash-lite-preview" | "kimi-k2-turbo-preview" | "claude-sonnet-4-20250514" | "gpt-5.1-chat-latest" | "gemini-3-flash-preview" | "gpt-5.1-codex-max" | "gemini-2.5-flash-image" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "gpt-4.1-mini" | "gemini-3.7-flash" | "gpt-5.4-nano" | "grok-4.3" | "gpt-5.1" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "deepseek/deepseek-v3.1" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V4-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3-32B" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/Inkling" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Meta-Llama-3.3-70B-Instruct" | "meta-llama/Meta-Llama-3.1-8B-Instruct";
|
|
3
|
+
export type ModelName="Claude Opus 4" | "Claude Opus 4.7" | "GPT-4o" | "Nano Banana Pro" | "Qwen3.7 Max" | "Claude Opus 4.1" | "GPT-5.3 Chat Latest" | "GPT-5 Nano" | "GPT-4o mini" | "Qwen 2.5 Coder 32B" | "Claude Opus 4.8" | "Gemini 3.5 Flash Lite" | "GPT-5.6 Sol" | "o3-pro" | "Grok 4.6" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "GPT-5" | "Claude Sonnet 5" | "GPT-5.3 Codex XHigh" | "GPT-5-Codex" | "Grok Code Fast 1" | "GPT-5 Mini" | "GPT-5.6 Luna" | "Claude Sonnet 3.7" | "GPT-5.3 Codex" | "Qwen3.8 Max" | "Claude Sonnet 4.5" | "MiMo-V2-Pro" | "GPT-4.1 nano" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "o3" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Muse Spark 1.2" | "GPT-5.5" | "RouteLLM" | "Gemini 2.5 Flash" | "Grok 4.1 Fast (Non-Reasoning)" | "Llama 3.3 70B Versatile" | "Kimi K2.5" | "GPT-5.2 Codex" | "Qwen3 Max" | "Claude Haiku 4.5" | "Muse Spark 1.1" | "GPT-4.1" | "Gemini 3.6 Flash" | "GPT-5.6 Terra" | "Nano Banana 2" | "o4-mini" | "GPT-5.4" | "o3-mini" | "GPT-4o (2024-11-20)" | "GPT-5.2 Chat Latest" | "Grok 4 Fast (Non-Reasoning)" | "Claude Opus 4.5" | "Claude Fable 5" | "Grok 4" | "Gemini 3.1 Flash Lite Preview" | "Kimi K2 Turbo Preview" | "Claude Sonnet 4" | "GPT-5.1 Chat Latest" | "Gemini 3 Flash Preview" | "GPT-5.1 Codex Max" | "Nano Banana" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "GPT-4.1 mini" | "Gemini 3.7 Flash" | "GPT-5.4 nano" | "Grok 4.3" | "GPT-5.1" | "MiniMax-M2.7" | "MiniMax-M3" | "DeepSeek V3.1" | "Gemma 4 31B IT" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "DeepSeek V4 Pro" | "DeepSeek V3.1 Terminus" | "DeepSeek R1" | "DeepSeek V3.2" | "DeepSeek V4 Flash" | "Qwen3 235B A22B Instruct" | "Qwen3.6 27B" | "Qwen3 32B" | "QwQ 32B" | "Qwen3-Coder 480B-A35B Instruct" | "Qwen 2.5 72B Instruct" | "GLM-5.1" | "GLM-4.5" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "Inkling" | "Llama 4 Maverick 17B Instruct" | "Llama 3.1 405B Instruct Turbo" | "Llama-3.3-70B-Instruct" | "Llama 3.1 8B Instruct";
|
|
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-7" | "xiaomi-mimo-v2.5-pro" | "coding-glm-5.1" | "alicloud-deepseek-v4-pro" | "kimi-k2.7-code" | "qwen3.7-max" | "doubao-seed-2-0-code-preview" | "kimi-k3" | "glm-5v-turbo" | "deep-deepseek-v4-pro" | "claude-opus-4-8" | "gpt-5.6-sol" | "claude-opus-4-6-think" | "gemini-3.1-pro-preview" | "grok-4.5" | "deep-deepseek-v4-flash" | "claude-sonnet-5" | "gemini-3.1-pro-preview-customtools" | "gpt-5.1-codex-mini" | "gpt-5.6-luna" | "hy3-preview" | "qwen3.6-max-preview" | "minimax-m2.7" | "gpt-5.3-codex" | "xiaomi-mimo-v2.5-pro-free" | "qwen3.8-max" | "qwen3.7-plus" | "claude-opus-4-8-think" | "coding-xiaomi-mimo-v2.5-pro" | "doubao-seed-2-0-lite-260428" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "coding-minimax-m2.7-highspeed" | "gpt-5.5" | "coding-glm-5.1-free" | "zai-glm-5.1" | "gemini-2.5-flash" | "claude-opus-4-7-think" | "kimi-k2.5" | "doubao-seed-2-0-mini-260428" | "gpt-5.2-codex" | "glm-5.2" | "claude-sonnet-4-6-think" | "coding-minimax-m2.7" | "gpt-5.6-terra" | "alicloud-deepseek-v4-flash" | "coding-minimax-m2.7-free" | "gpt-5.4" | "coding-xiaomi-mimo-v2.5" | "qwen3.6-plus" | "xiaomi-mimo-v2.5-free" | "claude-fable-5" | "gemini-3-flash-preview" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "xiaomi-mimo-v2.5" | "doubao-seed-2-0-pro" | "kimi-k2.7-code-highspeed" | "alicloud-glm-5.1" | "grok-build-0.1" | "grok-4.3" | "qwen3.6-flash" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
-
export type ModelName="Claude Opus 4.7" | "Xiaomi MiMo-V2.5-Pro" | "Coding GLM 5.1" | "DeepSeek V4 Pro (Alibaba Cloud)" | "Kimi K2.7 Code" | "Qwen3.7 Max" | "Doubao Seed 2.0 Code Preview" | "Kimi K3" | "GLM 5 Vision Turbo" | "DeepSeek V4 Pro (DeepSeek)" | "Claude Opus 4.8" | "GPT-5.6 Sol" | "Claude Opus 4.6 Thinking" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "DeepSeek V4 Flash (DeepSeek)" | "Claude Sonnet 5" | "Gemini 3.1 Pro Preview Custom Tools" | "GPT-5.1 Codex mini" | "GPT-5.6 Luna" | "Hy3 Preview" | "Qwen3.6 Max Preview" | "MiniMax M2.7" | "GPT-5.3 Codex" | "Xiaomi MiMo-V2.5-Pro (free)" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Coding Xiaomi MiMo-V2.5-Pro" | "Doubao Seed 2.0 Lite 260428" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Coding MiniMax M2.7 Highspeed" | "GPT-5.5" | "Coding GLM 5.1 (free)" | "GLM-5.1 (Z.ai)" | "Gemini 2.5 Flash" | "Claude Opus 4.7 Thinking" | "Kimi K2.5" | "Doubao Seed 2.0 Mini 260428" | "GPT-5.2 Codex" | "GLM-5.2" | "Claude Sonnet 4.6 Thinking" | "Coding MiniMax M2.7" | "GPT-5.6 Terra" | "DeepSeek V4 Flash (Alibaba Cloud)" | "Coding MiniMax M2.7 (Free)" | "GPT-5.4" | "Coding Xiaomi MiMo-V2.5" | "Qwen3.6 Plus" | "Xiaomi MiMo-V2.5 (free)" | "Claude Fable 5" | "Gemini 3 Flash Preview" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "Xiaomi MiMo-V2.5" | "Doubao Seed 2.0 Pro" | "Kimi K2.7 Code Highspeed" | "GLM-5.1 (Alibaba Cloud)" | "Grok Build 0.1" | "Grok 4.3" | "Qwen3.6 Flash" | "Kimi K2.6" | "GPT-5.1";
|
|
2
|
+
export type ModelId="claude-opus-4-7" | "xiaomi-mimo-v2.5-pro" | "coding-glm-5.1" | "alicloud-deepseek-v4-pro" | "kimi-k2.7-code" | "qwen3.7-max" | "doubao-seed-2-0-code-preview" | "kimi-k3" | "glm-5v-turbo" | "deep-deepseek-v4-pro" | "claude-opus-4-8" | "gpt-5.6-sol" | "claude-opus-4-6-think" | "gemini-3.1-pro-preview" | "grok-4.5" | "deep-deepseek-v4-flash" | "claude-sonnet-5" | "gemini-3.1-pro-preview-customtools" | "gpt-5.1-codex-mini" | "gpt-5.6-luna" | "hy3-preview" | "qwen3.6-max-preview" | "minimax-m2.7" | "gpt-5.3-codex" | "xiaomi-mimo-v2.5-pro-free" | "qwen3.8-max" | "qwen3.7-plus" | "claude-opus-4-8-think" | "coding-xiaomi-mimo-v2.5-pro" | "doubao-seed-2-0-lite-260428" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "coding-minimax-m2.7-highspeed" | "gpt-5.5" | "coding-glm-5.1-free" | "zai-glm-5.1" | "gemini-2.5-flash" | "claude-opus-4-7-think" | "kimi-k2.5" | "doubao-seed-2-0-mini-260428" | "gpt-5.2-codex" | "glm-5.2" | "claude-sonnet-4-6-think" | "coding-minimax-m2.7" | "gpt-5.6-terra" | "alicloud-deepseek-v4-flash" | "coding-minimax-m2.7-free" | "gpt-5.4" | "coding-xiaomi-mimo-v2.5" | "qwen3.6-plus" | "xiaomi-mimo-v2.5-free" | "claude-fable-5" | "gemini-3-flash-preview" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "xiaomi-mimo-v2.5" | "doubao-seed-2-0-pro" | "kimi-k2.7-code-highspeed" | "alicloud-glm-5.1" | "grok-build-0.1" | "gemini-3.7-flash" | "grok-4.3" | "qwen3.6-flash" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "Xiaomi MiMo-V2.5-Pro" | "Coding GLM 5.1" | "DeepSeek V4 Pro (Alibaba Cloud)" | "Kimi K2.7 Code" | "Qwen3.7 Max" | "Doubao Seed 2.0 Code Preview" | "Kimi K3" | "GLM 5 Vision Turbo" | "DeepSeek V4 Pro (DeepSeek)" | "Claude Opus 4.8" | "GPT-5.6 Sol" | "Claude Opus 4.6 Thinking" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "DeepSeek V4 Flash (DeepSeek)" | "Claude Sonnet 5" | "Gemini 3.1 Pro Preview Custom Tools" | "GPT-5.1 Codex mini" | "GPT-5.6 Luna" | "Hy3 Preview" | "Qwen3.6 Max Preview" | "MiniMax M2.7" | "GPT-5.3 Codex" | "Xiaomi MiMo-V2.5-Pro (free)" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Coding Xiaomi MiMo-V2.5-Pro" | "Doubao Seed 2.0 Lite 260428" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Coding MiniMax M2.7 Highspeed" | "GPT-5.5" | "Coding GLM 5.1 (free)" | "GLM-5.1 (Z.ai)" | "Gemini 2.5 Flash" | "Claude Opus 4.7 Thinking" | "Kimi K2.5" | "Doubao Seed 2.0 Mini 260428" | "GPT-5.2 Codex" | "GLM-5.2" | "Claude Sonnet 4.6 Thinking" | "Coding MiniMax M2.7" | "GPT-5.6 Terra" | "DeepSeek V4 Flash (Alibaba Cloud)" | "Coding MiniMax M2.7 (Free)" | "GPT-5.4" | "Coding Xiaomi MiMo-V2.5" | "Qwen3.6 Plus" | "Xiaomi MiMo-V2.5 (free)" | "Claude Fable 5" | "Gemini 3 Flash Preview" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "Xiaomi MiMo-V2.5" | "Doubao Seed 2.0 Pro" | "Kimi K2.7 Code Highspeed" | "GLM-5.1 (Alibaba Cloud)" | "Grok Build 0.1" | "Gemini 3.7 Flash" | "Grok 4.3" | "Qwen3.6 Flash" | "Kimi K2.6" | "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="claude-opus-4-7" | "xiaomi-mimo-v2.5-pro" | "coding-glm-5.1" | "alicloud-deepseek-v4-pro" | "kimi-k2.7-code" | "qwen3.7-max" | "doubao-seed-2-0-code-preview" | "kimi-k3" | "glm-5v-turbo" | "deep-deepseek-v4-pro" | "claude-opus-4-8" | "gpt-5.6-sol" | "claude-opus-4-6-think" | "gemini-3.1-pro-preview" | "grok-4.5" | "deep-deepseek-v4-flash" | "claude-sonnet-5" | "gemini-3.1-pro-preview-customtools" | "gpt-5.1-codex-mini" | "gpt-5.6-luna" | "hy3-preview" | "qwen3.6-max-preview" | "minimax-m2.7" | "gpt-5.3-codex" | "xiaomi-mimo-v2.5-pro-free" | "qwen3.8-max" | "qwen3.7-plus" | "claude-opus-4-8-think" | "coding-xiaomi-mimo-v2.5-pro" | "doubao-seed-2-0-lite-260428" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "coding-minimax-m2.7-highspeed" | "gpt-5.5" | "coding-glm-5.1-free" | "zai-glm-5.1" | "gemini-2.5-flash" | "claude-opus-4-7-think" | "kimi-k2.5" | "doubao-seed-2-0-mini-260428" | "gpt-5.2-codex" | "glm-5.2" | "claude-sonnet-4-6-think" | "coding-minimax-m2.7" | "gpt-5.6-terra" | "alicloud-deepseek-v4-flash" | "coding-minimax-m2.7-free" | "gpt-5.4" | "coding-xiaomi-mimo-v2.5" | "qwen3.6-plus" | "xiaomi-mimo-v2.5-free" | "claude-fable-5" | "gemini-3-flash-preview" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "xiaomi-mimo-v2.5" | "doubao-seed-2-0-pro" | "kimi-k2.7-code-highspeed" | "alicloud-glm-5.1" | "grok-build-0.1" | "grok-4.3" | "qwen3.6-flash" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
-
export type ModelName="Claude Opus 4.7" | "Xiaomi MiMo-V2.5-Pro" | "Coding GLM 5.1" | "DeepSeek V4 Pro (Alibaba Cloud)" | "Kimi K2.7 Code" | "Qwen3.7 Max" | "Doubao Seed 2.0 Code Preview" | "Kimi K3" | "GLM 5 Vision Turbo" | "DeepSeek V4 Pro (DeepSeek)" | "Claude Opus 4.8" | "GPT-5.6 Sol" | "Claude Opus 4.6 Thinking" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "DeepSeek V4 Flash (DeepSeek)" | "Claude Sonnet 5" | "Gemini 3.1 Pro Preview Custom Tools" | "GPT-5.1 Codex mini" | "GPT-5.6 Luna" | "Hy3 Preview" | "Qwen3.6 Max Preview" | "MiniMax M2.7" | "GPT-5.3 Codex" | "Xiaomi MiMo-V2.5-Pro (free)" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Coding Xiaomi MiMo-V2.5-Pro" | "Doubao Seed 2.0 Lite 260428" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Coding MiniMax M2.7 Highspeed" | "GPT-5.5" | "Coding GLM 5.1 (free)" | "GLM-5.1 (Z.ai)" | "Gemini 2.5 Flash" | "Claude Opus 4.7 Thinking" | "Kimi K2.5" | "Doubao Seed 2.0 Mini 260428" | "GPT-5.2 Codex" | "GLM-5.2" | "Claude Sonnet 4.6 Thinking" | "Coding MiniMax M2.7" | "GPT-5.6 Terra" | "DeepSeek V4 Flash (Alibaba Cloud)" | "Coding MiniMax M2.7 (Free)" | "GPT-5.4" | "Coding Xiaomi MiMo-V2.5" | "Qwen3.6 Plus" | "Xiaomi MiMo-V2.5 (free)" | "Claude Fable 5" | "Gemini 3 Flash Preview" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "Xiaomi MiMo-V2.5" | "Doubao Seed 2.0 Pro" | "Kimi K2.7 Code Highspeed" | "GLM-5.1 (Alibaba Cloud)" | "Grok Build 0.1" | "Grok 4.3" | "Qwen3.6 Flash" | "Kimi K2.6" | "GPT-5.1";
|
|
2
|
+
export type ModelId="claude-opus-4-7" | "xiaomi-mimo-v2.5-pro" | "coding-glm-5.1" | "alicloud-deepseek-v4-pro" | "kimi-k2.7-code" | "qwen3.7-max" | "doubao-seed-2-0-code-preview" | "kimi-k3" | "glm-5v-turbo" | "deep-deepseek-v4-pro" | "claude-opus-4-8" | "gpt-5.6-sol" | "claude-opus-4-6-think" | "gemini-3.1-pro-preview" | "grok-4.5" | "deep-deepseek-v4-flash" | "claude-sonnet-5" | "gemini-3.1-pro-preview-customtools" | "gpt-5.1-codex-mini" | "gpt-5.6-luna" | "hy3-preview" | "qwen3.6-max-preview" | "minimax-m2.7" | "gpt-5.3-codex" | "xiaomi-mimo-v2.5-pro-free" | "qwen3.8-max" | "qwen3.7-plus" | "claude-opus-4-8-think" | "coding-xiaomi-mimo-v2.5-pro" | "doubao-seed-2-0-lite-260428" | "gpt-5.2" | "gemini-3.5-flash" | "gpt-5.4-mini" | "claude-sonnet-4-6" | "gemini-3.1-flash-lite" | "coding-minimax-m2.7-highspeed" | "gpt-5.5" | "coding-glm-5.1-free" | "zai-glm-5.1" | "gemini-2.5-flash" | "claude-opus-4-7-think" | "kimi-k2.5" | "doubao-seed-2-0-mini-260428" | "gpt-5.2-codex" | "glm-5.2" | "claude-sonnet-4-6-think" | "coding-minimax-m2.7" | "gpt-5.6-terra" | "alicloud-deepseek-v4-flash" | "coding-minimax-m2.7-free" | "gpt-5.4" | "coding-xiaomi-mimo-v2.5" | "qwen3.6-plus" | "xiaomi-mimo-v2.5-free" | "claude-fable-5" | "gemini-3-flash-preview" | "claude-opus-4-6" | "gpt-5.1-codex" | "claude-opus-5" | "gemini-2.5-pro" | "xiaomi-mimo-v2.5" | "doubao-seed-2-0-pro" | "kimi-k2.7-code-highspeed" | "alicloud-glm-5.1" | "grok-build-0.1" | "gemini-3.7-flash" | "grok-4.3" | "qwen3.6-flash" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "Xiaomi MiMo-V2.5-Pro" | "Coding GLM 5.1" | "DeepSeek V4 Pro (Alibaba Cloud)" | "Kimi K2.7 Code" | "Qwen3.7 Max" | "Doubao Seed 2.0 Code Preview" | "Kimi K3" | "GLM 5 Vision Turbo" | "DeepSeek V4 Pro (DeepSeek)" | "Claude Opus 4.8" | "GPT-5.6 Sol" | "Claude Opus 4.6 Thinking" | "Gemini 3.1 Pro Preview" | "Grok 4.5" | "DeepSeek V4 Flash (DeepSeek)" | "Claude Sonnet 5" | "Gemini 3.1 Pro Preview Custom Tools" | "GPT-5.1 Codex mini" | "GPT-5.6 Luna" | "Hy3 Preview" | "Qwen3.6 Max Preview" | "MiniMax M2.7" | "GPT-5.3 Codex" | "Xiaomi MiMo-V2.5-Pro (free)" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Coding Xiaomi MiMo-V2.5-Pro" | "Doubao Seed 2.0 Lite 260428" | "GPT-5.2" | "Gemini 3.5 Flash" | "GPT-5.4 mini" | "Claude Sonnet 4.6" | "Gemini 3.1 Flash Lite" | "Coding MiniMax M2.7 Highspeed" | "GPT-5.5" | "Coding GLM 5.1 (free)" | "GLM-5.1 (Z.ai)" | "Gemini 2.5 Flash" | "Claude Opus 4.7 Thinking" | "Kimi K2.5" | "Doubao Seed 2.0 Mini 260428" | "GPT-5.2 Codex" | "GLM-5.2" | "Claude Sonnet 4.6 Thinking" | "Coding MiniMax M2.7" | "GPT-5.6 Terra" | "DeepSeek V4 Flash (Alibaba Cloud)" | "Coding MiniMax M2.7 (Free)" | "GPT-5.4" | "Coding Xiaomi MiMo-V2.5" | "Qwen3.6 Plus" | "Xiaomi MiMo-V2.5 (free)" | "Claude Fable 5" | "Gemini 3 Flash Preview" | "Claude Opus 4.6" | "GPT-5.1 Codex" | "Claude Opus 5" | "Gemini 2.5 Pro" | "Xiaomi MiMo-V2.5" | "Doubao Seed 2.0 Pro" | "Kimi K2.7 Code Highspeed" | "GLM-5.1 (Alibaba Cloud)" | "Grok Build 0.1" | "Gemini 3.7 Flash" | "Grok 4.3" | "Qwen3.6 Flash" | "Kimi K2.6" | "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.mjs';
|
|
2
|
-
export type ModelId="MiniMaxAI/MiniMax-M2.5" | "nvidia/Nemotron-120B-A12B" | "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.1" | "zai-org/GLM-5.1" | "zai-org/GLM-5.2-Fast" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/inkling-small" | "thinkingmachines/inkling";
|
|
3
|
-
export type ModelName="MiniMax-M2.5" | "Nemotron Super" | "Nemotron Ultra" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "OpenAI GPT 120B" | "Deepseek V4 Pro" | "Deepseek V4 Flash 0731" | "DeepSeek V3.1" | "GLM 5.1" | "GLM 5.2 Fast" | "GLM 5" | "GLM 4.7" | "GLM 5.2" | "Inkling Small" | "Inkling";
|
|
2
|
+
export type ModelId="MiniMaxAI/MiniMax-M2.5" | "nvidia/Nemotron-120B-A12B" | "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V4-Pro-0813" | "zai-org/GLM-5.1" | "zai-org/GLM-5.2-Fast" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/inkling-small" | "thinkingmachines/inkling";
|
|
3
|
+
export type ModelName="MiniMax-M2.5" | "Nemotron Super" | "Nemotron Ultra" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "OpenAI GPT 120B" | "Deepseek V4 Pro" | "Deepseek V4 Flash 0731" | "DeepSeek V3.1" | "Deepseek V4 Pro 0813" | "GLM 5.1" | "GLM 5.2 Fast" | "GLM 5" | "GLM 4.7" | "GLM 5.2" | "Inkling Small" | "Inkling";
|
|
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="MiniMaxAI/MiniMax-M2.5" | "nvidia/Nemotron-120B-A12B" | "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.1" | "zai-org/GLM-5.1" | "zai-org/GLM-5.2-Fast" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/inkling-small" | "thinkingmachines/inkling";
|
|
3
|
-
export type ModelName="MiniMax-M2.5" | "Nemotron Super" | "Nemotron Ultra" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "OpenAI GPT 120B" | "Deepseek V4 Pro" | "Deepseek V4 Flash 0731" | "DeepSeek V3.1" | "GLM 5.1" | "GLM 5.2 Fast" | "GLM 5" | "GLM 4.7" | "GLM 5.2" | "Inkling Small" | "Inkling";
|
|
2
|
+
export type ModelId="MiniMaxAI/MiniMax-M2.5" | "nvidia/Nemotron-120B-A12B" | "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V4-Pro-0813" | "zai-org/GLM-5.1" | "zai-org/GLM-5.2-Fast" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "thinkingmachines/inkling-small" | "thinkingmachines/inkling";
|
|
3
|
+
export type ModelName="MiniMax-M2.5" | "Nemotron Super" | "Nemotron Ultra" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "OpenAI GPT 120B" | "Deepseek V4 Pro" | "Deepseek V4 Flash 0731" | "DeepSeek V3.1" | "Deepseek V4 Pro 0813" | "GLM 5.1" | "GLM 5.2 Fast" | "GLM 5" | "GLM 4.7" | "GLM 5.2" | "Inkling Small" | "Inkling";
|
|
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="
|
|
3
|
-
export type ModelName="
|
|
2
|
+
export type ModelId="anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-opus-5" | "openai/gpt-4o" | "openai/gpt-5.3-chat-latest" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-3.5-turbo" | "openai/o1-pro" | "openai/gpt-5.5-pro" | "openai/gpt-4-turbo" | "openai/gpt-4" | "openai/gpt-5.6-sol" | "openai/o3-pro" | "openai/gpt-5.4-pro" | "openai/gpt-5" | "openai/gpt-5.6" | "openai/gpt-5-mini" | "openai/gpt-5.6-luna" | "openai/gpt-5.3-codex" | "openai/gpt-5.3-codex-spark" | "openai/gpt-4.1-nano" | "openai/o1" | "openai/gpt-5.2" | "openai/gpt-5.4-mini" | "openai/o3" | "openai/gpt-5-pro" | "openai/gpt-5.5" | "openai/gpt-4.1" | "openai/gpt-5.6-terra" | "openai/o4-mini" | "openai/gpt-5.4" | "openai/o3-mini" | "openai/gpt-5.2-chat-latest" | "openai/gpt-5.2-pro" | "openai/gpt-4.1-mini" | "openai/gpt-5.4-nano" | "openai/gpt-5.1" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "workers-ai/@cf/google/gemma-4-26b-a4b-it" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/moonshotai/kimi-k2.7-code" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/zai-org/glm-5.2" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.6" | "Claude Sonnet 4.5 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6" | "Claude Opus 5" | "GPT-4o" | "GPT-5.3 Chat (latest)" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-3.5-turbo" | "o1-pro" | "GPT-5.5 Pro" | "GPT-4 Turbo" | "GPT-4" | "GPT-5.6 Sol" | "o3-pro" | "GPT-5.4 Pro" | "GPT-5" | "GPT-5.6" | "GPT-5 Mini" | "GPT-5.6 Luna" | "GPT-5.3 Codex" | "GPT-5.3 Codex Spark" | "GPT-4.1 nano" | "o1" | "GPT-5.2" | "GPT-5.4 mini" | "o3" | "GPT-5 Pro" | "GPT-5.5" | "GPT-4.1" | "GPT-5.6 Terra" | "o4-mini" | "GPT-5.4" | "o3-mini" | "GPT-5.2 Chat" | "GPT-5.2 Pro" | "GPT-4.1 mini" | "GPT-5.4 nano" | "GPT-5.1" | "Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
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="
|
|
3
|
-
export type ModelName="
|
|
2
|
+
export type ModelId="anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-opus-5" | "openai/gpt-4o" | "openai/gpt-5.3-chat-latest" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-3.5-turbo" | "openai/o1-pro" | "openai/gpt-5.5-pro" | "openai/gpt-4-turbo" | "openai/gpt-4" | "openai/gpt-5.6-sol" | "openai/o3-pro" | "openai/gpt-5.4-pro" | "openai/gpt-5" | "openai/gpt-5.6" | "openai/gpt-5-mini" | "openai/gpt-5.6-luna" | "openai/gpt-5.3-codex" | "openai/gpt-5.3-codex-spark" | "openai/gpt-4.1-nano" | "openai/o1" | "openai/gpt-5.2" | "openai/gpt-5.4-mini" | "openai/o3" | "openai/gpt-5-pro" | "openai/gpt-5.5" | "openai/gpt-4.1" | "openai/gpt-5.6-terra" | "openai/o4-mini" | "openai/gpt-5.4" | "openai/o3-mini" | "openai/gpt-5.2-chat-latest" | "openai/gpt-5.2-pro" | "openai/gpt-4.1-mini" | "openai/gpt-5.4-nano" | "openai/gpt-5.1" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "workers-ai/@cf/google/gemma-4-26b-a4b-it" | "workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8" | "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "workers-ai/@cf/meta/llama-3.2-3b-instruct" | "workers-ai/@cf/meta/llama-guard-3-8b" | "workers-ai/@cf/meta/llama-3.2-1b-instruct" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/meta/llama-3.2-11b-vision-instruct" | "workers-ai/@cf/moonshotai/kimi-k2.7-code" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/openai/gpt-oss-120b" | "workers-ai/@cf/openai/gpt-oss-20b" | "workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8" | "workers-ai/@cf/qwen/qwq-32b" | "workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct" | "workers-ai/@cf/zai-org/glm-5.2" | "workers-ai/@cf/zai-org/glm-4.7-flash" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "workers-ai/@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
+
export type ModelName="Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.6" | "Claude Sonnet 4.5 (latest)" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6" | "Claude Opus 5" | "GPT-4o" | "GPT-5.3 Chat (latest)" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-3.5-turbo" | "o1-pro" | "GPT-5.5 Pro" | "GPT-4 Turbo" | "GPT-4" | "GPT-5.6 Sol" | "o3-pro" | "GPT-5.4 Pro" | "GPT-5" | "GPT-5.6" | "GPT-5 Mini" | "GPT-5.6 Luna" | "GPT-5.3 Codex" | "GPT-5.3 Codex Spark" | "GPT-4.1 nano" | "o1" | "GPT-5.2" | "GPT-5.4 mini" | "o3" | "GPT-5 Pro" | "GPT-5.5" | "GPT-4.1" | "GPT-5.6 Terra" | "o4-mini" | "GPT-5.4" | "o3-mini" | "GPT-5.2 Chat" | "GPT-5.2 Pro" | "GPT-4.1 mini" | "GPT-5.4 nano" | "GPT-5.1" | "Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
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="@cf/nvidia/nemotron-3-120b-a12b" | "@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.2-3b-instruct" | "@cf/meta/llama-guard-3-8b" | "@cf/meta/llama-3.2-1b-instruct" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/meta/llama-3.2-11b-vision-instruct" | "@cf/moonshotai/kimi-k2.7-code" | "@cf/moonshotai/kimi-k2.6" | "@cf/openai/gpt-oss-120b" | "@cf/openai/gpt-oss-20b" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/qwen/qwq-32b" | "@cf/qwen/qwen2.5-coder-32b-instruct" | "@cf/zai-org/glm-5.2" | "@cf/zai-org/glm-4.7-flash" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
-
export type ModelName="Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
2
|
+
export type ModelId="@cf/nvidia/nemotron-3-120b-a12b" | "@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.2-3b-instruct" | "@cf/meta/llama-guard-3-8b" | "@cf/meta/llama-3.2-1b-instruct" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/meta/llama-3.2-11b-vision-instruct" | "@cf/moonshotai/kimi-k2.7-code" | "@cf/moonshotai/kimi-k2.6" | "@cf/openai/gpt-oss-120b" | "@cf/openai/gpt-oss-20b" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/deepseek-ai/deepseek-v4-pro-0813" | "@cf/deepseek-ai/deepseek-v4-flash-0731" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/qwen/qwq-32b" | "@cf/qwen/qwen2.5-coder-32b-instruct" | "@cf/zai-org/glm-5.2" | "@cf/zai-org/glm-4.7-flash" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
+
export type ModelName="Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "DeepSeek V4 Pro 0813" | "DeepSeek V4 Flash 0731" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
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="@cf/nvidia/nemotron-3-120b-a12b" | "@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.2-3b-instruct" | "@cf/meta/llama-guard-3-8b" | "@cf/meta/llama-3.2-1b-instruct" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/meta/llama-3.2-11b-vision-instruct" | "@cf/moonshotai/kimi-k2.7-code" | "@cf/moonshotai/kimi-k2.6" | "@cf/openai/gpt-oss-120b" | "@cf/openai/gpt-oss-20b" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/qwen/qwq-32b" | "@cf/qwen/qwen2.5-coder-32b-instruct" | "@cf/zai-org/glm-5.2" | "@cf/zai-org/glm-4.7-flash" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
-
export type ModelName="Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
2
|
+
export type ModelId="@cf/nvidia/nemotron-3-120b-a12b" | "@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "@cf/google/gemma-4-26b-a4b-it" | "@cf/meta/llama-3.1-8b-instruct-fp8" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/meta/llama-3.2-3b-instruct" | "@cf/meta/llama-guard-3-8b" | "@cf/meta/llama-3.2-1b-instruct" | "@cf/meta/llama-4-scout-17b-16e-instruct" | "@cf/meta/llama-3.2-11b-vision-instruct" | "@cf/moonshotai/kimi-k2.7-code" | "@cf/moonshotai/kimi-k2.6" | "@cf/openai/gpt-oss-120b" | "@cf/openai/gpt-oss-20b" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@cf/deepseek-ai/deepseek-v4-pro-0813" | "@cf/deepseek-ai/deepseek-v4-flash-0731" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/qwen/qwq-32b" | "@cf/qwen/qwen2.5-coder-32b-instruct" | "@cf/zai-org/glm-5.2" | "@cf/zai-org/glm-4.7-flash" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/ibm-granite/granite-4.0-h-micro";
|
|
3
|
+
export type ModelName="Nemotron 3 Super 120B" | "Gemma Sea Lion V4 27B It" | "Gemma 4 26B A4B IT" | "Llama 3.1 8B Instruct fp8" | "Llama 3.3 70B Instruct fp8 Fast" | "Llama 3.2 3B Instruct" | "Llama Guard 3 8B" | "Llama 3.2 1B Instruct" | "Llama 4 Scout 17B 16E Instruct" | "Llama 3.2 11B Vision Instruct" | "Kimi K2.7 Code" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "Deepseek R1 Distill Qwen 32B" | "DeepSeek V4 Pro 0813" | "DeepSeek V4 Flash 0731" | "Qwen3 30B A3b fp8" | "Qwq 32B" | "Qwen2.5 Coder 32B Instruct" | "Glm 5.2" | "GLM-4.7-Flash" | "Mistral Small 3.1 24B Instruct" | "Granite 4.0 H Micro";
|
|
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-4-6-sonnet" | "nova-pro-v1" | "claude-opus4-8" | "gpt-4o" | "qwen2.5-vl-72b-instruct" | "kimi-k2.7-code" | "gemma-4-26b-a4b-it" | "qwen3guard-gen-8b" | "qwen3-coder-30b-a3b-instruct" | "gpt-5-nano" | "gpt-4o-mini" | "kimi-k3" | "claude-opus4-5" | "qwen3guard-gen-0.6b" | "glm-5v-turbo" | "glm-4.7" | "mistral-medium-2508" | "qwen3-32b" | "mistral-small-3.2-24b-instruct-2506" | "gemini-3.5-flash-lite" | "voxtral-small-2507" | "gpt-5.6-sol" | "llama-3.3-70b-instruct" | "qwen3.5-397b-a17b" | "llama-3.1-405b-instruct" | "gpt-5" | "ministral-8b-2512" | "deepseek-v4-pro" | "qwen3-coder-next" | "claude-sonnet-5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "deepseek-v3.2" | "gpt-5-mini" | "deepseek-r1-0528" | "gpt-5.6-luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "gemma-4-31b-it" | "glm-5" | "minimax-m3" | "cosmos3-super-reasoner" | "apertus-70b" | "minimax-m2.7" | "claude-sonnet-4" | "qwen3-30b-a3b-instruct-2507" | "devstral-2512" | "gpt-oss-120b" | "gpt-4.1-nano" | "mistral-7b-instruct-v0.3" | "llama-3.1-8b-instruct" | "mistral-small-2603" | "hermes-4-70b" | "gemini-3.5-flash" | "glm-5-turbo" | "gemini-3.1-flash-lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "gemini-2.5-flash" | "qwen3-next-80b-a3b-thinking" | "hermes-4-405b" | "mistral-large-2512" | "kimi-k2.5" | "minimax-m2" | "glm-5.2" | "claude-opus4-6" | "llama-3.1-nemotron-ultra-253b-v1" | "gpt-4.1" | "minimax-m2.5" | "gpt-5.6-terra" | "ministral-3b-2512" | "claude-4-5-sonnet" | "qwen3.6-35b-a3b" | "qwen3-235b-a22b-instruct-2507" | "qwen3.6-27b" | "gpt-5.4" | "gpt-oss-safeguard-120b" | "claude-opus4-7" | "qwen3.5-9b" | "nova-lite-v1" | "ministral-14b-2512" | "glm-5.1" | "mixtral-8x7B-instruct-v0.1" | "nemotron-nano-v2-12b" | "claude-haiku-4-5" | "codestral-2508" | "qwen3.5-122b-a10b" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "claude-opus-5" | "gemini-2.5-pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "deepseek-v4-flash-0731" | "gpt-4.1-mini" | "glm-4.7-flash" | "gpt-oss-20b" | "minimax-m2.1" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
-
export type ModelName="Claude Sonnet 4.6" | "Nova Pro 1.0" | "Claude Opus 4.8" | "GPT-4o" | "qwen2.5-vl-72b-instruct" | "Kimi K2.7 Code" | "Gemma 4 26B A4B IT" | "qwen3guard-gen-8b" | "Qwen3-Coder 30B-A3B Instruct" | "GPT-5 Nano" | "GPT-4o mini" | "Kimi K3" | "Claude Opus 4.5 (latest)" | "qwen3guard-gen-0.6b" | "GLM-5V-Turbo" | "GLM-4.7" | "mistral-medium-2508" | "Qwen3 32B" | "mistral-small-3.2-24b-instruct-2506" | "Gemini 3.5 Flash Lite" | "voxtral-small-2507" | "GPT-5.6 Sol" | "Llama-3.3-70B-Instruct" | "Qwen3.5 397B-A17B" | "Llama 3.1 405B Instruct" | "GPT-5" | "ministral-8b-2512" | "DeepSeek V4 Pro" | "Qwen3 Coder Next" | "Claude Sonnet 5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "DeepSeek V3.2" | "GPT-5 Mini" | "DeepSeek R1 0528" | "GPT-5.6 Luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "Gemma 4 31B IT" | "GLM-5" | "MiniMax-M3" | "cosmos3-super-reasoner" | "Apertus 70B" | "MiniMax-M2.7" | "Claude Sonnet 4 (latest)" | "qwen3-30b-a3b-instruct-2507" | "Devstral 2" | "GPT OSS 120B" | "GPT-4.1 nano" | "mistral-7b-instruct-v0.3" | "
|
|
2
|
+
export type ModelId="claude-4-6-sonnet" | "nova-pro-v1" | "claude-opus4-8" | "gpt-4o" | "qwen2.5-vl-72b-instruct" | "kimi-k2.7-code" | "gemma-4-26b-a4b-it" | "qwen3guard-gen-8b" | "qwen3-coder-30b-a3b-instruct" | "gpt-5-nano" | "gpt-4o-mini" | "kimi-k3" | "claude-opus4-5" | "qwen3guard-gen-0.6b" | "glm-5v-turbo" | "glm-4.7" | "mistral-medium-2508" | "qwen3-32b" | "mistral-small-3.2-24b-instruct-2506" | "gemini-3.5-flash-lite" | "voxtral-small-2507" | "gpt-5.6-sol" | "llama-3.3-70b-instruct" | "qwen3.5-397b-a17b" | "llama-3.1-405b-instruct" | "gpt-5" | "ministral-8b-2512" | "deepseek-v4-pro" | "qwen3-coder-next" | "claude-sonnet-5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "deepseek-v3.2" | "gpt-5-mini" | "deepseek-r1-0528" | "gpt-5.6-luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "gemma-4-31b-it" | "glm-5" | "minimax-m3" | "cosmos3-super-reasoner" | "apertus-70b" | "minimax-m2.7" | "claude-sonnet-4" | "qwen3-30b-a3b-instruct-2507" | "devstral-2512" | "gpt-oss-120b" | "gpt-4.1-nano" | "mistral-7b-instruct-v0.3" | "llama-3.1-8b-instruct" | "mistral-small-2603" | "hermes-4-70b" | "gemini-3.5-flash" | "glm-5-turbo" | "gemini-3.1-flash-lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "gemini-2.5-flash" | "qwen3-next-80b-a3b-thinking" | "hermes-4-405b" | "mistral-large-2512" | "kimi-k2.5" | "minimax-m2" | "glm-5.2" | "claude-opus4-6" | "llama-3.1-nemotron-ultra-253b-v1" | "gpt-4.1" | "minimax-m2.5" | "gemini-3.6-flash" | "gpt-5.6-terra" | "ministral-3b-2512" | "claude-4-5-sonnet" | "qwen3.6-35b-a3b" | "qwen3-235b-a22b-instruct-2507" | "qwen3.6-27b" | "gpt-5.4" | "gpt-oss-safeguard-120b" | "claude-opus4-7" | "qwen3.5-9b" | "nova-lite-v1" | "ministral-14b-2512" | "glm-5.1" | "mixtral-8x7B-instruct-v0.1" | "nemotron-nano-v2-12b" | "claude-haiku-4-5" | "codestral-2508" | "qwen3.5-122b-a10b" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "claude-opus-5" | "gemini-2.5-pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "deepseek-v4-flash-0731" | "gpt-4.1-mini" | "glm-4.7-flash" | "gpt-oss-20b" | "minimax-m2.1" | "gemini-3.7-flash" | "kimi-k2.6" | "qwen3.8-2.4t-a95b" | "gpt-5.1";
|
|
3
|
+
export type ModelName="Claude Sonnet 4.6" | "Nova Pro 1.0" | "Claude Opus 4.8" | "GPT-4o" | "qwen2.5-vl-72b-instruct" | "Kimi K2.7 Code" | "Gemma 4 26B A4B IT" | "qwen3guard-gen-8b" | "Qwen3-Coder 30B-A3B Instruct" | "GPT-5 Nano" | "GPT-4o mini" | "Kimi K3" | "Claude Opus 4.5 (latest)" | "qwen3guard-gen-0.6b" | "GLM-5V-Turbo" | "GLM-4.7" | "mistral-medium-2508" | "Qwen3 32B" | "mistral-small-3.2-24b-instruct-2506" | "Gemini 3.5 Flash Lite" | "voxtral-small-2507" | "GPT-5.6 Sol" | "Llama-3.3-70B-Instruct" | "Qwen3.5 397B-A17B" | "Llama 3.1 405B Instruct" | "GPT-5" | "ministral-8b-2512" | "DeepSeek V4 Pro" | "Qwen3 Coder Next" | "Claude Sonnet 5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "DeepSeek V3.2" | "GPT-5 Mini" | "DeepSeek R1 0528" | "GPT-5.6 Luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "Gemma 4 31B IT" | "GLM-5" | "MiniMax-M3" | "cosmos3-super-reasoner" | "Apertus 70B" | "MiniMax-M2.7" | "Claude Sonnet 4 (latest)" | "qwen3-30b-a3b-instruct-2507" | "Devstral 2" | "GPT OSS 120B" | "GPT-4.1 nano" | "mistral-7b-instruct-v0.3" | "Llama-3.1-8B-Instruct" | "Mistral Small 4" | "Hermes 4 70B" | "Gemini 3.5 Flash" | "GLM-5-Turbo" | "Gemini 3.1 Flash Lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "Gemini 2.5 Flash" | "Qwen3-Next 80B-A3B (Thinking)" | "hermes-4-405b" | "Mistral Large 3" | "Kimi K2.5" | "MiniMax-M2" | "GLM-5.2" | "Claude Opus 4.6" | "llama-3.1-nemotron-ultra-253b-v1" | "GPT-4.1" | "MiniMax-M2.5" | "Gemini 3.6 Flash" | "GPT-5.6 Terra" | "ministral-3b-2512" | "Claude Sonnet 4.5 (latest)" | "Qwen3.6 35B-A3B" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "GPT-5.4" | "GPT OSS Safeguard 120B" | "Claude Opus 4.7" | "Qwen3.5 9B" | "nova-lite-v1" | "ministral-14b-2512" | "GLM-5.1" | "Mixtral 8x7B Instruct v0.1" | "nemotron-nano-v2-12b" | "Claude Haiku 4.5 (latest)" | "Codestral 2508" | "Qwen3.5 122B-A10B" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "Claude Opus 5" | "Gemini 2.5 Pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "DeepSeek V4 Flash 0731" | "GPT-4.1 mini" | "GLM-4.7-Flash" | "GPT OSS 20B" | "MiniMax-M2.1" | "Gemini 3.7 Flash" | "Kimi K2.6" | "qwen3.8-2.4t-a95b" | "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="claude-4-6-sonnet" | "nova-pro-v1" | "claude-opus4-8" | "gpt-4o" | "qwen2.5-vl-72b-instruct" | "kimi-k2.7-code" | "gemma-4-26b-a4b-it" | "qwen3guard-gen-8b" | "qwen3-coder-30b-a3b-instruct" | "gpt-5-nano" | "gpt-4o-mini" | "kimi-k3" | "claude-opus4-5" | "qwen3guard-gen-0.6b" | "glm-5v-turbo" | "glm-4.7" | "mistral-medium-2508" | "qwen3-32b" | "mistral-small-3.2-24b-instruct-2506" | "gemini-3.5-flash-lite" | "voxtral-small-2507" | "gpt-5.6-sol" | "llama-3.3-70b-instruct" | "qwen3.5-397b-a17b" | "llama-3.1-405b-instruct" | "gpt-5" | "ministral-8b-2512" | "deepseek-v4-pro" | "qwen3-coder-next" | "claude-sonnet-5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "deepseek-v3.2" | "gpt-5-mini" | "deepseek-r1-0528" | "gpt-5.6-luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "gemma-4-31b-it" | "glm-5" | "minimax-m3" | "cosmos3-super-reasoner" | "apertus-70b" | "minimax-m2.7" | "claude-sonnet-4" | "qwen3-30b-a3b-instruct-2507" | "devstral-2512" | "gpt-oss-120b" | "gpt-4.1-nano" | "mistral-7b-instruct-v0.3" | "llama-3.1-8b-instruct" | "mistral-small-2603" | "hermes-4-70b" | "gemini-3.5-flash" | "glm-5-turbo" | "gemini-3.1-flash-lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "gemini-2.5-flash" | "qwen3-next-80b-a3b-thinking" | "hermes-4-405b" | "mistral-large-2512" | "kimi-k2.5" | "minimax-m2" | "glm-5.2" | "claude-opus4-6" | "llama-3.1-nemotron-ultra-253b-v1" | "gpt-4.1" | "minimax-m2.5" | "gpt-5.6-terra" | "ministral-3b-2512" | "claude-4-5-sonnet" | "qwen3.6-35b-a3b" | "qwen3-235b-a22b-instruct-2507" | "qwen3.6-27b" | "gpt-5.4" | "gpt-oss-safeguard-120b" | "claude-opus4-7" | "qwen3.5-9b" | "nova-lite-v1" | "ministral-14b-2512" | "glm-5.1" | "mixtral-8x7B-instruct-v0.1" | "nemotron-nano-v2-12b" | "claude-haiku-4-5" | "codestral-2508" | "qwen3.5-122b-a10b" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "claude-opus-5" | "gemini-2.5-pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "deepseek-v4-flash-0731" | "gpt-4.1-mini" | "glm-4.7-flash" | "gpt-oss-20b" | "minimax-m2.1" | "kimi-k2.6" | "gpt-5.1";
|
|
3
|
-
export type ModelName="Claude Sonnet 4.6" | "Nova Pro 1.0" | "Claude Opus 4.8" | "GPT-4o" | "qwen2.5-vl-72b-instruct" | "Kimi K2.7 Code" | "Gemma 4 26B A4B IT" | "qwen3guard-gen-8b" | "Qwen3-Coder 30B-A3B Instruct" | "GPT-5 Nano" | "GPT-4o mini" | "Kimi K3" | "Claude Opus 4.5 (latest)" | "qwen3guard-gen-0.6b" | "GLM-5V-Turbo" | "GLM-4.7" | "mistral-medium-2508" | "Qwen3 32B" | "mistral-small-3.2-24b-instruct-2506" | "Gemini 3.5 Flash Lite" | "voxtral-small-2507" | "GPT-5.6 Sol" | "Llama-3.3-70B-Instruct" | "Qwen3.5 397B-A17B" | "Llama 3.1 405B Instruct" | "GPT-5" | "ministral-8b-2512" | "DeepSeek V4 Pro" | "Qwen3 Coder Next" | "Claude Sonnet 5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "DeepSeek V3.2" | "GPT-5 Mini" | "DeepSeek R1 0528" | "GPT-5.6 Luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "Gemma 4 31B IT" | "GLM-5" | "MiniMax-M3" | "cosmos3-super-reasoner" | "Apertus 70B" | "MiniMax-M2.7" | "Claude Sonnet 4 (latest)" | "qwen3-30b-a3b-instruct-2507" | "Devstral 2" | "GPT OSS 120B" | "GPT-4.1 nano" | "mistral-7b-instruct-v0.3" | "
|
|
2
|
+
export type ModelId="claude-4-6-sonnet" | "nova-pro-v1" | "claude-opus4-8" | "gpt-4o" | "qwen2.5-vl-72b-instruct" | "kimi-k2.7-code" | "gemma-4-26b-a4b-it" | "qwen3guard-gen-8b" | "qwen3-coder-30b-a3b-instruct" | "gpt-5-nano" | "gpt-4o-mini" | "kimi-k3" | "claude-opus4-5" | "qwen3guard-gen-0.6b" | "glm-5v-turbo" | "glm-4.7" | "mistral-medium-2508" | "qwen3-32b" | "mistral-small-3.2-24b-instruct-2506" | "gemini-3.5-flash-lite" | "voxtral-small-2507" | "gpt-5.6-sol" | "llama-3.3-70b-instruct" | "qwen3.5-397b-a17b" | "llama-3.1-405b-instruct" | "gpt-5" | "ministral-8b-2512" | "deepseek-v4-pro" | "qwen3-coder-next" | "claude-sonnet-5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "deepseek-v3.2" | "gpt-5-mini" | "deepseek-r1-0528" | "gpt-5.6-luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "gemma-4-31b-it" | "glm-5" | "minimax-m3" | "cosmos3-super-reasoner" | "apertus-70b" | "minimax-m2.7" | "claude-sonnet-4" | "qwen3-30b-a3b-instruct-2507" | "devstral-2512" | "gpt-oss-120b" | "gpt-4.1-nano" | "mistral-7b-instruct-v0.3" | "llama-3.1-8b-instruct" | "mistral-small-2603" | "hermes-4-70b" | "gemini-3.5-flash" | "glm-5-turbo" | "gemini-3.1-flash-lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "gemini-2.5-flash" | "qwen3-next-80b-a3b-thinking" | "hermes-4-405b" | "mistral-large-2512" | "kimi-k2.5" | "minimax-m2" | "glm-5.2" | "claude-opus4-6" | "llama-3.1-nemotron-ultra-253b-v1" | "gpt-4.1" | "minimax-m2.5" | "gemini-3.6-flash" | "gpt-5.6-terra" | "ministral-3b-2512" | "claude-4-5-sonnet" | "qwen3.6-35b-a3b" | "qwen3-235b-a22b-instruct-2507" | "qwen3.6-27b" | "gpt-5.4" | "gpt-oss-safeguard-120b" | "claude-opus4-7" | "qwen3.5-9b" | "nova-lite-v1" | "ministral-14b-2512" | "glm-5.1" | "mixtral-8x7B-instruct-v0.1" | "nemotron-nano-v2-12b" | "claude-haiku-4-5" | "codestral-2508" | "qwen3.5-122b-a10b" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "claude-opus-5" | "gemini-2.5-pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "deepseek-v4-flash-0731" | "gpt-4.1-mini" | "glm-4.7-flash" | "gpt-oss-20b" | "minimax-m2.1" | "gemini-3.7-flash" | "kimi-k2.6" | "qwen3.8-2.4t-a95b" | "gpt-5.1";
|
|
3
|
+
export type ModelName="Claude Sonnet 4.6" | "Nova Pro 1.0" | "Claude Opus 4.8" | "GPT-4o" | "qwen2.5-vl-72b-instruct" | "Kimi K2.7 Code" | "Gemma 4 26B A4B IT" | "qwen3guard-gen-8b" | "Qwen3-Coder 30B-A3B Instruct" | "GPT-5 Nano" | "GPT-4o mini" | "Kimi K3" | "Claude Opus 4.5 (latest)" | "qwen3guard-gen-0.6b" | "GLM-5V-Turbo" | "GLM-4.7" | "mistral-medium-2508" | "Qwen3 32B" | "mistral-small-3.2-24b-instruct-2506" | "Gemini 3.5 Flash Lite" | "voxtral-small-2507" | "GPT-5.6 Sol" | "Llama-3.3-70B-Instruct" | "Qwen3.5 397B-A17B" | "Llama 3.1 405B Instruct" | "GPT-5" | "ministral-8b-2512" | "DeepSeek V4 Pro" | "Qwen3 Coder Next" | "Claude Sonnet 5" | "nova-2-lite" | "mistral-nemo-instruct-2407" | "DeepSeek V3.2" | "GPT-5 Mini" | "DeepSeek R1 0528" | "GPT-5.6 Luna" | "nova-micro-v1" | "nvidia-nemotron-3-nano-omni" | "Gemma 4 31B IT" | "GLM-5" | "MiniMax-M3" | "cosmos3-super-reasoner" | "Apertus 70B" | "MiniMax-M2.7" | "Claude Sonnet 4 (latest)" | "qwen3-30b-a3b-instruct-2507" | "Devstral 2" | "GPT OSS 120B" | "GPT-4.1 nano" | "mistral-7b-instruct-v0.3" | "Llama-3.1-8B-Instruct" | "Mistral Small 4" | "Hermes 4 70B" | "Gemini 3.5 Flash" | "GLM-5-Turbo" | "Gemini 3.1 Flash Lite" | "gemma-3-27b-it" | "qwen3-vl-235b-a22b" | "minicpm-v-4.5" | "Gemini 2.5 Flash" | "Qwen3-Next 80B-A3B (Thinking)" | "hermes-4-405b" | "Mistral Large 3" | "Kimi K2.5" | "MiniMax-M2" | "GLM-5.2" | "Claude Opus 4.6" | "llama-3.1-nemotron-ultra-253b-v1" | "GPT-4.1" | "MiniMax-M2.5" | "Gemini 3.6 Flash" | "GPT-5.6 Terra" | "ministral-3b-2512" | "Claude Sonnet 4.5 (latest)" | "Qwen3.6 35B-A3B" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "GPT-5.4" | "GPT OSS Safeguard 120B" | "Claude Opus 4.7" | "Qwen3.5 9B" | "nova-lite-v1" | "ministral-14b-2512" | "GLM-5.1" | "Mixtral 8x7B Instruct v0.1" | "nemotron-nano-v2-12b" | "Claude Haiku 4.5 (latest)" | "Codestral 2508" | "Qwen3.5 122B-A10B" | "pixtral-12b-2409" | "mistral-medium-3.5" | "mistral-7b-instruct-v0.2" | "Claude Opus 5" | "Gemini 2.5 Pro" | "pixtral-large-2502" | "mistral-large-2402" | "mistral-small-2503" | "nvidia-nemotron-3-nano-30b-a3b" | "DeepSeek V4 Flash 0731" | "GPT-4.1 mini" | "GLM-4.7-Flash" | "GPT OSS 20B" | "MiniMax-M2.1" | "Gemini 3.7 Flash" | "Kimi K2.6" | "qwen3.8-2.4t-a95b" | "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.mjs';
|
|
2
|
-
export type ModelId="tencent/hy3" | "z-ai/glm-4.7" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "z-ai/glm-5.2" | "z-ai/glm-5.1" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "x-ai/grok-4.3" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-5" | "openai/gpt-4o-mini" | "openai/gpt-5.5-pro" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-luna" | "openai/gpt-5.4-mini" | "openai/gpt-5.5" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-nano" | "qwen/qwen3.7-max" | "qwen/qwen3.8-max" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-flash" | "qwen/qwen3.6-plus" | "qwen/qwen3.6-flash" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k3" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-3.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.6-flash" | "gemini/gemini-3-flash-preview" | "gemini/gemini-2.5-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
-
export type ModelName="Hy3" | "GLM-4.7" | "GLM-5" | "GLM-5-Turbo" | "GLM-5.2" | "GLM-5.1" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "Grok 4.5" | "Grok Build 0.1" | "Grok 4.3" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Sonnet 4.6" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 5" | "GPT-4o mini" | "GPT-5.5 Pro" | "GPT-5.6 Sol" | "GPT-5.6 Luna" | "GPT-5.4 mini" | "GPT-5.5" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 nano" | "Qwen3.7 Max" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Qwen3.7 Flash" | "Qwen3.6 Plus" | "Qwen3.6 Flash" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 3.5 Flash Lite" | "Gemini 3.1 Pro Preview" | "Gemini 2.5 Flash-Lite" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash" | "Gemini 3.6 Flash" | "Gemini 3 Flash Preview" | "Gemini 2.5 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="tencent/hy3" | "z-ai/glm-4.7" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "z-ai/glm-5.2" | "z-ai/glm-5.1" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "x-ai/grok-4.6" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "x-ai/grok-4.3" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-5" | "openai/gpt-4o-mini" | "openai/gpt-5.5-pro" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-luna" | "openai/gpt-5.4-mini" | "openai/gpt-5.5" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-nano" | "qwen/qwen3.7-max" | "qwen/qwen3.8-max" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-flash" | "qwen/qwen3.6-plus" | "qwen/qwen3.6-flash" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k3" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-3.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.6-flash" | "gemini/gemini-3-flash-preview" | "gemini/gemini-2.5-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
+
export type ModelName="Hy3" | "GLM-4.7" | "GLM-5" | "GLM-5-Turbo" | "GLM-5.2" | "GLM-5.1" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "Grok 4.6" | "Grok 4.5" | "Grok Build 0.1" | "Grok 4.3" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Sonnet 4.6" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 5" | "GPT-4o mini" | "GPT-5.5 Pro" | "GPT-5.6 Sol" | "GPT-5.6 Luna" | "GPT-5.4 mini" | "GPT-5.5" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 nano" | "Qwen3.7 Max" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Qwen3.7 Flash" | "Qwen3.6 Plus" | "Qwen3.6 Flash" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 3.5 Flash Lite" | "Gemini 3.1 Pro Preview" | "Gemini 2.5 Flash-Lite" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash" | "Gemini 3.6 Flash" | "Gemini 3 Flash Preview" | "Gemini 2.5 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="tencent/hy3" | "z-ai/glm-4.7" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "z-ai/glm-5.2" | "z-ai/glm-5.1" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "x-ai/grok-4.3" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-5" | "openai/gpt-4o-mini" | "openai/gpt-5.5-pro" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-luna" | "openai/gpt-5.4-mini" | "openai/gpt-5.5" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-nano" | "qwen/qwen3.7-max" | "qwen/qwen3.8-max" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-flash" | "qwen/qwen3.6-plus" | "qwen/qwen3.6-flash" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k3" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-3.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.6-flash" | "gemini/gemini-3-flash-preview" | "gemini/gemini-2.5-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
-
export type ModelName="Hy3" | "GLM-4.7" | "GLM-5" | "GLM-5-Turbo" | "GLM-5.2" | "GLM-5.1" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "Grok 4.5" | "Grok Build 0.1" | "Grok 4.3" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Sonnet 4.6" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 5" | "GPT-4o mini" | "GPT-5.5 Pro" | "GPT-5.6 Sol" | "GPT-5.6 Luna" | "GPT-5.4 mini" | "GPT-5.5" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 nano" | "Qwen3.7 Max" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Qwen3.7 Flash" | "Qwen3.6 Plus" | "Qwen3.6 Flash" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 3.5 Flash Lite" | "Gemini 3.1 Pro Preview" | "Gemini 2.5 Flash-Lite" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash" | "Gemini 3.6 Flash" | "Gemini 3 Flash Preview" | "Gemini 2.5 Pro" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="tencent/hy3" | "z-ai/glm-4.7" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "z-ai/glm-5.2" | "z-ai/glm-5.1" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "x-ai/grok-4.6" | "x-ai/grok-4.5" | "x-ai/grok-build-0.1" | "x-ai/grok-4.3" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-fable-5" | "anthropic/claude-haiku-4-5" | "anthropic/claude-opus-5" | "openai/gpt-4o-mini" | "openai/gpt-5.5-pro" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-luna" | "openai/gpt-5.4-mini" | "openai/gpt-5.5" | "openai/gpt-5.6-terra" | "openai/gpt-5.4" | "openai/gpt-5.4-nano" | "qwen/qwen3.7-max" | "qwen/qwen3.8-max" | "qwen/qwen3.7-plus" | "qwen/qwen3.7-flash" | "qwen/qwen3.6-plus" | "qwen/qwen3.6-flash" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k3" | "moonshot/kimi-k2.5" | "moonshot/kimi-k2.6" | "gemini/gemini-3.5-flash-lite" | "gemini/gemini-3.1-pro-preview" | "gemini/gemini-2.5-flash-lite" | "gemini/gemini-3.5-flash" | "gemini/gemini-2.5-flash" | "gemini/gemini-3.6-flash" | "gemini/gemini-3-flash-preview" | "gemini/gemini-2.5-pro" | "minimax/minimax-m3" | "minimax/minimax-m2.7";
|
|
3
|
+
export type ModelName="Hy3" | "GLM-4.7" | "GLM-5" | "GLM-5-Turbo" | "GLM-5.2" | "GLM-5.1" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "Grok 4.6" | "Grok 4.5" | "Grok Build 0.1" | "Grok 4.3" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Sonnet 4.6" | "Claude Fable 5" | "Claude Haiku 4.5 (latest)" | "Claude Opus 5" | "GPT-4o mini" | "GPT-5.5 Pro" | "GPT-5.6 Sol" | "GPT-5.6 Luna" | "GPT-5.4 mini" | "GPT-5.5" | "GPT-5.6 Terra" | "GPT-5.4" | "GPT-5.4 nano" | "Qwen3.7 Max" | "Qwen3.8 Max" | "Qwen3.7 Plus" | "Qwen3.7 Flash" | "Qwen3.6 Plus" | "Qwen3.6 Flash" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.5" | "Kimi K2.6" | "Gemini 3.5 Flash Lite" | "Gemini 3.1 Pro Preview" | "Gemini 2.5 Flash-Lite" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash" | "Gemini 3.6 Flash" | "Gemini 3 Flash Preview" | "Gemini 2.5 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;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
+
export type ModelId="nvidia/Nemotron-3-Nano-Omni-Reasoning-30B-A3B" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.6" | "zai/GLM-5.1" | "zai/GLM-5.2" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V3-0324" | "meta-llama/Llama-3.3-70B-Instruct";
|
|
3
|
+
export type ModelName="Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 31B IT" | "Kimi K2.6" | "GLM-5.1" | "GLM-5.2" | "GPT OSS 120B" | "DeepSeek V3 0324" | "Llama-3.3-70B-Instruct";
|
|
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="nvidia/Nemotron-3-Nano-Omni-Reasoning-30B-A3B" | "google/gemma-4-31b-it" | "moonshotai/Kimi-K2.6" | "zai/GLM-5.1" | "zai/GLM-5.2" | "openai/gpt-oss-120b" | "deepseek-ai/DeepSeek-V3-0324" | "meta-llama/Llama-3.3-70B-Instruct";
|
|
3
|
+
export type ModelName="Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 31B IT" | "Kimi K2.6" | "GLM-5.1" | "GLM-5.2" | "GPT OSS 120B" | "DeepSeek V3 0324" | "Llama-3.3-70B-Instruct";
|
|
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="crusoe";
|
|
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="tencent/Hy3" | "XiaomiMiMo/MiMo-V2.5" | "XiaomiMiMo/MiMo-V2.5-Pro" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.5" | "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5" | "nvidia/Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning" | "google/gemma-4-26B-A4B-it" | "google/gemma-4-E4B-it" | "google/gemma-4-31B-it" | "ByteDance/Seed-2.0-code" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V4-Flash" | "stepfun-ai/Step-3.7-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3.8-Max" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-Max" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "zai-org/GLM-4.7-Flash" | "thinkingmachines/Inkling" | "thinkingmachines/Inkling-Small" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "meta-llama/Llama-4-Scout-17B-16E-Instruct";
|
|
3
|
-
export type ModelName="Hy3" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "MiniMax M2.5" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Nano 30B A3B" | "Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 26B A4B IT" | "Gemma 4 E4B IT" | "Gemma 4 31B IT" | "Seed 2.0 Code" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "DeepSeek V4 Pro" | "DeepSeek V4 Flash 0731" | "DeepSeek-V3.2" | "DeepSeek-R1-0528" | "DeepSeek-V3.1" | "DeepSeek-V3" | "DeepSeek V4 Flash" | "Step 3.7 Flash" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "Qwen3.5 9B" | "Qwen3 Coder 480B A35B Instruct Turbo" | "Qwen3.5 122B-A10B" | "Qwen3 32B" | "Qwen3.8 Max" | "Qwen3.7 Max" | "Qwen3.5 27B" | "Qwen 3.5 35B A3B" | "Qwen3 Max" | "Qwen 3.5 397B A17B" | "Qwen3.6 35B A3B" | "Qwen3-Next 80B-A3B Instruct" | "GLM-5.1" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "GLM-4.7-Flash" | "Inkling" | "Inkling Small" | "Llama 4 Maverick 17B FP8" | "Llama 3.3 70B Turbo" | "Llama 4 Scout 17B";
|
|
2
|
+
export type ModelId="tencent/Hy3" | "XiaomiMiMo/MiMo-V2.5" | "XiaomiMiMo/MiMo-V2.5-Pro" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.5" | "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5" | "nvidia/Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning" | "google/gemma-4-26B-A4B-it" | "google/gemma-4-E4B-it" | "google/gemma-4-31B-it" | "ByteDance/Seed-2.0-code" | "ByteDance/Seed-2.0-pro" | "ByteDance/Seed-2.0-mini" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3-0324" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V4-Flash" | "stepfun-ai/Step-3.7-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3.8-Max" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-Max" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "zai-org/GLM-4.7-Flash" | "thinkingmachines/Inkling" | "thinkingmachines/Inkling-Small" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "meta-llama/Llama-4-Scout-17B-16E-Instruct";
|
|
3
|
+
export type ModelName="Hy3" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "MiniMax M2.5" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Nano 30B A3B" | "Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 26B A4B IT" | "Gemma 4 E4B IT" | "Gemma 4 31B IT" | "Seed 2.0 Code" | "Seed 2.0 Pro" | "Seed 2.0 Mini" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "DeepSeek V4 Pro" | "DeepSeek V4 Flash 0731" | "DeepSeek-V3.2" | "DeepSeek-R1-0528" | "DeepSeek-V3.1" | "DeepSeek V3 0324" | "DeepSeek-V3" | "DeepSeek V4 Flash" | "Step 3.7 Flash" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "Qwen3.5 9B" | "Qwen3 Coder 480B A35B Instruct Turbo" | "Qwen3.5 122B-A10B" | "Qwen3 32B" | "Qwen3.8 Max" | "Qwen3.7 Max" | "Qwen3.5 27B" | "Qwen 3.5 35B A3B" | "Qwen3 Max" | "Qwen3 30B A3B" | "Qwen 3.5 397B A17B" | "Qwen3.6 35B A3B" | "Qwen3-Next 80B-A3B Instruct" | "GLM-5.1" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "GLM-4.7-Flash" | "Inkling" | "Inkling Small" | "Llama 4 Maverick 17B FP8" | "Llama 3.3 70B Turbo" | "Llama 4 Scout 17B";
|
|
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="tencent/Hy3" | "XiaomiMiMo/MiMo-V2.5" | "XiaomiMiMo/MiMo-V2.5-Pro" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.5" | "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5" | "nvidia/Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning" | "google/gemma-4-26B-A4B-it" | "google/gemma-4-E4B-it" | "google/gemma-4-31B-it" | "ByteDance/Seed-2.0-code" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V4-Flash" | "stepfun-ai/Step-3.7-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3.8-Max" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-Max" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "zai-org/GLM-4.7-Flash" | "thinkingmachines/Inkling" | "thinkingmachines/Inkling-Small" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "meta-llama/Llama-4-Scout-17B-16E-Instruct";
|
|
3
|
-
export type ModelName="Hy3" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "MiniMax M2.5" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Nano 30B A3B" | "Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 26B A4B IT" | "Gemma 4 E4B IT" | "Gemma 4 31B IT" | "Seed 2.0 Code" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "DeepSeek V4 Pro" | "DeepSeek V4 Flash 0731" | "DeepSeek-V3.2" | "DeepSeek-R1-0528" | "DeepSeek-V3.1" | "DeepSeek-V3" | "DeepSeek V4 Flash" | "Step 3.7 Flash" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "Qwen3.5 9B" | "Qwen3 Coder 480B A35B Instruct Turbo" | "Qwen3.5 122B-A10B" | "Qwen3 32B" | "Qwen3.8 Max" | "Qwen3.7 Max" | "Qwen3.5 27B" | "Qwen 3.5 35B A3B" | "Qwen3 Max" | "Qwen 3.5 397B A17B" | "Qwen3.6 35B A3B" | "Qwen3-Next 80B-A3B Instruct" | "GLM-5.1" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "GLM-4.7-Flash" | "Inkling" | "Inkling Small" | "Llama 4 Maverick 17B FP8" | "Llama 3.3 70B Turbo" | "Llama 4 Scout 17B";
|
|
2
|
+
export type ModelId="tencent/Hy3" | "XiaomiMiMo/MiMo-V2.5" | "XiaomiMiMo/MiMo-V2.5-Pro" | "MiniMaxAI/MiniMax-M2.7" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.5" | "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5" | "nvidia/Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning" | "google/gemma-4-26B-A4B-it" | "google/gemma-4-E4B-it" | "google/gemma-4-31B-it" | "ByteDance/Seed-2.0-code" | "ByteDance/Seed-2.0-pro" | "ByteDance/Seed-2.0-mini" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "moonshotai/Kimi-K3" | "moonshotai/Kimi-K2.6" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V4-Flash-0731" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3-0324" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V4-Flash" | "stepfun-ai/Step-3.7-Flash" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3.6-27B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3.8-Max" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-Max" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "zai-org/GLM-5.1" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.2" | "zai-org/GLM-4.7-Flash" | "thinkingmachines/Inkling" | "thinkingmachines/Inkling-Small" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "meta-llama/Llama-4-Scout-17B-16E-Instruct";
|
|
3
|
+
export type ModelName="Hy3" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "MiniMax M2.5" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Nano 30B A3B" | "Nemotron 3 Nano Omni 30B A3B Reasoning" | "Gemma 4 26B A4B IT" | "Gemma 4 E4B IT" | "Gemma 4 31B IT" | "Seed 2.0 Code" | "Seed 2.0 Pro" | "Seed 2.0 Mini" | "Kimi K2.5" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT OSS 120B" | "GPT OSS 20B" | "DeepSeek V4 Pro" | "DeepSeek V4 Flash 0731" | "DeepSeek-V3.2" | "DeepSeek-R1-0528" | "DeepSeek-V3.1" | "DeepSeek V3 0324" | "DeepSeek-V3" | "DeepSeek V4 Flash" | "Step 3.7 Flash" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3.6 27B" | "Qwen3.5 9B" | "Qwen3 Coder 480B A35B Instruct Turbo" | "Qwen3.5 122B-A10B" | "Qwen3 32B" | "Qwen3.8 Max" | "Qwen3.7 Max" | "Qwen3.5 27B" | "Qwen 3.5 35B A3B" | "Qwen3 Max" | "Qwen3 30B A3B" | "Qwen 3.5 397B A17B" | "Qwen3.6 35B A3B" | "Qwen3-Next 80B-A3B Instruct" | "GLM-5.1" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-5.2" | "GLM-4.7-Flash" | "Inkling" | "Inkling Small" | "Llama 4 Maverick 17B FP8" | "Llama 3.3 70B Turbo" | "Llama 4 Scout 17B";
|
|
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="deepseek/deepseek-v4-pro" | "google/gemini-3.6-flash" | "deepinfra/openai/gpt-oss-120b" | "anthropic/claude-sonnet-5" | "anthropic/claude-sonnet-latest" | "anthropic/claude-opus-5" | "zai/glm-5.2" | "openai/gpt-4o-mini" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-luna" | "openai/gpt-5.6-terra" | "xai/grok-4.5" | "vertex/gemini-3.6-flash@eu" | "vertex/gemini-3.6-flash" | "moonshot/kimi-k3" | "mistral/mistral-large-2512";
|
|
3
|
-
export type ModelName="DeepSeek V4 Pro" | "Gemini 3.6 Flash" | "GPT OSS 120B" | "Claude Sonnet 5" | "Claude Opus 5" | "GLM-5.2" | "GPT-4o mini" | "GPT-5.6 Sol" | "GPT-5.6 Luna" | "GPT-5.6 Terra" | "Grok 4.5" | "Gemini 3.6 Flash (EU)" | "Kimi K3" | "Mistral Large 3";
|
|
2
|
+
export type ModelId="deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-chat" | "deepseek/deepseek-reasoner" | "google/gemini-3-pro-image" | "google/gemini-3-pro-image-preview" | "google/gemini-3.5-flash-lite" | "google/gemini-3.1-flash-lite-image" | "google/gemini-3.1-pro-preview" | "google/gemini-3.1-pro-preview-customtools" | "google/lyria-3-clip-preview" | "google/gemini-flash-latest" | "google/gemini-3.5-flash" | "google/gemini-3.1-flash-lite" | "google/gemini-3.6-flash" | "google/gemini-3.1-flash-image" | "google/gemini-pro-latest" | "google/gemini-3.1-flash-image-preview" | "google/gemini-3.1-flash-lite-preview" | "google/gemini-3-flash-preview" | "google/gemini-2.5-flash-image" | "google/gemini-3.7-flash" | "deepinfra/nemotron-3-ultra-550b-a55b" | "deepinfra/tencent/Hy3" | "deepinfra/nvidia/Nemotron-3-Nano-30B-A3B" | "deepinfra/nvidia/Llama-3.1-Nemotron-70B-Instruct" | "deepinfra/ByteDance/Seed-2.0-code" | "deepinfra/ByteDance/Seed-2.0-mini" | "deepinfra/moonshotai/Kimi-K2.5" | "deepinfra/openai/gpt-oss-120b" | "deepinfra/openai/gpt-oss-20b" | "deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731" | "deepinfra/deepseek-ai/DeepSeek-R1" | "deepinfra/deepseek-ai/DeepSeek-V3-0324" | "deepinfra/deepseek-ai/DeepSeek-V3" | "deepinfra/stepfun-ai/Step-3.5-Flash" | "deepinfra/stepfun-ai/Step-3.7-Flash" | "deepinfra/zai-org/GLM-4.7-Flash" | "deepinfra/thinkingmachines/Inkling" | "deepinfra/thinkingmachines/Inkling-Small" | "deepinfra/meta-llama/Llama-Guard-3-8B" | "deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct" | "deepinfra/meta-llama/Llama-3.3-70B-Instruct" | "deepinfra/meta-models/Muse-Glimmer-30B" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-8" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-latest" | "anthropic/claude-opus-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-sonnet-latest" | "anthropic/claude-fable-latest" | "anthropic/claude-opus-4-5-20251101" | "anthropic/claude-fable-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-opus-5" | "cohere/command-r-plus-08-2024" | "cohere/command-a-03-2025" | "cohere/command-r7b-12-2024" | "cohere/command-r-08-2024" | "zai/glm-4.6" | "zai/glm-5v-turbo" | "zai/glm-4.7" | "zai/glm-5" | "zai/glm-5-turbo" | "zai/glm-5.2" | "zai/glm-4.6v" | "zai/glm-5.1" | "databricks/databricks-gpt-oss-20b" | "databricks/databricks-gpt-oss-120b" | "together_ai/nvidia/nemotron-3-ultra-550b-a55b" | "together_ai/openai/gpt-oss-120b" | "together_ai/openai/gpt-oss-20b" | "together_ai/deepseek-ai/DeepSeek-V4-Flash-0731" | "together_ai/thinkingmachines/Inkling" | "together_ai/thinkingmachines/Inkling-Small" | "together_ai/meta-models/Muse-Glimmer-30B" | "openai/gpt-4o" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-3.5-turbo" | "openai/o1-pro" | "openai/gpt-5.5-pro" | "openai/gpt-4-turbo" | "openai/gpt-4" | "openai/gpt-5.6-sol" | "openai/o3-pro" | "openai/gpt-5.4-pro" | "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.6-luna" | "openai/gpt-5.3-codex" | "openai/gpt-4.1-nano" | "openai/o1" | "openai/gpt-5.2" | "openai/gpt-5.4-mini" | "openai/o3" | "openai/gpt-5-pro" | "openai/gpt-5.5" | "openai/gpt-latest" | "openai/gpt-4.1" | "openai/gpt-4o-2024-08-06" | "openai/gpt-mini-latest" | "openai/gpt-5.6-terra" | "openai/o4-mini" | "openai/gpt-5.4" | "openai/o3-mini" | "openai/gpt-4o-2024-11-20" | "openai/gpt-pro-latest" | "openai/gpt-5.2-pro" | "openai/gpt-4.1-mini" | "openai/gpt-5.4-nano" | "openai/gpt-5.1" | "xai/grok-4.6" | "xai/grok-4.5" | "xai/grok-4.20-0309-non-reasoning" | "xai/grok-latest" | "xai/grok-4.20-0309-reasoning" | "xai/grok-build-0.1" | "xai/grok-4.3" | "nebius/nvidia/nemotron-3-super-120b-a12b" | "nebius/nvidia/Nemotron-3-Ultra-550b-a55b" | "nebius/openai/gpt-oss-120b" | "nebius/meta-llama/Llama-3.3-70B-Instruct" | "vertex/gemini-3-pro-image" | "vertex/gemini-3.5-flash-lite" | "vertex/gemini-3.1-flash-lite-image" | "vertex/gemini-3.1-pro-preview" | "vertex/gemini-3.7-flash@us" | "vertex/gemini-3.5-flash@eu" | "vertex/gemini-flash-latest" | "vertex/gemini-3.5-flash" | "vertex/gemini-3.6-flash@eu" | "vertex/gemini-3.6-flash" | "vertex/gemini-3.1-flash-image" | "vertex/gemini-pro-latest" | "vertex/gemini-3.5-flash@us" | "vertex/gemini-3.5-flash-lite@us" | "vertex/gemini-3.6-flash@us" | "vertex/gemini-3.7-flash@eu" | "vertex/gemini-3-flash-preview" | "vertex/gemini-3.5-flash-lite@eu" | "vertex/gemini-2.5-flash-image" | "vertex/gemini-3.7-flash" | "ovhcloud/gpt-oss-120b" | "ovhcloud/gpt-oss-20b" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen-vl-max" | "qwen/qwen-max" | "qwen/qwen3-coder-next" | "qwen/qwen3-coder-flash" | "qwen/qwen3.8-max" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-coder-480b-a35b-instruct" | "qwen/qwen3-max" | "qwen/qwen3-235b-a22b-instruct-2507" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwq-plus" | "qwen/qwen3-coder-plus" | "qwen/deepseek-v4-flash-0731" | "qwen/qwen-vl-plus" | "moonshot/kimi-k2.7-code" | "moonshot/kimi-k3" | "moonshot/kimi-k2.6" | "azure/gpt-5.1-codex-mini" | "azure/gpt-5.2-codex" | "azure/gpt-5.1-codex-max" | "azure/gpt-5.1-codex" | "ionos/openai/gpt-oss-120b" | "ionos/meta-llama/Llama-3.3-70B-Instruct" | "scaleway/llama-3.3-70b-instruct" | "scaleway/gpt-oss-120b" | "scaleway/deepseek-v4-flash-0731" | "mistral/mistral-small-latest" | "mistral/mistral-large-latest" | "mistral/devstral-2512" | "mistral/mistral-small-2603" | "mistral/mistral-large-2512" | "mistral/mistral-medium-2604" | "mistral/mistral-medium-2505" | "mistral/devstral-medium-latest" | "mistral/codestral-latest" | "mistral/magistral-medium-latest" | "mistral/mistral-medium-latest" | "amazon/moonshot.kimi-k2-thinking" | "amazon/zai.glm-4.7-flash@us" | "amazon/moonshotai.kimi-k2.5" | "amazon/zai.glm-4.7-flash" | "amazon/nvidia.nemotron-nano-9b-v2" | "amazon/nvidia.nemotron-nano-9b-v2@us" | "cerebras/gpt-oss-120b" | "cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it" | "cloudflare/@cf/meta/llama-guard-3-8b" | "cloudflare/@cf/openai/gpt-oss-120b" | "cloudflare/@cf/openai/gpt-oss-20b" | "cloudflare/@cf/qwen/qwen2.5-coder-32b-instruct" | "cloudflare/@cf/zai-org/glm-4.7-flash" | "fireworks_ai/gpt-oss-120b" | "fireworks_ai/gpt-oss-20b" | "fireworks_ai/accounts/fireworks/models/deepseek-v4-pro-0813" | "fireworks_ai/accounts/fireworks/models/muse-glimmer-30b" | "fireworks_ai/accounts/fireworks/models/gpt-oss-120b" | "fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731" | "fireworks_ai/accounts/fireworks/models/gpt-oss-20b" | "perplexityai/sonar" | "perplexityai/sonar-reasoning-pro" | "perplexityai/sonar-pro" | "groq/openai/gpt-oss-120b" | "groq/openai/gpt-oss-20b" | "flexai/Muse-Glimmer-30B" | "flexai/DeepSeek-V4-Flash-0731" | "flexai/gpt-oss-120b" | "flexai/Nemotron-3-Super-120B-A12B" | "flexai/deepseek-v4-flash-0731" | "flexai/gpt-oss-20b" | "minimax/MiniMax-M2.7" | "minimax/MiniMax-M2.1" | "minimax/MiniMax-M2" | "minimax/MiniMax-M3" | "minimax/MiniMax-M2.5";
|
|
3
|
+
export type ModelName="DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "DeepSeek Chat" | "DeepSeek Reasoner" | "Nano Banana Pro" | "Gemini 3.5 Flash Lite" | "Nano Banana 2 Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3.1 Pro Preview Custom Tools" | "Lyria 3 Clip Preview" | "Gemini 3.7 Flash" | "Gemini 3.5 Flash" | "Gemini 3.1 Flash Lite" | "Gemini 3.6 Flash" | "Nano Banana 2" | "Gemini 3.1 Flash Lite Preview" | "Gemini 3 Flash Preview" | "Nano Banana" | "Nemotron 3 Ultra 550B A55B" | "Hy3" | "Nemotron 3 Nano 30B A3B" | "Llama 3.1 Nemotron 70B Instruct" | "Seed 2.0 Code" | "Seed 2.0 Mini" | "Kimi K2.5" | "GPT OSS 120B" | "GPT OSS 20B" | "DeepSeek V4 Flash 0731" | "DeepSeek-R1" | "DeepSeek V3 0324" | "DeepSeek-V3" | "Step 3.5 Flash" | "Step 3.7 Flash" | "GLM-4.7-Flash" | "Inkling" | "Inkling Small" | "Llama-Guard-3-8B" | "Llama-3.2-11B-Vision-Instruct" | "Llama-3.3-70B-Instruct" | "Muse Glimmer 30B" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Sonnet 5" | "Claude Opus 5" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.6" | "Claude Fable 5" | "Claude Opus 4.5" | "Claude Opus 4.6" | "Command R+" | "Command A" | "Command R7B" | "Command R" | "GLM-4.6" | "GLM-5V-Turbo" | "GLM-4.7" | "GLM-5" | "GLM-5-Turbo" | "GLM-5.2" | "GLM-4.6V" | "GLM-5.1" | "GPT-4o" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-3.5-turbo" | "o1-pro" | "GPT-5.5 Pro" | "GPT-4 Turbo" | "GPT-4" | "GPT-5.6 Sol" | "o3-pro" | "GPT-5.4 Pro" | "GPT-5" | "GPT-5 Mini" | "GPT-5.6 Luna" | "GPT-5.3 Codex" | "GPT-4.1 nano" | "o1" | "GPT-5.2" | "GPT-5.4 mini" | "o3" | "GPT-5 Pro" | "GPT-5.5" | "GPT-4.1" | "GPT-4o (2024-08-06)" | "GPT-5.6 Terra" | "o4-mini" | "GPT-5.4" | "o3-mini" | "GPT-4o (2024-11-20)" | "GPT-5.2 Pro" | "GPT-4.1 mini" | "GPT-5.4 nano" | "GPT-5.1" | "Grok 4.6" | "Grok 4.5" | "Grok 4.20 (Non-Reasoning)" | "Grok 4.20 (Reasoning)" | "Grok Build 0.1" | "Grok 4.3" | "Nemotron 3 Super 120B A12B" | "Gemini 3.7 Flash (US)" | "Gemini 3.5 Flash (EU)" | "Gemini 3.6 Flash (EU)" | "Gemini 3.5 Flash (US)" | "Gemini 3.5 Flash Lite (US)" | "Gemini 3.6 Flash (US)" | "Gemini 3.7 Flash (EU)" | "Gemini 3.5 Flash Lite (EU)" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen-VL Max" | "Qwen Max" | "Qwen3 Coder Next" | "Qwen3 Coder Flash" | "Qwen3.8 Max" | "Qwen3-Next 80B-A3B (Thinking)" | "Qwen3-Coder 480B-A35B Instruct" | "Qwen3 Max" | "Qwen3 235B-A22B Instruct 2507" | "Qwen3-Next 80B-A3B Instruct" | "QwQ Plus" | "Qwen3 Coder Plus" | "Qwen-VL Plus" | "Kimi K2.7 Code" | "Kimi K3" | "Kimi K2.6" | "GPT-5.1 Codex mini" | "GPT-5.2 Codex" | "GPT-5.1 Codex Max" | "GPT-5.1 Codex" | "Mistral Small (latest)" | "Mistral Large (latest)" | "Devstral 2" | "Mistral Small 4" | "Mistral Large 3" | "Mistral Medium 3.5" | "Mistral Medium 3" | "Devstral 2 (latest)" | "Codestral (latest)" | "Magistral Medium (latest)" | "Mistral Medium (latest)" | "Kimi K2 Thinking" | "GLM-4.7-Flash (US)" | "Nemotron Nano 9B v2" | "Nemotron Nano 9B v2 (US)" | "Gemma-SEA-LION-v4-27B-IT" | "Qwen2.5-Coder-32B-Instruct" | "DeepSeek V4 Pro 0813" | "Sonar" | "Sonar Reasoning Pro" | "Sonar Pro" | "MiniMax-M2.7" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M3" | "MiniMax-M2.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;
|