ai-model-prices 2026.6.21 → 2026.6.23
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 +1 -1
- package/dist/adapters/huggingface.d.mts +2 -2
- package/dist/adapters/huggingface.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/novita-ai.d.mts +2 -2
- package/dist/adapters/novita-ai.d.ts +2 -2
- package/dist/adapters/openrouter.d.mts +2 -2
- package/dist/adapters/openrouter.d.ts +2 -2
- package/dist/adapters/vercel.d.mts +2 -2
- package/dist/adapters/vercel.d.ts +2 -2
- package/dist/adapters/zai.d.mts +2 -2
- package/dist/adapters/zai.d.ts +2 -2
- package/dist/adapters/zenmux.d.mts +2 -2
- package/dist/adapters/zenmux.d.ts +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/baseten.js +1 -1
- package/dist/providers/huggingface.js +1 -1
- package/dist/providers/merge-gateway.js +1 -1
- package/dist/providers/novita-ai.js +1 -1
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/dist/providers/zai.js +1 -1
- package/dist/providers/zenmux.js +1 -1
- package/package.json +1 -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
|
-
**139 providers ·
|
|
9
|
+
**139 providers · 4950 models · Updated 2026-06-23**
|
|
10
10
|
<!-- STATS:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "Qwen/Qwen3-Coder-Next" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Embedding-4B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "XiaomiMiMo/MiMo-V2-Flash" | "zai-org/GLM-4.7-Flash" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.1" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.7";
|
|
3
|
-
export type ModelName="Kimi-K2-Thinking" | "Kimi-K2-Instruct-0905" | "Kimi-K2-Instruct" | "Kimi-K2.6" | "Kimi-K2.5" | "Qwen3-Coder-Next" | "Qwen 3 Embedding 8B" | "Qwen3-Next-80B-A3B-Instruct" | "Qwen3.5-397B-A17B" | "Qwen3-235B-A22B-Thinking-2507" | "Qwen 3 Embedding 4B" | "Qwen3-Coder-480B-A35B-Instruct" | "Qwen3-Next-80B-A3B-Thinking" | "MiMo-V2-Flash" | "GLM-4.7-Flash" | "GLM-5" | "GLM-4.7" | "GLM-5.1" | "DeepSeek-R1-0528" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.1" | "MiniMax-M2.5" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "stepfun-ai/Step-3.5-Flash" | "google/gemma-4-31B-it" | "google/gemma-4-26B-A4B-it" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Coder-Next" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Embedding-4B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3.5-35B-A3B" | "XiaomiMiMo/MiMo-V2-Flash" | "zai-org/GLM-4.7-Flash" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-5.2" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V4-Flash" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.1" | "MiniMaxAI/MiniMax-M2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7";
|
|
3
|
+
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2-Thinking" | "Kimi-K2-Instruct-0905" | "Kimi-K2-Instruct" | "Kimi-K2.6" | "Kimi-K2.5" | "Kimi K2.7 Code" | "Step 3.5 Flash" | "Gemma 4 31B IT" | "Gemma 4 26B A4B IT" | "Qwen3.6 35B-A3B" | "Qwen3-Coder-Next" | "Qwen 3 Embedding 8B" | "Qwen3-Next-80B-A3B-Instruct" | "Qwen3.5-397B-A17B" | "Qwen3-235B-A22B-Thinking-2507" | "Qwen 3 Embedding 4B" | "Qwen3-Coder-480B-A35B-Instruct" | "Qwen3.5 122B-A10B" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3.5 27B" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3.5 9B" | "Qwen3 32B" | "Qwen3 235B-A22B" | "Qwen3.5 35B-A3B" | "MiMo-V2-Flash" | "GLM-4.7-Flash" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-4.5V" | "GLM-5.2" | "GLM-4.5-Air" | "GLM-5.1" | "GLM-4.5" | "DeepSeek-R1" | "DeepSeek-R1-0528" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "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="moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "Qwen/Qwen3-Coder-Next" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Embedding-4B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "XiaomiMiMo/MiMo-V2-Flash" | "zai-org/GLM-4.7-Flash" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.1" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.7";
|
|
3
|
-
export type ModelName="Kimi-K2-Thinking" | "Kimi-K2-Instruct-0905" | "Kimi-K2-Instruct" | "Kimi-K2.6" | "Kimi-K2.5" | "Qwen3-Coder-Next" | "Qwen 3 Embedding 8B" | "Qwen3-Next-80B-A3B-Instruct" | "Qwen3.5-397B-A17B" | "Qwen3-235B-A22B-Thinking-2507" | "Qwen 3 Embedding 4B" | "Qwen3-Coder-480B-A35B-Instruct" | "Qwen3-Next-80B-A3B-Thinking" | "MiMo-V2-Flash" | "GLM-4.7-Flash" | "GLM-5" | "GLM-4.7" | "GLM-5.1" | "DeepSeek-R1-0528" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.1" | "MiniMax-M2.5" | "MiniMax-M2.7";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "stepfun-ai/Step-3.5-Flash" | "google/gemma-4-31B-it" | "google/gemma-4-26B-A4B-it" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3-Coder-Next" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Embedding-4B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3.5-35B-A3B" | "XiaomiMiMo/MiMo-V2-Flash" | "zai-org/GLM-4.7-Flash" | "zai-org/GLM-4.6" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-5.2" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-V4-Flash" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.1" | "MiniMaxAI/MiniMax-M2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7";
|
|
3
|
+
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2-Thinking" | "Kimi-K2-Instruct-0905" | "Kimi-K2-Instruct" | "Kimi-K2.6" | "Kimi-K2.5" | "Kimi K2.7 Code" | "Step 3.5 Flash" | "Gemma 4 31B IT" | "Gemma 4 26B A4B IT" | "Qwen3.6 35B-A3B" | "Qwen3-Coder-Next" | "Qwen 3 Embedding 8B" | "Qwen3-Next-80B-A3B-Instruct" | "Qwen3.5-397B-A17B" | "Qwen3-235B-A22B-Thinking-2507" | "Qwen 3 Embedding 4B" | "Qwen3-Coder-480B-A35B-Instruct" | "Qwen3.5 122B-A10B" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3.5 27B" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3.5 9B" | "Qwen3 32B" | "Qwen3 235B-A22B" | "Qwen3.5 35B-A3B" | "MiMo-V2-Flash" | "GLM-4.7-Flash" | "GLM-4.6" | "GLM-5" | "GLM-4.7" | "GLM-4.5V" | "GLM-5.2" | "GLM-4.5-Air" | "GLM-5.1" | "GLM-4.5" | "DeepSeek-R1" | "DeepSeek-R1-0528" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "MiniMax-M3" | "MiniMax-M2.7";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="xai/grok-4.3" | "xai/grok-4.20-0309-reasoning" | "mistral/codestral-latest" | "mistral/mistral-large-latest" | "mistral/devstral-small-2507" | "mistral/pixtral-large-latest" | "mistral/mistral-medium-latest" | "mistral/mistral-small-latest" | "mistral/mistral-medium-2505" | "mistral/mistral-large-2411" | "mistral/magistral-medium-latest" | "mistral/devstral-medium-latest" | "mistral/devstral-2512" | "mistral/mistral-large-2512" | "mistral/devstral-medium-2507" | "google/gemini-3.1-flash-lite" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-flash-lite-latest" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-pro-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-flash-preview" | "google/gemini-flash-latest" | "google/gemini-3.1-flash-lite-preview" | "openai/o3" | "openai/gpt-5" | "openai/gpt-4o" | "openai/o4-mini" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5-chat-latest" | "openai/gpt-5.3-chat-latest" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.1-chat-latest" | "openai/gpt-5.2-chat-latest" | "openai/gpt-4.1-nano" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-5.1" | "openai/gpt-5.5" | "zai/glm-4.7" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-4.5-air" | "zai/glm-5" | "zai/glm-5-turbo" | "anthropic/claude-haiku-4-5-20251001" | "anthropic/claude-opus-4-1-20250805" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-5-20251101" | "anthropic/claude-opus-4-20250514" | "anthropic/claude-sonnet-4-20250514" | "anthropic/claude-opus-4-6" | "anthropic/claude-sonnet-4-5-20250929" | "anthropic/claude-sonnet-4-6" | "cohere/command-a-03-2025" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed";
|
|
3
|
-
export type ModelName="Grok 4.3" | "Grok 4.20 (Reasoning)" | "Codestral (latest)" | "Mistral Large (latest)" | "Devstral Small" | "Pixtral Large (latest)" | "Mistral Medium (latest)" | "Mistral Small (latest)" | "Mistral Medium 3" | "Mistral Large 2.1" | "Magistral Medium (latest)" | "Devstral 2 (latest)" | "Devstral 2" | "Mistral Large 3" | "Devstral Medium" | "Gemini 3.1 Flash Lite" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini Flash-Lite Latest" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Pro Preview" | "Gemini 3 Flash Preview" | "Gemini Flash Latest" | "Gemini 3.1 Flash Lite Preview" | "o3" | "GPT-5" | "GPT-4o" | "o4-mini" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5 Chat (latest)" | "GPT-5.3 Chat (latest)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.1 Chat" | "GPT-5.2 Chat" | "GPT-4.1 nano" | "GPT-4o (2024-11-20)" | "o1" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-5.1" | "GPT-5.5" | "GLM-4.7" | "GLM-4.5" | "GLM-4.7-FlashX" | "GLM-5.1" | "GLM-4.6" | "GLM-4.5-Air" | "GLM-5" | "GLM-5-Turbo" | "Claude Haiku 4.5" | "Claude Opus 4.1" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Opus 4" | "Claude Sonnet 4" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 4.6" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.7" | "MiniMax-M2.5-highspeed";
|
|
2
|
+
export type ModelId="xai/grok-4.3" | "xai/grok-4.20-0309-reasoning" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2.7-code-highspeed" | "mistral/codestral-latest" | "mistral/mistral-large-latest" | "mistral/devstral-small-2507" | "mistral/pixtral-large-latest" | "mistral/mistral-medium-latest" | "mistral/mistral-small-latest" | "mistral/mistral-medium-2505" | "mistral/mistral-large-2411" | "mistral/magistral-medium-latest" | "mistral/devstral-medium-latest" | "mistral/devstral-2512" | "mistral/mistral-large-2512" | "mistral/devstral-medium-2507" | "google/gemini-3.1-flash-lite" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-flash-lite-latest" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-pro-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-flash-preview" | "google/gemini-flash-latest" | "google/gemini-3.1-flash-lite-preview" | "openai/o3" | "openai/gpt-5" | "openai/gpt-4o" | "openai/o4-mini" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5-chat-latest" | "openai/gpt-5.3-chat-latest" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.1-chat-latest" | "openai/gpt-5.2-chat-latest" | "openai/gpt-4.1-nano" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-5.1" | "openai/gpt-5.5" | "zai/glm-4.7" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-5.2" | "zai/glm-4.5-air" | "zai/glm-5" | "zai/glm-5-turbo" | "anthropic/claude-haiku-4-5-20251001" | "anthropic/claude-opus-4-1-20250805" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-5-20251101" | "anthropic/claude-opus-4-8" | "anthropic/claude-opus-4-20250514" | "anthropic/claude-sonnet-4-20250514" | "anthropic/claude-opus-4-6" | "anthropic/claude-sonnet-4-5-20250929" | "anthropic/claude-sonnet-4-6" | "cohere/command-a-03-2025" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "alibaba/qwen3.7-max" | "alibaba/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed";
|
|
3
|
+
export type ModelName="Grok 4.3" | "Grok 4.20 (Reasoning)" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2.7 Code Highspeed" | "Codestral (latest)" | "Mistral Large (latest)" | "Devstral Small" | "Pixtral Large (latest)" | "Mistral Medium (latest)" | "Mistral Small (latest)" | "Mistral Medium 3" | "Mistral Large 2.1" | "Magistral Medium (latest)" | "Devstral 2 (latest)" | "Devstral 2" | "Mistral Large 3" | "Devstral Medium" | "Gemini 3.1 Flash Lite" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini Flash-Lite Latest" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Pro Preview" | "Gemini 3 Flash Preview" | "Gemini Flash Latest" | "Gemini 3.1 Flash Lite Preview" | "o3" | "GPT-5" | "GPT-4o" | "o4-mini" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5 Chat (latest)" | "GPT-5.3 Chat (latest)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.1 Chat" | "GPT-5.2 Chat" | "GPT-4.1 nano" | "GPT-4o (2024-11-20)" | "o1" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-5.1" | "GPT-5.5" | "GLM-4.7" | "GLM-4.5" | "GLM-4.7-FlashX" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.5-Air" | "GLM-5" | "GLM-5-Turbo" | "Claude Haiku 4.5" | "Claude Opus 4.1" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Opus 4.8" | "Claude Opus 4" | "Claude Sonnet 4" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 4.6" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-M3" | "MiniMax-M2" | "MiniMax-M2.7" | "MiniMax-M2.5-highspeed";
|
|
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="xai/grok-4.3" | "xai/grok-4.20-0309-reasoning" | "mistral/codestral-latest" | "mistral/mistral-large-latest" | "mistral/devstral-small-2507" | "mistral/pixtral-large-latest" | "mistral/mistral-medium-latest" | "mistral/mistral-small-latest" | "mistral/mistral-medium-2505" | "mistral/mistral-large-2411" | "mistral/magistral-medium-latest" | "mistral/devstral-medium-latest" | "mistral/devstral-2512" | "mistral/mistral-large-2512" | "mistral/devstral-medium-2507" | "google/gemini-3.1-flash-lite" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-flash-lite-latest" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-pro-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-flash-preview" | "google/gemini-flash-latest" | "google/gemini-3.1-flash-lite-preview" | "openai/o3" | "openai/gpt-5" | "openai/gpt-4o" | "openai/o4-mini" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5-chat-latest" | "openai/gpt-5.3-chat-latest" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.1-chat-latest" | "openai/gpt-5.2-chat-latest" | "openai/gpt-4.1-nano" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-5.1" | "openai/gpt-5.5" | "zai/glm-4.7" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-4.5-air" | "zai/glm-5" | "zai/glm-5-turbo" | "anthropic/claude-haiku-4-5-20251001" | "anthropic/claude-opus-4-1-20250805" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-5-20251101" | "anthropic/claude-opus-4-20250514" | "anthropic/claude-sonnet-4-20250514" | "anthropic/claude-opus-4-6" | "anthropic/claude-sonnet-4-5-20250929" | "anthropic/claude-sonnet-4-6" | "cohere/command-a-03-2025" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed";
|
|
3
|
-
export type ModelName="Grok 4.3" | "Grok 4.20 (Reasoning)" | "Codestral (latest)" | "Mistral Large (latest)" | "Devstral Small" | "Pixtral Large (latest)" | "Mistral Medium (latest)" | "Mistral Small (latest)" | "Mistral Medium 3" | "Mistral Large 2.1" | "Magistral Medium (latest)" | "Devstral 2 (latest)" | "Devstral 2" | "Mistral Large 3" | "Devstral Medium" | "Gemini 3.1 Flash Lite" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini Flash-Lite Latest" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Pro Preview" | "Gemini 3 Flash Preview" | "Gemini Flash Latest" | "Gemini 3.1 Flash Lite Preview" | "o3" | "GPT-5" | "GPT-4o" | "o4-mini" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5 Chat (latest)" | "GPT-5.3 Chat (latest)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.1 Chat" | "GPT-5.2 Chat" | "GPT-4.1 nano" | "GPT-4o (2024-11-20)" | "o1" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-5.1" | "GPT-5.5" | "GLM-4.7" | "GLM-4.5" | "GLM-4.7-FlashX" | "GLM-5.1" | "GLM-4.6" | "GLM-4.5-Air" | "GLM-5" | "GLM-5-Turbo" | "Claude Haiku 4.5" | "Claude Opus 4.1" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Opus 4" | "Claude Sonnet 4" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 4.6" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.7" | "MiniMax-M2.5-highspeed";
|
|
2
|
+
export type ModelId="xai/grok-4.3" | "xai/grok-4.20-0309-reasoning" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2.7-code-highspeed" | "mistral/codestral-latest" | "mistral/mistral-large-latest" | "mistral/devstral-small-2507" | "mistral/pixtral-large-latest" | "mistral/mistral-medium-latest" | "mistral/mistral-small-latest" | "mistral/mistral-medium-2505" | "mistral/mistral-large-2411" | "mistral/magistral-medium-latest" | "mistral/devstral-medium-latest" | "mistral/devstral-2512" | "mistral/mistral-large-2512" | "mistral/devstral-medium-2507" | "google/gemini-3.1-flash-lite" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-flash-lite-latest" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-pro-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-flash-preview" | "google/gemini-flash-latest" | "google/gemini-3.1-flash-lite-preview" | "openai/o3" | "openai/gpt-5" | "openai/gpt-4o" | "openai/o4-mini" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5-chat-latest" | "openai/gpt-5.3-chat-latest" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.1-chat-latest" | "openai/gpt-5.2-chat-latest" | "openai/gpt-4.1-nano" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-5-nano" | "openai/gpt-4o-mini" | "openai/gpt-5.1" | "openai/gpt-5.5" | "zai/glm-4.7" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-5.2" | "zai/glm-4.5-air" | "zai/glm-5" | "zai/glm-5-turbo" | "anthropic/claude-haiku-4-5-20251001" | "anthropic/claude-opus-4-1-20250805" | "anthropic/claude-opus-4-7" | "anthropic/claude-opus-4-5-20251101" | "anthropic/claude-opus-4-8" | "anthropic/claude-opus-4-20250514" | "anthropic/claude-sonnet-4-20250514" | "anthropic/claude-opus-4-6" | "anthropic/claude-sonnet-4-5-20250929" | "anthropic/claude-sonnet-4-6" | "cohere/command-a-03-2025" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "alibaba/qwen3.7-max" | "alibaba/qwen3.6-plus" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v4-pro" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed";
|
|
3
|
+
export type ModelName="Grok 4.3" | "Grok 4.20 (Reasoning)" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2.7 Code Highspeed" | "Codestral (latest)" | "Mistral Large (latest)" | "Devstral Small" | "Pixtral Large (latest)" | "Mistral Medium (latest)" | "Mistral Small (latest)" | "Mistral Medium 3" | "Mistral Large 2.1" | "Magistral Medium (latest)" | "Devstral 2 (latest)" | "Devstral 2" | "Mistral Large 3" | "Devstral Medium" | "Gemini 3.1 Flash Lite" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 3.1 Pro Preview Custom Tools" | "Gemini Flash-Lite Latest" | "Gemini 2.5 Flash-Lite" | "Gemini 3.1 Pro Preview" | "Gemini 3 Pro Preview" | "Gemini 3 Flash Preview" | "Gemini Flash Latest" | "Gemini 3.1 Flash Lite Preview" | "o3" | "GPT-5" | "GPT-4o" | "o4-mini" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5 Chat (latest)" | "GPT-5.3 Chat (latest)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.1 Chat" | "GPT-5.2 Chat" | "GPT-4.1 nano" | "GPT-4o (2024-11-20)" | "o1" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-5 Nano" | "GPT-4o mini" | "GPT-5.1" | "GPT-5.5" | "GLM-4.7" | "GLM-4.5" | "GLM-4.7-FlashX" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.5-Air" | "GLM-5" | "GLM-5-Turbo" | "Claude Haiku 4.5" | "Claude Opus 4.1" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Opus 4.8" | "Claude Opus 4" | "Claude Sonnet 4" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 4.6" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7-highspeed" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-M3" | "MiniMax-M2" | "MiniMax-M2.7" | "MiniMax-M2.5-highspeed";
|
|
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="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3-70b-instruct" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-3.2-3b-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct-fp8" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "minimaxai/minimax-m1-80k" | "baidu/ernie-4.5-vl-28b-a3b" | "baidu/ernie-4.5-21B-a3b" | "baidu/ernie-4.5-vl-424b-a47b" | "baidu/ernie-4.5-21B-a3b-thinking" | "baidu/ernie-4.5-300b-a47b-paddle" | "baidu/ernie-4.5-vl-28b-a3b-thinking" | "google/gemma-4-31b-it" | "google/gemma-4-26b-a4b-it" | "google/gemma-3-12b-it" | "google/gemma-3-27b-it" | "microsoft/wizardlm-2-8x22b" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "sao10K/l31-70b-euryale-v2.2" | "sao10K/L3-8B-stheno-v3.2" | "sao10K/l3-8b-lunaris" | "sao10K/l3-70b-euryale-v2.1" | "baichuan/baichuan-m2-32b" | "mistralai/mistral-nemo" | "xiaomimimo/mimo-v2-flash" | "xiaomimimo/mimo-v2-pro" | "xiaomimimo/mimo-v2.5-pro" | "gryphe/mythomax-l2-13b" | "zai-org/glm-4.7" | "zai-org/glm-4.5v" | "zai-org/glm-4.5" | "zai-org/autoglm-phone-9b-multilingual" | "zai-org/glm-5.1" | "zai-org/glm-4.6" | "zai-org/glm-4.6v" | "zai-org/glm-4.5-air" | "zai-org/glm-4.7-flash" | "zai-org/glm-5" | "paddlepaddle/paddleocr-vl" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-235b-a22b-instruct-2507" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-8b-fp8" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3-omni-30b-a3b-thinking" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen2.5-7b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen-mt-plus" | "qwen/qwen3-32b-fp8" | "qwen/qwen3-4b-fp8" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3-30b-a3b-fp8" | "qwen/qwen3.5-27b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen3-coder-next" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3-coder-480b-a35b-instruct" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-omni-30b-a3b-instruct" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3-235b-a22b-fp8" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3-0324" | "deepseek/deepseek-ocr" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-r1-turbo" | "deepseek/deepseek-prover-v2-671b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-ocr-2" | "deepseek/deepseek-r1-distill-qwen-14b" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-r1-0528-qwen3-8b" | "deepseek/deepseek-r1-distill-qwen-32b" | "deepseek/deepseek-v3-turbo" | "deepseek/deepseek-v3.2" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "kwaipilot/kat-coder-pro" | "nousresearch/hermes-2-pro-llama-3-8b";
|
|
3
|
-
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Llama 3.1 8B Instruct" | "Llama3 70B Instruct" | "Llama 4 Scout Instruct" | "Llama 3.3 70B Instruct" | "Llama 3 8B Instruct" | "Llama 3.2 3B Instruct" | "Llama 4 Maverick Instruct" | "Kimi K2 Instruct" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "MiniMax M1" | "ERNIE 4.5 VL 28B A3B" | "ERNIE 4.5 21B A3B" | "ERNIE 4.5 VL 424B A47B" | "ERNIE-4.5-21B-A3B-Thinking" | "ERNIE 4.5 300B A47B" | "ERNIE-4.5-VL-28B-A3B-Thinking" | "Gemma 4 31B" | "Gemma 4 26B A4B" | "Gemma 3 12B" | "Gemma 3 27B" | "Wizardlm 2 8x22B" | "OpenAI GPT OSS 120B" | "OpenAI: GPT OSS 20B" | "L31 70B Euryale V2.2" | "L3 8B Stheno V3.2" | "Sao10k L3 8B Lunaris\t" | "L3 70B Euryale V2.1\t" | "baichuan-m2-32b" | "Mistral Nemo" | "XiaomiMiMo/MiMo-V2-Flash" | "MiMo-V2-Pro" | "MiMo-V2.5-Pro" | "Mythomax L2 13B" | "GLM-4.7" | "GLM 4.5V" | "GLM-4.5" | "AutoGLM-Phone-9B-Multilingual" | "GLM-5.1" | "GLM 4.6" | "GLM 4.6V" | "GLM 4.5 Air" | "GLM-4.7-Flash" | "GLM-5" | "PaddleOCR-VL" | "Qwen3 VL 235B A22B Thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder 30b A3B Instruct" | "Qwen3 8B" | "Qwen3 Next 80B A3B Instruct" | "qwen/qwen3-vl-8b-instruct" | "Qwen3 Omni 30B A3B Thinking" | "Qwen3.7-Max" | "Qwen3 Max" | "Qwen2.5 7B Instruct" | "Qwen3 Next 80B A3B Thinking" | "Qwen3 235B A22b Thinking 2507" | "Qwen MT Plus" | "Qwen3 32B" | "Qwen3 4B" | "Qwen2.5 VL 72B Instruct" | "Qwen3 30B A3B" | "Qwen3.5-27B" | "Qwen 2.5 72B Instruct" | "Qwen3 Coder Next" | "Qwen3.5-35B-A3B" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3.5-397B-A17B" | "qwen/qwen3-vl-30b-a3b-instruct" | "Qwen3 Omni 30B A3B Instruct" | "Qwen3 VL 235B A22B Instruct" | "Qwen3.5-122B-A10B" | "Qwen3 235B A22B" | "DeepSeek R1 0528" | "DeepSeek V4 Flash" | "Deepseek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek-OCR" | "DeepSeek R1 Distill LLama 70B" | "DeepSeek R1 (Turbo)\t" | "Deepseek Prover V2 671B" | "DeepSeek V4 Pro" | "Deepseek V3.2 Exp" | "deepseek/deepseek-ocr-2" | "DeepSeek R1 Distill Qwen 14B" | "DeepSeek V3.1" | "DeepSeek R1 0528 Qwen3 8B" | "DeepSeek R1 Distill Qwen 32B" | "DeepSeek V3 (Turbo)\t" | "Deepseek V3.2" | "MiniMax-M2.7-highspeed" | "MiniMax M2.5" | "Minimax M2.1" | "MiniMax-M2" | "MiniMax M2.7" | "MiniMax M2.5 Highspeed" | "Kat Coder Pro" | "Hermes 2 Pro Llama 3 8B";
|
|
2
|
+
export type ModelId="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3-70b-instruct" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-3.2-3b-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct-fp8" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "minimaxai/minimax-m1-80k" | "baidu/ernie-4.5-vl-28b-a3b" | "baidu/ernie-4.5-21B-a3b" | "baidu/ernie-4.5-vl-424b-a47b" | "baidu/ernie-4.5-21B-a3b-thinking" | "baidu/ernie-4.5-300b-a47b-paddle" | "baidu/ernie-4.5-vl-28b-a3b-thinking" | "google/gemma-4-31b-it" | "google/gemma-4-26b-a4b-it" | "google/gemma-3-12b-it" | "google/gemma-3-27b-it" | "microsoft/wizardlm-2-8x22b" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "sao10K/l31-70b-euryale-v2.2" | "sao10K/L3-8B-stheno-v3.2" | "sao10K/l3-8b-lunaris" | "sao10K/l3-70b-euryale-v2.1" | "baichuan/baichuan-m2-32b" | "mistralai/mistral-nemo" | "xiaomimimo/mimo-v2-flash" | "xiaomimimo/mimo-v2-pro" | "xiaomimimo/mimo-v2.5-pro" | "gryphe/mythomax-l2-13b" | "zai-org/glm-4.7" | "zai-org/glm-4.5v" | "zai-org/glm-4.5" | "zai-org/autoglm-phone-9b-multilingual" | "zai-org/glm-5.1" | "zai-org/glm-4.6" | "zai-org/glm-5.2" | "zai-org/glm-4.6v" | "zai-org/glm-4.5-air" | "zai-org/glm-4.7-flash" | "zai-org/glm-5" | "paddlepaddle/paddleocr-vl" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-235b-a22b-instruct-2507" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-8b-fp8" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3-omni-30b-a3b-thinking" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen2.5-7b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen-mt-plus" | "qwen/qwen3-32b-fp8" | "qwen/qwen3-4b-fp8" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3-30b-a3b-fp8" | "qwen/qwen3.5-27b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen3-coder-next" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3-coder-480b-a35b-instruct" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-omni-30b-a3b-instruct" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3-235b-a22b-fp8" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3-0324" | "deepseek/deepseek-ocr" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-r1-turbo" | "deepseek/deepseek-prover-v2-671b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-ocr-2" | "deepseek/deepseek-r1-distill-qwen-14b" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-r1-0528-qwen3-8b" | "deepseek/deepseek-r1-distill-qwen-32b" | "deepseek/deepseek-v3-turbo" | "deepseek/deepseek-v3.2" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "kwaipilot/kat-coder-pro" | "nousresearch/hermes-2-pro-llama-3-8b";
|
|
3
|
+
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Llama 3.1 8B Instruct" | "Llama3 70B Instruct" | "Llama 4 Scout Instruct" | "Llama 3.3 70B Instruct" | "Llama 3 8B Instruct" | "Llama 3.2 3B Instruct" | "Llama 4 Maverick Instruct" | "Kimi K2 Instruct" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "MiniMax M1" | "ERNIE 4.5 VL 28B A3B" | "ERNIE 4.5 21B A3B" | "ERNIE 4.5 VL 424B A47B" | "ERNIE-4.5-21B-A3B-Thinking" | "ERNIE 4.5 300B A47B" | "ERNIE-4.5-VL-28B-A3B-Thinking" | "Gemma 4 31B" | "Gemma 4 26B A4B" | "Gemma 3 12B" | "Gemma 3 27B" | "Wizardlm 2 8x22B" | "OpenAI GPT OSS 120B" | "OpenAI: GPT OSS 20B" | "L31 70B Euryale V2.2" | "L3 8B Stheno V3.2" | "Sao10k L3 8B Lunaris\t" | "L3 70B Euryale V2.1\t" | "baichuan-m2-32b" | "Mistral Nemo" | "XiaomiMiMo/MiMo-V2-Flash" | "MiMo-V2-Pro" | "MiMo-V2.5-Pro" | "Mythomax L2 13B" | "GLM-4.7" | "GLM 4.5V" | "GLM-4.5" | "AutoGLM-Phone-9B-Multilingual" | "GLM-5.1" | "GLM 4.6" | "GLM-5.2" | "GLM 4.6V" | "GLM 4.5 Air" | "GLM-4.7-Flash" | "GLM-5" | "PaddleOCR-VL" | "Qwen3 VL 235B A22B Thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder 30b A3B Instruct" | "Qwen3 8B" | "Qwen3 Next 80B A3B Instruct" | "qwen/qwen3-vl-8b-instruct" | "Qwen3 Omni 30B A3B Thinking" | "Qwen3.7-Max" | "Qwen3 Max" | "Qwen2.5 7B Instruct" | "Qwen3 Next 80B A3B Thinking" | "Qwen3 235B A22b Thinking 2507" | "Qwen MT Plus" | "Qwen3 32B" | "Qwen3 4B" | "Qwen2.5 VL 72B Instruct" | "Qwen3 30B A3B" | "Qwen3.5-27B" | "Qwen 2.5 72B Instruct" | "Qwen3 Coder Next" | "Qwen3.5-35B-A3B" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3.5-397B-A17B" | "qwen/qwen3-vl-30b-a3b-instruct" | "Qwen3 Omni 30B A3B Instruct" | "Qwen3 VL 235B A22B Instruct" | "Qwen3.5-122B-A10B" | "Qwen3 235B A22B" | "DeepSeek R1 0528" | "DeepSeek V4 Flash" | "Deepseek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek-OCR" | "DeepSeek R1 Distill LLama 70B" | "DeepSeek R1 (Turbo)\t" | "Deepseek Prover V2 671B" | "DeepSeek V4 Pro" | "Deepseek V3.2 Exp" | "deepseek/deepseek-ocr-2" | "DeepSeek R1 Distill Qwen 14B" | "DeepSeek V3.1" | "DeepSeek R1 0528 Qwen3 8B" | "DeepSeek R1 Distill Qwen 32B" | "DeepSeek V3 (Turbo)\t" | "Deepseek V3.2" | "MiniMax-M2.7-highspeed" | "MiniMax M2.5" | "Minimax M2.1" | "MiniMax-M2" | "MiniMax M2.7" | "MiniMax M2.5 Highspeed" | "Kat Coder Pro" | "Hermes 2 Pro Llama 3 8B";
|
|
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="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3-70b-instruct" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-3.2-3b-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct-fp8" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "minimaxai/minimax-m1-80k" | "baidu/ernie-4.5-vl-28b-a3b" | "baidu/ernie-4.5-21B-a3b" | "baidu/ernie-4.5-vl-424b-a47b" | "baidu/ernie-4.5-21B-a3b-thinking" | "baidu/ernie-4.5-300b-a47b-paddle" | "baidu/ernie-4.5-vl-28b-a3b-thinking" | "google/gemma-4-31b-it" | "google/gemma-4-26b-a4b-it" | "google/gemma-3-12b-it" | "google/gemma-3-27b-it" | "microsoft/wizardlm-2-8x22b" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "sao10K/l31-70b-euryale-v2.2" | "sao10K/L3-8B-stheno-v3.2" | "sao10K/l3-8b-lunaris" | "sao10K/l3-70b-euryale-v2.1" | "baichuan/baichuan-m2-32b" | "mistralai/mistral-nemo" | "xiaomimimo/mimo-v2-flash" | "xiaomimimo/mimo-v2-pro" | "xiaomimimo/mimo-v2.5-pro" | "gryphe/mythomax-l2-13b" | "zai-org/glm-4.7" | "zai-org/glm-4.5v" | "zai-org/glm-4.5" | "zai-org/autoglm-phone-9b-multilingual" | "zai-org/glm-5.1" | "zai-org/glm-4.6" | "zai-org/glm-4.6v" | "zai-org/glm-4.5-air" | "zai-org/glm-4.7-flash" | "zai-org/glm-5" | "paddlepaddle/paddleocr-vl" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-235b-a22b-instruct-2507" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-8b-fp8" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3-omni-30b-a3b-thinking" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen2.5-7b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen-mt-plus" | "qwen/qwen3-32b-fp8" | "qwen/qwen3-4b-fp8" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3-30b-a3b-fp8" | "qwen/qwen3.5-27b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen3-coder-next" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3-coder-480b-a35b-instruct" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-omni-30b-a3b-instruct" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3-235b-a22b-fp8" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3-0324" | "deepseek/deepseek-ocr" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-r1-turbo" | "deepseek/deepseek-prover-v2-671b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-ocr-2" | "deepseek/deepseek-r1-distill-qwen-14b" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-r1-0528-qwen3-8b" | "deepseek/deepseek-r1-distill-qwen-32b" | "deepseek/deepseek-v3-turbo" | "deepseek/deepseek-v3.2" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "kwaipilot/kat-coder-pro" | "nousresearch/hermes-2-pro-llama-3-8b";
|
|
3
|
-
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Llama 3.1 8B Instruct" | "Llama3 70B Instruct" | "Llama 4 Scout Instruct" | "Llama 3.3 70B Instruct" | "Llama 3 8B Instruct" | "Llama 3.2 3B Instruct" | "Llama 4 Maverick Instruct" | "Kimi K2 Instruct" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "MiniMax M1" | "ERNIE 4.5 VL 28B A3B" | "ERNIE 4.5 21B A3B" | "ERNIE 4.5 VL 424B A47B" | "ERNIE-4.5-21B-A3B-Thinking" | "ERNIE 4.5 300B A47B" | "ERNIE-4.5-VL-28B-A3B-Thinking" | "Gemma 4 31B" | "Gemma 4 26B A4B" | "Gemma 3 12B" | "Gemma 3 27B" | "Wizardlm 2 8x22B" | "OpenAI GPT OSS 120B" | "OpenAI: GPT OSS 20B" | "L31 70B Euryale V2.2" | "L3 8B Stheno V3.2" | "Sao10k L3 8B Lunaris\t" | "L3 70B Euryale V2.1\t" | "baichuan-m2-32b" | "Mistral Nemo" | "XiaomiMiMo/MiMo-V2-Flash" | "MiMo-V2-Pro" | "MiMo-V2.5-Pro" | "Mythomax L2 13B" | "GLM-4.7" | "GLM 4.5V" | "GLM-4.5" | "AutoGLM-Phone-9B-Multilingual" | "GLM-5.1" | "GLM 4.6" | "GLM 4.6V" | "GLM 4.5 Air" | "GLM-4.7-Flash" | "GLM-5" | "PaddleOCR-VL" | "Qwen3 VL 235B A22B Thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder 30b A3B Instruct" | "Qwen3 8B" | "Qwen3 Next 80B A3B Instruct" | "qwen/qwen3-vl-8b-instruct" | "Qwen3 Omni 30B A3B Thinking" | "Qwen3.7-Max" | "Qwen3 Max" | "Qwen2.5 7B Instruct" | "Qwen3 Next 80B A3B Thinking" | "Qwen3 235B A22b Thinking 2507" | "Qwen MT Plus" | "Qwen3 32B" | "Qwen3 4B" | "Qwen2.5 VL 72B Instruct" | "Qwen3 30B A3B" | "Qwen3.5-27B" | "Qwen 2.5 72B Instruct" | "Qwen3 Coder Next" | "Qwen3.5-35B-A3B" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3.5-397B-A17B" | "qwen/qwen3-vl-30b-a3b-instruct" | "Qwen3 Omni 30B A3B Instruct" | "Qwen3 VL 235B A22B Instruct" | "Qwen3.5-122B-A10B" | "Qwen3 235B A22B" | "DeepSeek R1 0528" | "DeepSeek V4 Flash" | "Deepseek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek-OCR" | "DeepSeek R1 Distill LLama 70B" | "DeepSeek R1 (Turbo)\t" | "Deepseek Prover V2 671B" | "DeepSeek V4 Pro" | "Deepseek V3.2 Exp" | "deepseek/deepseek-ocr-2" | "DeepSeek R1 Distill Qwen 14B" | "DeepSeek V3.1" | "DeepSeek R1 0528 Qwen3 8B" | "DeepSeek R1 Distill Qwen 32B" | "DeepSeek V3 (Turbo)\t" | "Deepseek V3.2" | "MiniMax-M2.7-highspeed" | "MiniMax M2.5" | "Minimax M2.1" | "MiniMax-M2" | "MiniMax M2.7" | "MiniMax M2.5 Highspeed" | "Kat Coder Pro" | "Hermes 2 Pro Llama 3 8B";
|
|
2
|
+
export type ModelId="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3-70b-instruct" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-3.2-3b-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct-fp8" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "minimaxai/minimax-m1-80k" | "baidu/ernie-4.5-vl-28b-a3b" | "baidu/ernie-4.5-21B-a3b" | "baidu/ernie-4.5-vl-424b-a47b" | "baidu/ernie-4.5-21B-a3b-thinking" | "baidu/ernie-4.5-300b-a47b-paddle" | "baidu/ernie-4.5-vl-28b-a3b-thinking" | "google/gemma-4-31b-it" | "google/gemma-4-26b-a4b-it" | "google/gemma-3-12b-it" | "google/gemma-3-27b-it" | "microsoft/wizardlm-2-8x22b" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "sao10K/l31-70b-euryale-v2.2" | "sao10K/L3-8B-stheno-v3.2" | "sao10K/l3-8b-lunaris" | "sao10K/l3-70b-euryale-v2.1" | "baichuan/baichuan-m2-32b" | "mistralai/mistral-nemo" | "xiaomimimo/mimo-v2-flash" | "xiaomimimo/mimo-v2-pro" | "xiaomimimo/mimo-v2.5-pro" | "gryphe/mythomax-l2-13b" | "zai-org/glm-4.7" | "zai-org/glm-4.5v" | "zai-org/glm-4.5" | "zai-org/autoglm-phone-9b-multilingual" | "zai-org/glm-5.1" | "zai-org/glm-4.6" | "zai-org/glm-5.2" | "zai-org/glm-4.6v" | "zai-org/glm-4.5-air" | "zai-org/glm-4.7-flash" | "zai-org/glm-5" | "paddlepaddle/paddleocr-vl" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-235b-a22b-instruct-2507" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-8b-fp8" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3-omni-30b-a3b-thinking" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen2.5-7b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen-mt-plus" | "qwen/qwen3-32b-fp8" | "qwen/qwen3-4b-fp8" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3-30b-a3b-fp8" | "qwen/qwen3.5-27b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen3-coder-next" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3-coder-480b-a35b-instruct" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-omni-30b-a3b-instruct" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3-235b-a22b-fp8" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3-0324" | "deepseek/deepseek-ocr" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-r1-turbo" | "deepseek/deepseek-prover-v2-671b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-ocr-2" | "deepseek/deepseek-r1-distill-qwen-14b" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-r1-0528-qwen3-8b" | "deepseek/deepseek-r1-distill-qwen-32b" | "deepseek/deepseek-v3-turbo" | "deepseek/deepseek-v3.2" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "kwaipilot/kat-coder-pro" | "nousresearch/hermes-2-pro-llama-3-8b";
|
|
3
|
+
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Llama 3.1 8B Instruct" | "Llama3 70B Instruct" | "Llama 4 Scout Instruct" | "Llama 3.3 70B Instruct" | "Llama 3 8B Instruct" | "Llama 3.2 3B Instruct" | "Llama 4 Maverick Instruct" | "Kimi K2 Instruct" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "MiniMax M1" | "ERNIE 4.5 VL 28B A3B" | "ERNIE 4.5 21B A3B" | "ERNIE 4.5 VL 424B A47B" | "ERNIE-4.5-21B-A3B-Thinking" | "ERNIE 4.5 300B A47B" | "ERNIE-4.5-VL-28B-A3B-Thinking" | "Gemma 4 31B" | "Gemma 4 26B A4B" | "Gemma 3 12B" | "Gemma 3 27B" | "Wizardlm 2 8x22B" | "OpenAI GPT OSS 120B" | "OpenAI: GPT OSS 20B" | "L31 70B Euryale V2.2" | "L3 8B Stheno V3.2" | "Sao10k L3 8B Lunaris\t" | "L3 70B Euryale V2.1\t" | "baichuan-m2-32b" | "Mistral Nemo" | "XiaomiMiMo/MiMo-V2-Flash" | "MiMo-V2-Pro" | "MiMo-V2.5-Pro" | "Mythomax L2 13B" | "GLM-4.7" | "GLM 4.5V" | "GLM-4.5" | "AutoGLM-Phone-9B-Multilingual" | "GLM-5.1" | "GLM 4.6" | "GLM-5.2" | "GLM 4.6V" | "GLM 4.5 Air" | "GLM-4.7-Flash" | "GLM-5" | "PaddleOCR-VL" | "Qwen3 VL 235B A22B Thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder 30b A3B Instruct" | "Qwen3 8B" | "Qwen3 Next 80B A3B Instruct" | "qwen/qwen3-vl-8b-instruct" | "Qwen3 Omni 30B A3B Thinking" | "Qwen3.7-Max" | "Qwen3 Max" | "Qwen2.5 7B Instruct" | "Qwen3 Next 80B A3B Thinking" | "Qwen3 235B A22b Thinking 2507" | "Qwen MT Plus" | "Qwen3 32B" | "Qwen3 4B" | "Qwen2.5 VL 72B Instruct" | "Qwen3 30B A3B" | "Qwen3.5-27B" | "Qwen 2.5 72B Instruct" | "Qwen3 Coder Next" | "Qwen3.5-35B-A3B" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3.5-397B-A17B" | "qwen/qwen3-vl-30b-a3b-instruct" | "Qwen3 Omni 30B A3B Instruct" | "Qwen3 VL 235B A22B Instruct" | "Qwen3.5-122B-A10B" | "Qwen3 235B A22B" | "DeepSeek R1 0528" | "DeepSeek V4 Flash" | "Deepseek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek-OCR" | "DeepSeek R1 Distill LLama 70B" | "DeepSeek R1 (Turbo)\t" | "Deepseek Prover V2 671B" | "DeepSeek V4 Pro" | "Deepseek V3.2 Exp" | "deepseek/deepseek-ocr-2" | "DeepSeek R1 Distill Qwen 14B" | "DeepSeek V3.1" | "DeepSeek R1 0528 Qwen3 8B" | "DeepSeek R1 Distill Qwen 32B" | "DeepSeek V3 (Turbo)\t" | "Deepseek V3.2" | "MiniMax-M2.7-highspeed" | "MiniMax M2.5" | "Minimax M2.1" | "MiniMax-M2" | "MiniMax M2.7" | "MiniMax M2.5 Highspeed" | "Kat Coder Pro" | "Hermes 2 Pro Llama 3 8B";
|
|
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="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "ibm-granite/granite-4.0-h-micro" | "ibm-granite/granite-4.1-8b" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3.1-70b-instruct" | "meta-llama/llama-3.2-1b-instruct" | "meta-llama/llama-4-maverick" | "meta-llama/llama-3.2-11b-vision-instruct" | "meta-llama/llama-3.3-70b-instruct:free" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3.2-3b-instruct:free" | "meta-llama/llama-guard-4-12b" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-4-scout" | "meta-llama/llama-3.2-3b-instruct" | "~anthropic/claude-haiku-latest" | "~anthropic/claude-fable-latest" | "~anthropic/claude-sonnet-latest" | "~anthropic/claude-opus-latest" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "baidu/ernie-4.5-vl-424b-a47b" | "perceptron/perceptron-mk1" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemma-3n-e4b-it" | "google/gemma-4-26b-a4b-it:free" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-2.5-flash-lite-preview-09-2025" | "google/gemma-4-31b-it" | "google/lyria-3-clip-preview" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-3-pro-image-preview" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-2.5-pro-preview-05-06" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-2.5-pro-preview" | "google/gemini-3-flash-preview" | "google/gemma-3-12b-it" | "google/gemma-3-4b-it" | "google/gemma-3-27b-it" | "google/lyria-3-pro-preview" | "google/gemma-4-31b-it:free" | "google/gemma-2-27b-it" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "liquid/lfm-2.5-1.2b-thinking:free" | "liquid/lfm-2-24b-a2b" | "liquid/lfm-2.5-1.2b-instruct:free" | "x-ai/grok-4.20" | "x-ai/grok-4.3" | "x-ai/grok-4.20-multi-agent" | "x-ai/grok-build-0.1" | "~google/gemini-pro-latest" | "~google/gemini-flash-latest" | "microsoft/phi-4-mini-instruct" | "microsoft/phi-4" | "microsoft/wizardlm-2-8x22b" | "poolside/laguna-xs.2" | "poolside/laguna-xs.2:free" | "poolside/laguna-m.1" | "poolside/laguna-m.1:free" | "writer/palmyra-x5" | "z-ai/glm-4.7" | "z-ai/glm-4.5v" | "z-ai/glm-4.5" | "z-ai/glm-5.1" | "z-ai/glm-4.6" | "z-ai/glm-5.2" | "z-ai/glm-4.6v" | "z-ai/glm-4.5-air" | "z-ai/glm-4.7-flash" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-4o-mini-2024-07-18" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/o3" | "openai/o4-mini-high" | "openai/gpt-audio" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/gpt-3.5-turbo-16k" | "openai/o3-pro" | "openai/gpt-5.1-chat" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-3.5-turbo-0613" | "openai/gpt-5-image-mini" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-oss-120b:free" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-audio-mini" | "openai/gpt-5.1-codex-mini" | "openai/o4-mini-deep-research" | "openai/gpt-4.1-nano" | "openai/gpt-oss-120b" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/o1-pro" | "openai/gpt-chat-latest" | "openai/gpt-5-image" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/o3-deep-research" | "openai/gpt-4-turbo-preview" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-4-turbo" | "openai/gpt-5-nano" | "openai/gpt-5.4-pro" | "openai/o3-mini-high" | "openai/gpt-5.4-image-2" | "openai/gpt-4o-search-preview" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-oss-20b" | "openai/gpt-5-codex" | "openai/gpt-5.2-codex" | "openai/gpt-oss-20b:free" | "openai/gpt-5.1" | "openai/gpt-5.5" | "thedrummer/cydonia-24b-v4.1" | "thedrummer/skyfall-36b-v2" | "thedrummer/unslopnemo-12b" | "thedrummer/rocinante-12b" | "bytedance/ui-tars-1.5-7b" | "rekaai/reka-flash-3" | "rekaai/reka-edge" | "mistralai/mistral-large-2407" | "mistralai/mistral-small-3.2-24b-instruct" | "mistralai/mistral-nemo" | "mistralai/mistral-medium-3-5" | "mistralai/ministral-8b-2512" | "mistralai/mistral-small-3.1-24b-instruct" | "mistralai/mistral-saba" | "mistralai/mistral-large" | "mistralai/mistral-medium-3.1" | "mistralai/mistral-small-24b-instruct-2501" | "mistralai/ministral-3b-2512" | "mistralai/mistral-small-2603" | "mistralai/ministral-14b-2512" | "mistralai/devstral-2512" | "mistralai/mixtral-8x22b-instruct" | "mistralai/mistral-medium-3" | "mistralai/voxtral-small-24b-2507" | "mistralai/mistral-large-2512" | "mistralai/codestral-2508" | "morph/morph-v3-fast" | "morph/morph-v3-large" | "bytedance-seed/seed-1.6-flash" | "bytedance-seed/seed-1.6" | "bytedance-seed/seed-2.0-mini" | "bytedance-seed/seed-2.0-lite" | "anthracite-org/magnum-v4-72b" | "nvidia/nemotron-3-nano-30b-a3b:free" | "nvidia/nemotron-nano-9b-v2:free" | "nvidia/nemotron-nano-12b-v2-vl:free" | "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free" | "nvidia/nemotron-3-ultra-550b-a55b:free" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3.5-content-safety:free" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/llama-3.3-nemotron-super-49b-v1.5" | "nvidia/nemotron-3-super-120b-a12b:free" | "nvidia/nemotron-3-super-120b-a12b" | "cognitivecomputations/dolphin-mistral-24b-venice-edition:free" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-2" | "anthropic/claude-
|
|
3
|
-
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Granite 4.0 Micro" | "Granite 4.1 8B" | "Llama 3.1 8B Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 1B Instruct" | "Llama 4 Maverick" | "Llama 3.2 11B Vision Instruct" | "Llama 3.3 70B Instruct (free)" | "Llama-3.3-70B-Instruct" | "Llama 3.2 3B Instruct (free)" | "Llama Guard 4 12B" | "Llama 3 8B Instruct" | "Llama 4 Scout" | "Llama 3.2 3B Instruct" | "Anthropic Claude Haiku Latest" | "Claude Fable Latest" | "Anthropic Claude Sonnet Latest" | "Claude Opus Latest" | "Kimi K2 0711" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "ERNIE 4.5 VL 424B A47B " | "Perceptron Mk1" | "Gemini 3.1 Flash Lite" | "Nano Banana 2 (Gemini 3.1 Flash Image)" | "Gemma 3n 4B" | "Gemma 4 26B A4B (free)" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview 09-2025" | "Gemma 4 31B IT" | "Lyria 3 Clip Preview" | "Gemini 3.1 Pro Preview Custom Tools" | "Nano Banana Pro" | "Nano Banana" | "Gemini 2.5 Flash-Lite" | "Nano Banana 2" | "Gemini 2.5 Pro Preview 05-06" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 2.5 Pro Preview 06-05" | "Gemini 3 Flash Preview" | "Gemma 3 12B" | "Gemma 3 4B" | "Gemma 3 27B" | "Lyria 3 Pro Preview" | "Gemma 4 31B (free)" | "Gemma 2 27B" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "LFM2.5-1.2B-Thinking (free)" | "LFM2-24B-A2B" | "LFM2.5-1.2B-Instruct (free)" | "Grok 4.20" | "Grok 4.3" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Google Gemini Pro Latest" | "Google Gemini Flash Latest" | "Phi 4 Mini Instruct" | "Phi 4" | "WizardLM-2 8x22B" | "Laguna XS.2" | "Laguna XS.2 (free)" | "Laguna M.1" | "Laguna M.1 (free)" | "Palmyra X5" | "GLM-4.7" | "GLM-4.5V" | "GLM-4.5" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.6V" | "GLM-4.5-Air" | "GLM-4.7-Flash" | "GLM-5" | "GLM-5-Turbo" | "GPT-4o-mini (2024-07-18)" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "o3" | "o4 Mini High" | "GPT Audio" | "GPT-5.2 Pro" | "GPT-4o-mini Search Preview" | "GPT-5" | "GPT-5 Chat" | "GPT-3.5-turbo" | "GPT-5 Pro" | "GPT-4o" | "GPT-4" | "o4-mini" | "GPT-3.5 Turbo 16k" | "o3-pro" | "GPT-5.1 Chat" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5.3 Chat" | "GPT-3.5 Turbo (older v0613)" | "GPT-5 Image Mini" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "gpt-oss-120b (free)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT Audio Mini" | "GPT-5.1 Codex mini" | "o4-mini-deep-research" | "GPT-4.1 nano" | "gpt-oss-120b" | "GPT-4o (2024-11-20)" | "o1" | "o1-pro" | "GPT Chat Latest" | "GPT-5 Image" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "o3-deep-research" | "GPT-4 Turbo Preview" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "GPT-5.4 Pro" | "o3 Mini High" | "GPT-5.4 Image 2" | "GPT-4o Search Preview" | "GPT-5.5 Pro" | "GPT-4o mini" | "gpt-oss-20b" | "GPT-5-Codex" | "GPT-5.2 Codex" | "gpt-oss-20b (free)" | "GPT-5.1" | "GPT-5.5" | "Cydonia 24B V4.1" | "Skyfall 36B V2" | "UnslopNemo 12B" | "Rocinante 12B" | "UI-TARS 7B " | "Reka Flash 3" | "Reka Edge" | "Mistral Large 2407" | "Mistral Small 3.2 24B" | "Mistral Nemo" | "Mistral Medium 3.5" | "Ministral 3 8B 2512" | "Mistral Small 3.1 24B" | "Saba" | "Mistral Large" | "Mistral Medium 3.1" | "Mistral Small 3" | "Ministral 3 3B 2512" | "Mistral Small 4" | "Ministral 3 14B 2512" | "Devstral 2" | "Mixtral 8x22B Instruct" | "Mistral Medium 3" | "Voxtral Small 24B 2507" | "Mistral Large 3" | "Codestral 2508" | "Morph V3 Fast" | "Morph V3 Large" | "Seed 1.6 Flash" | "Seed 1.6" | "Seed-2.0-Mini" | "Seed-2.0-Lite" | "Magnum v4 72B" | "Nemotron 3 Nano 30B A3B (free)" | "Nemotron Nano 9B V2 (free)" | "Nemotron Nano 12B 2 VL (free)" | "Nemotron 3 Nano Omni (free)" | "Nemotron 3 Ultra (free)" | "Nemotron 3 Ultra 550B A55B" | "Nemotron 3.5 Content Safety (free)" | "Nemotron 3 Nano 30B A3B" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Super (free)" | "Nemotron 3 Super 120B A12B" | "Uncensored (free)" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Mercury 2" | "Claude
|
|
2
|
+
export type ModelId="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "ibm-granite/granite-4.0-h-micro" | "ibm-granite/granite-4.1-8b" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3.1-70b-instruct" | "meta-llama/llama-3.2-1b-instruct" | "meta-llama/llama-4-maverick" | "meta-llama/llama-3.2-11b-vision-instruct" | "meta-llama/llama-3.3-70b-instruct:free" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3.2-3b-instruct:free" | "meta-llama/llama-guard-4-12b" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-4-scout" | "meta-llama/llama-3.2-3b-instruct" | "~anthropic/claude-haiku-latest" | "~anthropic/claude-fable-latest" | "~anthropic/claude-sonnet-latest" | "~anthropic/claude-opus-latest" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "baidu/ernie-4.5-vl-424b-a47b" | "perceptron/perceptron-mk1" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemma-3n-e4b-it" | "google/gemma-4-26b-a4b-it:free" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-2.5-flash-lite-preview-09-2025" | "google/gemma-4-31b-it" | "google/lyria-3-clip-preview" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-3-pro-image-preview" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-2.5-pro-preview-05-06" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-2.5-pro-preview" | "google/gemini-3-flash-preview" | "google/gemma-3-12b-it" | "google/gemma-3-4b-it" | "google/gemma-3-27b-it" | "google/lyria-3-pro-preview" | "google/gemma-4-31b-it:free" | "google/gemma-2-27b-it" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "liquid/lfm-2.5-1.2b-thinking:free" | "liquid/lfm-2-24b-a2b" | "liquid/lfm-2.5-1.2b-instruct:free" | "x-ai/grok-4.20" | "x-ai/grok-4.3" | "x-ai/grok-4.20-multi-agent" | "x-ai/grok-build-0.1" | "~google/gemini-pro-latest" | "~google/gemini-flash-latest" | "microsoft/phi-4-mini-instruct" | "microsoft/phi-4" | "microsoft/wizardlm-2-8x22b" | "poolside/laguna-xs.2" | "poolside/laguna-xs.2:free" | "poolside/laguna-m.1" | "poolside/laguna-m.1:free" | "writer/palmyra-x5" | "z-ai/glm-4.7" | "z-ai/glm-4.5v" | "z-ai/glm-4.5" | "z-ai/glm-5.1" | "z-ai/glm-4.6" | "z-ai/glm-5.2" | "z-ai/glm-4.6v" | "z-ai/glm-4.5-air" | "z-ai/glm-4.7-flash" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-4o-mini-2024-07-18" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/o3" | "openai/o4-mini-high" | "openai/gpt-audio" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/gpt-3.5-turbo-16k" | "openai/o3-pro" | "openai/gpt-5.1-chat" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-3.5-turbo-0613" | "openai/gpt-5-image-mini" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-oss-120b:free" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-audio-mini" | "openai/gpt-5.1-codex-mini" | "openai/o4-mini-deep-research" | "openai/gpt-4.1-nano" | "openai/gpt-oss-120b" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/o1-pro" | "openai/gpt-chat-latest" | "openai/gpt-5-image" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/o3-deep-research" | "openai/gpt-4-turbo-preview" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-4-turbo" | "openai/gpt-5-nano" | "openai/gpt-5.4-pro" | "openai/o3-mini-high" | "openai/gpt-5.4-image-2" | "openai/gpt-4o-search-preview" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-oss-20b" | "openai/gpt-5-codex" | "openai/gpt-5.2-codex" | "openai/gpt-oss-20b:free" | "openai/gpt-5.1" | "openai/gpt-5.5" | "thedrummer/cydonia-24b-v4.1" | "thedrummer/skyfall-36b-v2" | "thedrummer/unslopnemo-12b" | "thedrummer/rocinante-12b" | "bytedance/ui-tars-1.5-7b" | "rekaai/reka-flash-3" | "rekaai/reka-edge" | "mistralai/mistral-large-2407" | "mistralai/mistral-small-3.2-24b-instruct" | "mistralai/mistral-nemo" | "mistralai/mistral-medium-3-5" | "mistralai/ministral-8b-2512" | "mistralai/mistral-small-3.1-24b-instruct" | "mistralai/mistral-saba" | "mistralai/mistral-large" | "mistralai/mistral-medium-3.1" | "mistralai/mistral-small-24b-instruct-2501" | "mistralai/ministral-3b-2512" | "mistralai/mistral-small-2603" | "mistralai/ministral-14b-2512" | "mistralai/devstral-2512" | "mistralai/mixtral-8x22b-instruct" | "mistralai/mistral-medium-3" | "mistralai/voxtral-small-24b-2507" | "mistralai/mistral-large-2512" | "mistralai/codestral-2508" | "morph/morph-v3-fast" | "morph/morph-v3-large" | "bytedance-seed/seed-1.6-flash" | "bytedance-seed/seed-1.6" | "bytedance-seed/seed-2.0-mini" | "bytedance-seed/seed-2.0-lite" | "anthracite-org/magnum-v4-72b" | "nvidia/nemotron-3-nano-30b-a3b:free" | "nvidia/nemotron-nano-9b-v2:free" | "nvidia/nemotron-nano-12b-v2-vl:free" | "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free" | "nvidia/nemotron-3-ultra-550b-a55b:free" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3.5-content-safety:free" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/llama-3.3-nemotron-super-49b-v1.5" | "nvidia/nemotron-3-super-120b-a12b:free" | "nvidia/nemotron-3-super-120b-a12b" | "cognitivecomputations/dolphin-mistral-24b-venice-edition:free" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-2" | "anthropic/claude-sonnet-4.5" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4.6-fast" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7-fast" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-opus-4.1" | "anthropic/claude-opus-4.5" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-3-haiku" | "anthropic/claude-opus-4" | "anthropic/claude-opus-4.8-fast" | "anthropic/claude-opus-4.6" | "tencent/hunyuan-a13b-instruct" | "tencent/hy3-preview" | "deepcogito/cogito-v2.1-671b" | "cohere/command-a" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "cohere/north-mini-code:free" | "gryphe/mythomax-l2-13b" | "stepfun/step-3.7-flash" | "stepfun/step-3.5-flash" | "prime-intellect/intellect-3" | "nex-agi/nex-n2-pro" | "undi95/remm-slerp-l2-13b" | "~openai/gpt-mini-latest" | "~openai/gpt-latest" | "~moonshotai/kimi-latest" | "relace/relace-search" | "relace/relace-apply-3" | "ai21/jamba-large-1.7" | "arcee-ai/coder-large" | "arcee-ai/virtuoso-large" | "arcee-ai/trinity-large-thinking" | "arcee-ai/trinity-mini" | "mancer/weaver" | "perplexity/sonar-reasoning-pro" | "perplexity/sonar" | "perplexity/sonar-pro" | "perplexity/sonar-pro-search" | "perplexity/sonar-deep-research" | "switchpoint/router" | "openrouter/free" | "openrouter/owl-alpha" | "qwen/qwen3.5-plus-20260420" | "qwen/qwen3-next-80b-a3b-instruct:free" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-coder-plus" | "qwen/qwen-plus" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-32b" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3.7-plus" | "qwen/qwen3.6-35b-a3b" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen3-8b" | "qwen/qwen-plus-2025-07-28" | "qwen/qwen3.5-flash-02-23" | "qwen/qwen3-coder:free" | "qwen/qwen3-30b-a3b-instruct-2507" | "qwen/qwen-2.5-coder-32b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen3-vl-32b-instruct" | "qwen/qwen3-coder" | "qwen/qwen3.6-flash" | "qwen/qwen3.5-plus-02-15" | "qwen/qwen-2.5-7b-instruct" | "qwen/qwen3-vl-8b-thinking" | "qwen/qwen3-max-thinking" | "qwen/qwen3-30b-a3b-thinking-2507" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3.5-27b" | "qwen/qwen3-235b-a22b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen-plus-2025-07-28:thinking" | "qwen/qwen3-coder-next" | "qwen/qwen3.6-27b" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3.5-9b" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-235b-a22b-2507" | "qwen/qwen3-coder-flash" | "qwen/qwen3-14b" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3-30b-a3b" | "qwen/qwen3.6-max-preview" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3.6-plus" | "amazon/nova-lite-v1" | "amazon/nova-premier-v1" | "amazon/nova-pro-v1" | "amazon/nova-micro-v1" | "amazon/nova-2-lite-v1" | "aion-labs/aion-rp-llama-3.1-8b" | "aion-labs/aion-1.0-mini" | "aion-labs/aion-2.0" | "aion-labs/aion-1.0" | "inflection/inflection-3-pi" | "inflection/inflection-3-productivity" | "sao10k/l3.1-euryale-70b" | "sao10k/l3.3-euryale-70b" | "sao10k/l3-lunaris-8b" | "sao10k/l3.1-70b-hanami-x1" | "upstage/solar-pro-3" | "allenai/olmo-3-32b-think" | "essentialai/rnj-1-instruct" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-r1" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-chat-v3-0324" | "deepseek/deepseek-chat" | "deepseek/deepseek-v3.2" | "deepseek/deepseek-chat-v3.1" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-01" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2-her" | "minimax/minimax-m2.7" | "minimax/minimax-m1" | "kwaipilot/kat-coder-pro-v2" | "nousresearch/hermes-3-llama-3.1-405b:free" | "nousresearch/hermes-4-405b" | "nousresearch/hermes-3-llama-3.1-70b" | "nousresearch/hermes-3-llama-3.1-405b" | "nousresearch/hermes-4-70b";
|
|
3
|
+
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Granite 4.0 Micro" | "Granite 4.1 8B" | "Llama 3.1 8B Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 1B Instruct" | "Llama 4 Maverick" | "Llama 3.2 11B Vision Instruct" | "Llama 3.3 70B Instruct (free)" | "Llama-3.3-70B-Instruct" | "Llama 3.2 3B Instruct (free)" | "Llama Guard 4 12B" | "Llama 3 8B Instruct" | "Llama 4 Scout" | "Llama 3.2 3B Instruct" | "Anthropic Claude Haiku Latest" | "Claude Fable Latest" | "Anthropic Claude Sonnet Latest" | "Claude Opus Latest" | "Kimi K2 0711" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "ERNIE 4.5 VL 424B A47B " | "Perceptron Mk1" | "Gemini 3.1 Flash Lite" | "Nano Banana 2 (Gemini 3.1 Flash Image)" | "Gemma 3n 4B" | "Gemma 4 26B A4B (free)" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview 09-2025" | "Gemma 4 31B IT" | "Lyria 3 Clip Preview" | "Gemini 3.1 Pro Preview Custom Tools" | "Nano Banana Pro" | "Nano Banana" | "Gemini 2.5 Flash-Lite" | "Nano Banana 2" | "Gemini 2.5 Pro Preview 05-06" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 2.5 Pro Preview 06-05" | "Gemini 3 Flash Preview" | "Gemma 3 12B" | "Gemma 3 4B" | "Gemma 3 27B" | "Lyria 3 Pro Preview" | "Gemma 4 31B (free)" | "Gemma 2 27B" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "LFM2.5-1.2B-Thinking (free)" | "LFM2-24B-A2B" | "LFM2.5-1.2B-Instruct (free)" | "Grok 4.20" | "Grok 4.3" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Google Gemini Pro Latest" | "Google Gemini Flash Latest" | "Phi 4 Mini Instruct" | "Phi 4" | "WizardLM-2 8x22B" | "Laguna XS.2" | "Laguna XS.2 (free)" | "Laguna M.1" | "Laguna M.1 (free)" | "Palmyra X5" | "GLM-4.7" | "GLM-4.5V" | "GLM-4.5" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.6V" | "GLM-4.5-Air" | "GLM-4.7-Flash" | "GLM-5" | "GLM-5-Turbo" | "GPT-4o-mini (2024-07-18)" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "o3" | "o4 Mini High" | "GPT Audio" | "GPT-5.2 Pro" | "GPT-4o-mini Search Preview" | "GPT-5" | "GPT-5 Chat" | "GPT-3.5-turbo" | "GPT-5 Pro" | "GPT-4o" | "GPT-4" | "o4-mini" | "GPT-3.5 Turbo 16k" | "o3-pro" | "GPT-5.1 Chat" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5.3 Chat" | "GPT-3.5 Turbo (older v0613)" | "GPT-5 Image Mini" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "gpt-oss-120b (free)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT Audio Mini" | "GPT-5.1 Codex mini" | "o4-mini-deep-research" | "GPT-4.1 nano" | "gpt-oss-120b" | "GPT-4o (2024-11-20)" | "o1" | "o1-pro" | "GPT Chat Latest" | "GPT-5 Image" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "o3-deep-research" | "GPT-4 Turbo Preview" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "GPT-5.4 Pro" | "o3 Mini High" | "GPT-5.4 Image 2" | "GPT-4o Search Preview" | "GPT-5.5 Pro" | "GPT-4o mini" | "gpt-oss-20b" | "GPT-5-Codex" | "GPT-5.2 Codex" | "gpt-oss-20b (free)" | "GPT-5.1" | "GPT-5.5" | "Cydonia 24B V4.1" | "Skyfall 36B V2" | "UnslopNemo 12B" | "Rocinante 12B" | "UI-TARS 7B " | "Reka Flash 3" | "Reka Edge" | "Mistral Large 2407" | "Mistral Small 3.2 24B" | "Mistral Nemo" | "Mistral Medium 3.5" | "Ministral 3 8B 2512" | "Mistral Small 3.1 24B" | "Saba" | "Mistral Large" | "Mistral Medium 3.1" | "Mistral Small 3" | "Ministral 3 3B 2512" | "Mistral Small 4" | "Ministral 3 14B 2512" | "Devstral 2" | "Mixtral 8x22B Instruct" | "Mistral Medium 3" | "Voxtral Small 24B 2507" | "Mistral Large 3" | "Codestral 2508" | "Morph V3 Fast" | "Morph V3 Large" | "Seed 1.6 Flash" | "Seed 1.6" | "Seed-2.0-Mini" | "Seed-2.0-Lite" | "Magnum v4 72B" | "Nemotron 3 Nano 30B A3B (free)" | "Nemotron Nano 9B V2 (free)" | "Nemotron Nano 12B 2 VL (free)" | "Nemotron 3 Nano Omni (free)" | "Nemotron 3 Ultra (free)" | "Nemotron 3 Ultra 550B A55B" | "Nemotron 3.5 Content Safety (free)" | "Nemotron 3 Nano 30B A3B" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Super (free)" | "Nemotron 3 Super 120B A12B" | "Uncensored (free)" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Mercury 2" | "Claude Sonnet 4.5 (latest)" | "Claude Sonnet 4" | "Claude Opus 4.6 (Fast)" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.7 (Fast)" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Opus 4.1 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.6" | "Claude 3 Haiku" | "Claude Opus 4" | "Claude Opus 4.8 (Fast)" | "Claude Opus 4.6" | "Hunyuan A13B Instruct" | "Hy3 preview" | "Cogito v2.1 671B" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "North Mini Code (free)" | "MythoMax 13B" | "Step 3.7 Flash" | "Step 3.5 Flash" | "INTELLECT-3" | "Nex-N2-Pro" | "ReMM SLERP 13B" | "OpenAI GPT Mini Latest" | "OpenAI GPT Latest" | "MoonshotAI Kimi Latest" | "Relace Search" | "Relace Apply 3" | "Jamba Large 1.7" | "Coder Large" | "Virtuoso Large" | "Trinity Large Thinking" | "Trinity Mini" | "Weaver (alpha)" | "Sonar Reasoning Pro" | "Sonar" | "Sonar Pro" | "Sonar Pro Search" | "Sonar Deep Research" | "Switchpoint Router" | "Free Models Router" | "Owl Alpha" | "Qwen3.5 Plus 2026-04-20" | "Qwen3 Next 80B A3B Instruct (free)" | "Qwen3 VL 235B A22B Thinking" | "Qwen3 VL 30B A3B Thinking" | "Qwen3 Coder Plus" | "Qwen Plus" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 32B" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "Qwen3.7 Plus" | "Qwen3.6 35B-A3B" | "Qwen3.7 Max" | "Qwen3 Max" | "Qwen3 8B" | "Qwen Plus 0728" | "Qwen3.5-Flash" | "Qwen3 Coder 480B A35B (free)" | "Qwen3 30B A3B Instruct 2507" | "Qwen2.5 Coder 32B Instruct" | "Qwen3-Next 80B-A3B (Thinking)" | "Qwen3 235B A22B Thinking 2507" | "Qwen3 VL 32B Instruct" | "Qwen3 Coder 480B A35B" | "Qwen3.6 Flash" | "Qwen3.5 Plus 2026-02-15" | "Qwen2.5 7B Instruct" | "Qwen3 VL 8B Thinking" | "Qwen3 Max Thinking" | "Qwen3 30B A3B Thinking 2507" | "Qwen2.5 VL 72B Instruct" | "Qwen3.5 27B" | "Qwen3 235B-A22B" | "Qwen2.5 72B Instruct" | "Qwen Plus 0728 (thinking)" | "Qwen3 Coder Next" | "Qwen3.6 27B" | "Qwen3.5 35B-A3B" | "Qwen3.5 9B" | "Qwen3.5 397B-A17B" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder Flash" | "Qwen3 14B" | "Qwen3 VL 235B A22B Instruct" | "Qwen3 30B A3B" | "Qwen3.6 Max Preview" | "Qwen3.5 122B-A10B" | "Qwen3.6 Plus" | "Nova Lite 1.0" | "Nova Premier 1.0" | "Nova Pro 1.0" | "Nova Micro 1.0" | "Nova 2 Lite" | "Aion-RP 1.0 (8B)" | "Aion-1.0-Mini" | "Aion-2.0" | "Aion-1.0" | "Inflection 3 Pi" | "Inflection 3 Productivity" | "Llama 3.1 Euryale 70B v2.2" | "Llama 3.3 Euryale 70B" | "Llama 3 8B Lunaris" | "Llama 3.1 70B Hanami x1" | "Solar Pro 3" | "Olmo 3 32B Think" | "Rnj 1 Instruct" | "R1 0528" | "DeepSeek V4 Flash" | "DeepSeek V3.1 Terminus" | "R1 Distill Llama 70B" | "DeepSeek V4 Pro" | "DeepSeek-R1" | "DeepSeek V3.2 Exp" | "DeepSeek V3 0324" | "DeepSeek Chat" | "DeepSeek V3.2" | "DeepSeek V3.1" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-01" | "MiniMax-M3" | "MiniMax-M2" | "MiniMax M2-her" | "MiniMax-M2.7" | "MiniMax M1" | "KAT-Coder-Pro V2" | "Hermes 3 405B Instruct (free)" | "Hermes 4 405B" | "Hermes 3 70B Instruct" | "Hermes 3 405B Instruct" | "Hermes 4 70B";
|
|
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="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "ibm-granite/granite-4.0-h-micro" | "ibm-granite/granite-4.1-8b" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3.1-70b-instruct" | "meta-llama/llama-3.2-1b-instruct" | "meta-llama/llama-4-maverick" | "meta-llama/llama-3.2-11b-vision-instruct" | "meta-llama/llama-3.3-70b-instruct:free" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3.2-3b-instruct:free" | "meta-llama/llama-guard-4-12b" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-4-scout" | "meta-llama/llama-3.2-3b-instruct" | "~anthropic/claude-haiku-latest" | "~anthropic/claude-fable-latest" | "~anthropic/claude-sonnet-latest" | "~anthropic/claude-opus-latest" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "baidu/ernie-4.5-vl-424b-a47b" | "perceptron/perceptron-mk1" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemma-3n-e4b-it" | "google/gemma-4-26b-a4b-it:free" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-2.5-flash-lite-preview-09-2025" | "google/gemma-4-31b-it" | "google/lyria-3-clip-preview" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-3-pro-image-preview" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-2.5-pro-preview-05-06" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-2.5-pro-preview" | "google/gemini-3-flash-preview" | "google/gemma-3-12b-it" | "google/gemma-3-4b-it" | "google/gemma-3-27b-it" | "google/lyria-3-pro-preview" | "google/gemma-4-31b-it:free" | "google/gemma-2-27b-it" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "liquid/lfm-2.5-1.2b-thinking:free" | "liquid/lfm-2-24b-a2b" | "liquid/lfm-2.5-1.2b-instruct:free" | "x-ai/grok-4.20" | "x-ai/grok-4.3" | "x-ai/grok-4.20-multi-agent" | "x-ai/grok-build-0.1" | "~google/gemini-pro-latest" | "~google/gemini-flash-latest" | "microsoft/phi-4-mini-instruct" | "microsoft/phi-4" | "microsoft/wizardlm-2-8x22b" | "poolside/laguna-xs.2" | "poolside/laguna-xs.2:free" | "poolside/laguna-m.1" | "poolside/laguna-m.1:free" | "writer/palmyra-x5" | "z-ai/glm-4.7" | "z-ai/glm-4.5v" | "z-ai/glm-4.5" | "z-ai/glm-5.1" | "z-ai/glm-4.6" | "z-ai/glm-5.2" | "z-ai/glm-4.6v" | "z-ai/glm-4.5-air" | "z-ai/glm-4.7-flash" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-4o-mini-2024-07-18" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/o3" | "openai/o4-mini-high" | "openai/gpt-audio" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/gpt-3.5-turbo-16k" | "openai/o3-pro" | "openai/gpt-5.1-chat" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-3.5-turbo-0613" | "openai/gpt-5-image-mini" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-oss-120b:free" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-audio-mini" | "openai/gpt-5.1-codex-mini" | "openai/o4-mini-deep-research" | "openai/gpt-4.1-nano" | "openai/gpt-oss-120b" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/o1-pro" | "openai/gpt-chat-latest" | "openai/gpt-5-image" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/o3-deep-research" | "openai/gpt-4-turbo-preview" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-4-turbo" | "openai/gpt-5-nano" | "openai/gpt-5.4-pro" | "openai/o3-mini-high" | "openai/gpt-5.4-image-2" | "openai/gpt-4o-search-preview" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-oss-20b" | "openai/gpt-5-codex" | "openai/gpt-5.2-codex" | "openai/gpt-oss-20b:free" | "openai/gpt-5.1" | "openai/gpt-5.5" | "thedrummer/cydonia-24b-v4.1" | "thedrummer/skyfall-36b-v2" | "thedrummer/unslopnemo-12b" | "thedrummer/rocinante-12b" | "bytedance/ui-tars-1.5-7b" | "rekaai/reka-flash-3" | "rekaai/reka-edge" | "mistralai/mistral-large-2407" | "mistralai/mistral-small-3.2-24b-instruct" | "mistralai/mistral-nemo" | "mistralai/mistral-medium-3-5" | "mistralai/ministral-8b-2512" | "mistralai/mistral-small-3.1-24b-instruct" | "mistralai/mistral-saba" | "mistralai/mistral-large" | "mistralai/mistral-medium-3.1" | "mistralai/mistral-small-24b-instruct-2501" | "mistralai/ministral-3b-2512" | "mistralai/mistral-small-2603" | "mistralai/ministral-14b-2512" | "mistralai/devstral-2512" | "mistralai/mixtral-8x22b-instruct" | "mistralai/mistral-medium-3" | "mistralai/voxtral-small-24b-2507" | "mistralai/mistral-large-2512" | "mistralai/codestral-2508" | "morph/morph-v3-fast" | "morph/morph-v3-large" | "bytedance-seed/seed-1.6-flash" | "bytedance-seed/seed-1.6" | "bytedance-seed/seed-2.0-mini" | "bytedance-seed/seed-2.0-lite" | "anthracite-org/magnum-v4-72b" | "nvidia/nemotron-3-nano-30b-a3b:free" | "nvidia/nemotron-nano-9b-v2:free" | "nvidia/nemotron-nano-12b-v2-vl:free" | "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free" | "nvidia/nemotron-3-ultra-550b-a55b:free" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3.5-content-safety:free" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/llama-3.3-nemotron-super-49b-v1.5" | "nvidia/nemotron-3-super-120b-a12b:free" | "nvidia/nemotron-3-super-120b-a12b" | "cognitivecomputations/dolphin-mistral-24b-venice-edition:free" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-2" | "anthropic/claude-
|
|
3
|
-
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Granite 4.0 Micro" | "Granite 4.1 8B" | "Llama 3.1 8B Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 1B Instruct" | "Llama 4 Maverick" | "Llama 3.2 11B Vision Instruct" | "Llama 3.3 70B Instruct (free)" | "Llama-3.3-70B-Instruct" | "Llama 3.2 3B Instruct (free)" | "Llama Guard 4 12B" | "Llama 3 8B Instruct" | "Llama 4 Scout" | "Llama 3.2 3B Instruct" | "Anthropic Claude Haiku Latest" | "Claude Fable Latest" | "Anthropic Claude Sonnet Latest" | "Claude Opus Latest" | "Kimi K2 0711" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "ERNIE 4.5 VL 424B A47B " | "Perceptron Mk1" | "Gemini 3.1 Flash Lite" | "Nano Banana 2 (Gemini 3.1 Flash Image)" | "Gemma 3n 4B" | "Gemma 4 26B A4B (free)" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview 09-2025" | "Gemma 4 31B IT" | "Lyria 3 Clip Preview" | "Gemini 3.1 Pro Preview Custom Tools" | "Nano Banana Pro" | "Nano Banana" | "Gemini 2.5 Flash-Lite" | "Nano Banana 2" | "Gemini 2.5 Pro Preview 05-06" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 2.5 Pro Preview 06-05" | "Gemini 3 Flash Preview" | "Gemma 3 12B" | "Gemma 3 4B" | "Gemma 3 27B" | "Lyria 3 Pro Preview" | "Gemma 4 31B (free)" | "Gemma 2 27B" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "LFM2.5-1.2B-Thinking (free)" | "LFM2-24B-A2B" | "LFM2.5-1.2B-Instruct (free)" | "Grok 4.20" | "Grok 4.3" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Google Gemini Pro Latest" | "Google Gemini Flash Latest" | "Phi 4 Mini Instruct" | "Phi 4" | "WizardLM-2 8x22B" | "Laguna XS.2" | "Laguna XS.2 (free)" | "Laguna M.1" | "Laguna M.1 (free)" | "Palmyra X5" | "GLM-4.7" | "GLM-4.5V" | "GLM-4.5" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.6V" | "GLM-4.5-Air" | "GLM-4.7-Flash" | "GLM-5" | "GLM-5-Turbo" | "GPT-4o-mini (2024-07-18)" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "o3" | "o4 Mini High" | "GPT Audio" | "GPT-5.2 Pro" | "GPT-4o-mini Search Preview" | "GPT-5" | "GPT-5 Chat" | "GPT-3.5-turbo" | "GPT-5 Pro" | "GPT-4o" | "GPT-4" | "o4-mini" | "GPT-3.5 Turbo 16k" | "o3-pro" | "GPT-5.1 Chat" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5.3 Chat" | "GPT-3.5 Turbo (older v0613)" | "GPT-5 Image Mini" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "gpt-oss-120b (free)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT Audio Mini" | "GPT-5.1 Codex mini" | "o4-mini-deep-research" | "GPT-4.1 nano" | "gpt-oss-120b" | "GPT-4o (2024-11-20)" | "o1" | "o1-pro" | "GPT Chat Latest" | "GPT-5 Image" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "o3-deep-research" | "GPT-4 Turbo Preview" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "GPT-5.4 Pro" | "o3 Mini High" | "GPT-5.4 Image 2" | "GPT-4o Search Preview" | "GPT-5.5 Pro" | "GPT-4o mini" | "gpt-oss-20b" | "GPT-5-Codex" | "GPT-5.2 Codex" | "gpt-oss-20b (free)" | "GPT-5.1" | "GPT-5.5" | "Cydonia 24B V4.1" | "Skyfall 36B V2" | "UnslopNemo 12B" | "Rocinante 12B" | "UI-TARS 7B " | "Reka Flash 3" | "Reka Edge" | "Mistral Large 2407" | "Mistral Small 3.2 24B" | "Mistral Nemo" | "Mistral Medium 3.5" | "Ministral 3 8B 2512" | "Mistral Small 3.1 24B" | "Saba" | "Mistral Large" | "Mistral Medium 3.1" | "Mistral Small 3" | "Ministral 3 3B 2512" | "Mistral Small 4" | "Ministral 3 14B 2512" | "Devstral 2" | "Mixtral 8x22B Instruct" | "Mistral Medium 3" | "Voxtral Small 24B 2507" | "Mistral Large 3" | "Codestral 2508" | "Morph V3 Fast" | "Morph V3 Large" | "Seed 1.6 Flash" | "Seed 1.6" | "Seed-2.0-Mini" | "Seed-2.0-Lite" | "Magnum v4 72B" | "Nemotron 3 Nano 30B A3B (free)" | "Nemotron Nano 9B V2 (free)" | "Nemotron Nano 12B 2 VL (free)" | "Nemotron 3 Nano Omni (free)" | "Nemotron 3 Ultra (free)" | "Nemotron 3 Ultra 550B A55B" | "Nemotron 3.5 Content Safety (free)" | "Nemotron 3 Nano 30B A3B" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Super (free)" | "Nemotron 3 Super 120B A12B" | "Uncensored (free)" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Mercury 2" | "Claude
|
|
2
|
+
export type ModelId="inclusionai/ling-2.6-1t" | "inclusionai/ring-2.6-1t" | "inclusionai/ling-2.6-flash" | "ibm-granite/granite-4.0-h-micro" | "ibm-granite/granite-4.1-8b" | "meta-llama/llama-3.1-8b-instruct" | "meta-llama/llama-3.1-70b-instruct" | "meta-llama/llama-3.2-1b-instruct" | "meta-llama/llama-4-maverick" | "meta-llama/llama-3.2-11b-vision-instruct" | "meta-llama/llama-3.3-70b-instruct:free" | "meta-llama/llama-3.3-70b-instruct" | "meta-llama/llama-3.2-3b-instruct:free" | "meta-llama/llama-guard-4-12b" | "meta-llama/llama-3-8b-instruct" | "meta-llama/llama-4-scout" | "meta-llama/llama-3.2-3b-instruct" | "~anthropic/claude-haiku-latest" | "~anthropic/claude-fable-latest" | "~anthropic/claude-sonnet-latest" | "~anthropic/claude-opus-latest" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2-0905" | "baidu/ernie-4.5-vl-424b-a47b" | "perceptron/perceptron-mk1" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemma-3n-e4b-it" | "google/gemma-4-26b-a4b-it:free" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-3.5-flash" | "google/gemini-2.5-flash-lite-preview-09-2025" | "google/gemma-4-31b-it" | "google/lyria-3-clip-preview" | "google/gemini-3.1-pro-preview-customtools" | "google/gemini-3-pro-image-preview" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-2.5-pro-preview-05-06" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-2.5-pro-preview" | "google/gemini-3-flash-preview" | "google/gemma-3-12b-it" | "google/gemma-3-4b-it" | "google/gemma-3-27b-it" | "google/lyria-3-pro-preview" | "google/gemma-4-31b-it:free" | "google/gemma-2-27b-it" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "liquid/lfm-2.5-1.2b-thinking:free" | "liquid/lfm-2-24b-a2b" | "liquid/lfm-2.5-1.2b-instruct:free" | "x-ai/grok-4.20" | "x-ai/grok-4.3" | "x-ai/grok-4.20-multi-agent" | "x-ai/grok-build-0.1" | "~google/gemini-pro-latest" | "~google/gemini-flash-latest" | "microsoft/phi-4-mini-instruct" | "microsoft/phi-4" | "microsoft/wizardlm-2-8x22b" | "poolside/laguna-xs.2" | "poolside/laguna-xs.2:free" | "poolside/laguna-m.1" | "poolside/laguna-m.1:free" | "writer/palmyra-x5" | "z-ai/glm-4.7" | "z-ai/glm-4.5v" | "z-ai/glm-4.5" | "z-ai/glm-5.1" | "z-ai/glm-4.6" | "z-ai/glm-5.2" | "z-ai/glm-4.6v" | "z-ai/glm-4.5-air" | "z-ai/glm-4.7-flash" | "z-ai/glm-5" | "z-ai/glm-5-turbo" | "openai/gpt-4o-mini-2024-07-18" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/o3" | "openai/o4-mini-high" | "openai/gpt-audio" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/gpt-4o" | "openai/gpt-4" | "openai/o4-mini" | "openai/gpt-3.5-turbo-16k" | "openai/o3-pro" | "openai/gpt-5.1-chat" | "openai/gpt-4o-2024-05-13" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-3.5-turbo-0613" | "openai/gpt-5-image-mini" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-oss-120b:free" | "openai/gpt-4o-2024-08-06" | "openai/o3-mini" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-audio-mini" | "openai/gpt-5.1-codex-mini" | "openai/o4-mini-deep-research" | "openai/gpt-4.1-nano" | "openai/gpt-oss-120b" | "openai/gpt-4o-2024-11-20" | "openai/o1" | "openai/o1-pro" | "openai/gpt-chat-latest" | "openai/gpt-5-image" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/gpt-4.1" | "openai/o3-deep-research" | "openai/gpt-4-turbo-preview" | "openai/gpt-5-mini" | "openai/gpt-4.1-mini" | "openai/gpt-4-turbo" | "openai/gpt-5-nano" | "openai/gpt-5.4-pro" | "openai/o3-mini-high" | "openai/gpt-5.4-image-2" | "openai/gpt-4o-search-preview" | "openai/gpt-5.5-pro" | "openai/gpt-4o-mini" | "openai/gpt-oss-20b" | "openai/gpt-5-codex" | "openai/gpt-5.2-codex" | "openai/gpt-oss-20b:free" | "openai/gpt-5.1" | "openai/gpt-5.5" | "thedrummer/cydonia-24b-v4.1" | "thedrummer/skyfall-36b-v2" | "thedrummer/unslopnemo-12b" | "thedrummer/rocinante-12b" | "bytedance/ui-tars-1.5-7b" | "rekaai/reka-flash-3" | "rekaai/reka-edge" | "mistralai/mistral-large-2407" | "mistralai/mistral-small-3.2-24b-instruct" | "mistralai/mistral-nemo" | "mistralai/mistral-medium-3-5" | "mistralai/ministral-8b-2512" | "mistralai/mistral-small-3.1-24b-instruct" | "mistralai/mistral-saba" | "mistralai/mistral-large" | "mistralai/mistral-medium-3.1" | "mistralai/mistral-small-24b-instruct-2501" | "mistralai/ministral-3b-2512" | "mistralai/mistral-small-2603" | "mistralai/ministral-14b-2512" | "mistralai/devstral-2512" | "mistralai/mixtral-8x22b-instruct" | "mistralai/mistral-medium-3" | "mistralai/voxtral-small-24b-2507" | "mistralai/mistral-large-2512" | "mistralai/codestral-2508" | "morph/morph-v3-fast" | "morph/morph-v3-large" | "bytedance-seed/seed-1.6-flash" | "bytedance-seed/seed-1.6" | "bytedance-seed/seed-2.0-mini" | "bytedance-seed/seed-2.0-lite" | "anthracite-org/magnum-v4-72b" | "nvidia/nemotron-3-nano-30b-a3b:free" | "nvidia/nemotron-nano-9b-v2:free" | "nvidia/nemotron-nano-12b-v2-vl:free" | "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free" | "nvidia/nemotron-3-ultra-550b-a55b:free" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3.5-content-safety:free" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/llama-3.3-nemotron-super-49b-v1.5" | "nvidia/nemotron-3-super-120b-a12b:free" | "nvidia/nemotron-3-super-120b-a12b" | "cognitivecomputations/dolphin-mistral-24b-venice-edition:free" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-2" | "anthropic/claude-sonnet-4.5" | "anthropic/claude-sonnet-4" | "anthropic/claude-opus-4.6-fast" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7-fast" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-opus-4.1" | "anthropic/claude-opus-4.5" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-3-haiku" | "anthropic/claude-opus-4" | "anthropic/claude-opus-4.8-fast" | "anthropic/claude-opus-4.6" | "tencent/hunyuan-a13b-instruct" | "tencent/hy3-preview" | "deepcogito/cogito-v2.1-671b" | "cohere/command-a" | "cohere/command-r-08-2024" | "cohere/command-r7b-12-2024" | "cohere/command-r-plus-08-2024" | "cohere/north-mini-code:free" | "gryphe/mythomax-l2-13b" | "stepfun/step-3.7-flash" | "stepfun/step-3.5-flash" | "prime-intellect/intellect-3" | "nex-agi/nex-n2-pro" | "undi95/remm-slerp-l2-13b" | "~openai/gpt-mini-latest" | "~openai/gpt-latest" | "~moonshotai/kimi-latest" | "relace/relace-search" | "relace/relace-apply-3" | "ai21/jamba-large-1.7" | "arcee-ai/coder-large" | "arcee-ai/virtuoso-large" | "arcee-ai/trinity-large-thinking" | "arcee-ai/trinity-mini" | "mancer/weaver" | "perplexity/sonar-reasoning-pro" | "perplexity/sonar" | "perplexity/sonar-pro" | "perplexity/sonar-pro-search" | "perplexity/sonar-deep-research" | "switchpoint/router" | "openrouter/free" | "openrouter/owl-alpha" | "qwen/qwen3.5-plus-20260420" | "qwen/qwen3-next-80b-a3b-instruct:free" | "qwen/qwen3-vl-235b-a22b-thinking" | "qwen/qwen3-vl-30b-a3b-thinking" | "qwen/qwen3-coder-plus" | "qwen/qwen-plus" | "qwen/qwen3-coder-30b-a3b-instruct" | "qwen/qwen3-32b" | "qwen/qwen3-next-80b-a3b-instruct" | "qwen/qwen3-vl-8b-instruct" | "qwen/qwen3.7-plus" | "qwen/qwen3.6-35b-a3b" | "qwen/qwen3.7-max" | "qwen/qwen3-max" | "qwen/qwen3-8b" | "qwen/qwen-plus-2025-07-28" | "qwen/qwen3.5-flash-02-23" | "qwen/qwen3-coder:free" | "qwen/qwen3-30b-a3b-instruct-2507" | "qwen/qwen-2.5-coder-32b-instruct" | "qwen/qwen3-next-80b-a3b-thinking" | "qwen/qwen3-235b-a22b-thinking-2507" | "qwen/qwen3-vl-32b-instruct" | "qwen/qwen3-coder" | "qwen/qwen3.6-flash" | "qwen/qwen3.5-plus-02-15" | "qwen/qwen-2.5-7b-instruct" | "qwen/qwen3-vl-8b-thinking" | "qwen/qwen3-max-thinking" | "qwen/qwen3-30b-a3b-thinking-2507" | "qwen/qwen2.5-vl-72b-instruct" | "qwen/qwen3.5-27b" | "qwen/qwen3-235b-a22b" | "qwen/qwen-2.5-72b-instruct" | "qwen/qwen-plus-2025-07-28:thinking" | "qwen/qwen3-coder-next" | "qwen/qwen3.6-27b" | "qwen/qwen3.5-35b-a3b" | "qwen/qwen3.5-9b" | "qwen/qwen3.5-397b-a17b" | "qwen/qwen3-vl-30b-a3b-instruct" | "qwen/qwen3-235b-a22b-2507" | "qwen/qwen3-coder-flash" | "qwen/qwen3-14b" | "qwen/qwen3-vl-235b-a22b-instruct" | "qwen/qwen3-30b-a3b" | "qwen/qwen3.6-max-preview" | "qwen/qwen3.5-122b-a10b" | "qwen/qwen3.6-plus" | "amazon/nova-lite-v1" | "amazon/nova-premier-v1" | "amazon/nova-pro-v1" | "amazon/nova-micro-v1" | "amazon/nova-2-lite-v1" | "aion-labs/aion-rp-llama-3.1-8b" | "aion-labs/aion-1.0-mini" | "aion-labs/aion-2.0" | "aion-labs/aion-1.0" | "inflection/inflection-3-pi" | "inflection/inflection-3-productivity" | "sao10k/l3.1-euryale-70b" | "sao10k/l3.3-euryale-70b" | "sao10k/l3-lunaris-8b" | "sao10k/l3.1-70b-hanami-x1" | "upstage/solar-pro-3" | "allenai/olmo-3-32b-think" | "essentialai/rnj-1-instruct" | "deepseek/deepseek-r1-0528" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-r1-distill-llama-70b" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-r1" | "deepseek/deepseek-v3.2-exp" | "deepseek/deepseek-chat-v3-0324" | "deepseek/deepseek-chat" | "deepseek/deepseek-v3.2" | "deepseek/deepseek-chat-v3.1" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-01" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2-her" | "minimax/minimax-m2.7" | "minimax/minimax-m1" | "kwaipilot/kat-coder-pro-v2" | "nousresearch/hermes-3-llama-3.1-405b:free" | "nousresearch/hermes-4-405b" | "nousresearch/hermes-3-llama-3.1-70b" | "nousresearch/hermes-3-llama-3.1-405b" | "nousresearch/hermes-4-70b";
|
|
3
|
+
export type ModelName="Ling-2.6-1T" | "Ring-2.6-1T" | "Ling-2.6-flash" | "Granite 4.0 Micro" | "Granite 4.1 8B" | "Llama 3.1 8B Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 1B Instruct" | "Llama 4 Maverick" | "Llama 3.2 11B Vision Instruct" | "Llama 3.3 70B Instruct (free)" | "Llama-3.3-70B-Instruct" | "Llama 3.2 3B Instruct (free)" | "Llama Guard 4 12B" | "Llama 3 8B Instruct" | "Llama 4 Scout" | "Llama 3.2 3B Instruct" | "Anthropic Claude Haiku Latest" | "Claude Fable Latest" | "Anthropic Claude Sonnet Latest" | "Claude Opus Latest" | "Kimi K2 0711" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2 0905" | "ERNIE 4.5 VL 424B A47B " | "Perceptron Mk1" | "Gemini 3.1 Flash Lite" | "Nano Banana 2 (Gemini 3.1 Flash Image)" | "Gemma 3n 4B" | "Gemma 4 26B A4B (free)" | "Gemini 2.5 Pro" | "Gemini 2.5 Flash" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview 09-2025" | "Gemma 4 31B IT" | "Lyria 3 Clip Preview" | "Gemini 3.1 Pro Preview Custom Tools" | "Nano Banana Pro" | "Nano Banana" | "Gemini 2.5 Flash-Lite" | "Nano Banana 2" | "Gemini 2.5 Pro Preview 05-06" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 2.5 Pro Preview 06-05" | "Gemini 3 Flash Preview" | "Gemma 3 12B" | "Gemma 3 4B" | "Gemma 3 27B" | "Lyria 3 Pro Preview" | "Gemma 4 31B (free)" | "Gemma 2 27B" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "LFM2.5-1.2B-Thinking (free)" | "LFM2-24B-A2B" | "LFM2.5-1.2B-Instruct (free)" | "Grok 4.20" | "Grok 4.3" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Google Gemini Pro Latest" | "Google Gemini Flash Latest" | "Phi 4 Mini Instruct" | "Phi 4" | "WizardLM-2 8x22B" | "Laguna XS.2" | "Laguna XS.2 (free)" | "Laguna M.1" | "Laguna M.1 (free)" | "Palmyra X5" | "GLM-4.7" | "GLM-4.5V" | "GLM-4.5" | "GLM-5.1" | "GLM-4.6" | "GLM-5.2" | "GLM-4.6V" | "GLM-4.5-Air" | "GLM-4.7-Flash" | "GLM-5" | "GLM-5-Turbo" | "GPT-4o-mini (2024-07-18)" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "o3" | "o4 Mini High" | "GPT Audio" | "GPT-5.2 Pro" | "GPT-4o-mini Search Preview" | "GPT-5" | "GPT-5 Chat" | "GPT-3.5-turbo" | "GPT-5 Pro" | "GPT-4o" | "GPT-4" | "o4-mini" | "GPT-3.5 Turbo 16k" | "o3-pro" | "GPT-5.1 Chat" | "GPT-4o (2024-05-13)" | "GPT-5.4 nano" | "GPT-5.3 Chat" | "GPT-3.5 Turbo (older v0613)" | "GPT-5 Image Mini" | "GPT-5.1 Codex" | "GPT-5.1 Codex Max" | "gpt-oss-120b (free)" | "GPT-4o (2024-08-06)" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "GPT Audio Mini" | "GPT-5.1 Codex mini" | "o4-mini-deep-research" | "GPT-4.1 nano" | "gpt-oss-120b" | "GPT-4o (2024-11-20)" | "o1" | "o1-pro" | "GPT Chat Latest" | "GPT-5 Image" | "GPT-5.4" | "GPT-5.4 mini" | "GPT-4.1" | "o3-deep-research" | "GPT-4 Turbo Preview" | "GPT-5 Mini" | "GPT-4.1 mini" | "GPT-4 Turbo" | "GPT-5 Nano" | "GPT-5.4 Pro" | "o3 Mini High" | "GPT-5.4 Image 2" | "GPT-4o Search Preview" | "GPT-5.5 Pro" | "GPT-4o mini" | "gpt-oss-20b" | "GPT-5-Codex" | "GPT-5.2 Codex" | "gpt-oss-20b (free)" | "GPT-5.1" | "GPT-5.5" | "Cydonia 24B V4.1" | "Skyfall 36B V2" | "UnslopNemo 12B" | "Rocinante 12B" | "UI-TARS 7B " | "Reka Flash 3" | "Reka Edge" | "Mistral Large 2407" | "Mistral Small 3.2 24B" | "Mistral Nemo" | "Mistral Medium 3.5" | "Ministral 3 8B 2512" | "Mistral Small 3.1 24B" | "Saba" | "Mistral Large" | "Mistral Medium 3.1" | "Mistral Small 3" | "Ministral 3 3B 2512" | "Mistral Small 4" | "Ministral 3 14B 2512" | "Devstral 2" | "Mixtral 8x22B Instruct" | "Mistral Medium 3" | "Voxtral Small 24B 2507" | "Mistral Large 3" | "Codestral 2508" | "Morph V3 Fast" | "Morph V3 Large" | "Seed 1.6 Flash" | "Seed 1.6" | "Seed-2.0-Mini" | "Seed-2.0-Lite" | "Magnum v4 72B" | "Nemotron 3 Nano 30B A3B (free)" | "Nemotron Nano 9B V2 (free)" | "Nemotron Nano 12B 2 VL (free)" | "Nemotron 3 Nano Omni (free)" | "Nemotron 3 Ultra (free)" | "Nemotron 3 Ultra 550B A55B" | "Nemotron 3.5 Content Safety (free)" | "Nemotron 3 Nano 30B A3B" | "Llama 3.3 Nemotron Super 49B v1.5" | "Nemotron 3 Super (free)" | "Nemotron 3 Super 120B A12B" | "Uncensored (free)" | "MiMo-V2.5" | "MiMo-V2.5-Pro" | "Mercury 2" | "Claude Sonnet 4.5 (latest)" | "Claude Sonnet 4" | "Claude Opus 4.6 (Fast)" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.7 (Fast)" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Opus 4.1 (latest)" | "Claude Opus 4.5 (latest)" | "Claude Sonnet 4.6" | "Claude 3 Haiku" | "Claude Opus 4" | "Claude Opus 4.8 (Fast)" | "Claude Opus 4.6" | "Hunyuan A13B Instruct" | "Hy3 preview" | "Cogito v2.1 671B" | "Command A" | "Command R" | "Command R7B" | "Command R+" | "North Mini Code (free)" | "MythoMax 13B" | "Step 3.7 Flash" | "Step 3.5 Flash" | "INTELLECT-3" | "Nex-N2-Pro" | "ReMM SLERP 13B" | "OpenAI GPT Mini Latest" | "OpenAI GPT Latest" | "MoonshotAI Kimi Latest" | "Relace Search" | "Relace Apply 3" | "Jamba Large 1.7" | "Coder Large" | "Virtuoso Large" | "Trinity Large Thinking" | "Trinity Mini" | "Weaver (alpha)" | "Sonar Reasoning Pro" | "Sonar" | "Sonar Pro" | "Sonar Pro Search" | "Sonar Deep Research" | "Switchpoint Router" | "Free Models Router" | "Owl Alpha" | "Qwen3.5 Plus 2026-04-20" | "Qwen3 Next 80B A3B Instruct (free)" | "Qwen3 VL 235B A22B Thinking" | "Qwen3 VL 30B A3B Thinking" | "Qwen3 Coder Plus" | "Qwen Plus" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 32B" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "Qwen3.7 Plus" | "Qwen3.6 35B-A3B" | "Qwen3.7 Max" | "Qwen3 Max" | "Qwen3 8B" | "Qwen Plus 0728" | "Qwen3.5-Flash" | "Qwen3 Coder 480B A35B (free)" | "Qwen3 30B A3B Instruct 2507" | "Qwen2.5 Coder 32B Instruct" | "Qwen3-Next 80B-A3B (Thinking)" | "Qwen3 235B A22B Thinking 2507" | "Qwen3 VL 32B Instruct" | "Qwen3 Coder 480B A35B" | "Qwen3.6 Flash" | "Qwen3.5 Plus 2026-02-15" | "Qwen2.5 7B Instruct" | "Qwen3 VL 8B Thinking" | "Qwen3 Max Thinking" | "Qwen3 30B A3B Thinking 2507" | "Qwen2.5 VL 72B Instruct" | "Qwen3.5 27B" | "Qwen3 235B-A22B" | "Qwen2.5 72B Instruct" | "Qwen Plus 0728 (thinking)" | "Qwen3 Coder Next" | "Qwen3.6 27B" | "Qwen3.5 35B-A3B" | "Qwen3.5 9B" | "Qwen3.5 397B-A17B" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 235B A22B Instruct 2507" | "Qwen3 Coder Flash" | "Qwen3 14B" | "Qwen3 VL 235B A22B Instruct" | "Qwen3 30B A3B" | "Qwen3.6 Max Preview" | "Qwen3.5 122B-A10B" | "Qwen3.6 Plus" | "Nova Lite 1.0" | "Nova Premier 1.0" | "Nova Pro 1.0" | "Nova Micro 1.0" | "Nova 2 Lite" | "Aion-RP 1.0 (8B)" | "Aion-1.0-Mini" | "Aion-2.0" | "Aion-1.0" | "Inflection 3 Pi" | "Inflection 3 Productivity" | "Llama 3.1 Euryale 70B v2.2" | "Llama 3.3 Euryale 70B" | "Llama 3 8B Lunaris" | "Llama 3.1 70B Hanami x1" | "Solar Pro 3" | "Olmo 3 32B Think" | "Rnj 1 Instruct" | "R1 0528" | "DeepSeek V4 Flash" | "DeepSeek V3.1 Terminus" | "R1 Distill Llama 70B" | "DeepSeek V4 Pro" | "DeepSeek-R1" | "DeepSeek V3.2 Exp" | "DeepSeek V3 0324" | "DeepSeek Chat" | "DeepSeek V3.2" | "DeepSeek V3.1" | "MiniMax-M2.5" | "MiniMax-M2.1" | "MiniMax-01" | "MiniMax-M3" | "MiniMax-M2" | "MiniMax M2-her" | "MiniMax-M2.7" | "MiniMax M1" | "KAT-Coder-Pro V2" | "Hermes 3 405B Instruct (free)" | "Hermes 4 405B" | "Hermes 3 70B Instruct" | "Hermes 3 405B Instruct" | "Hermes 4 70B";
|
|
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="xai/grok-4.1-fast-reasoning" | "xai/grok-4.20-non-reasoning-beta" | "xai/grok-4.3" | "xai/grok-4.1-fast-non-reasoning" | "xai/grok-4.20-multi-agent-beta" | "xai/grok-4.20-reasoning" | "xai/grok-4.20-reasoning-beta" | "xai/grok-4.20-non-reasoning" | "xai/grok-4.20-multi-agent" | "xai/grok-build-0.1" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2.7-code-highspeed" | "mistral/mistral-nemo" | "mistral/devstral-small" | "mistral/mistral-large-3" | "mistral/mistral-medium-3.5" | "mistral/mistral-medium" | "mistral/devstral-small-2" | "mistral/ministral-14b" | "mistral/devstral-2" | "mistral/mistral-small" | "mistral/ministral-8b" | "mistral/codestral" | "mistral/pixtral-12b" | "mistral/pixtral-large" | "mistral/ministral-3b" | "mistral/magistral-small" | "mistral/magistral-medium" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemini-3-flash" | "google/gemini-3.5-flash" | "google/gemma-4-31b-it" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "google/gemini-2.5-flash" | "google/gemini-2.5-pro" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/o3-pro" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-5.1-thinking" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.1-codex-mini" | "openai/gpt-image-1.5" | "openai/gpt-oss-120b" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-image-1-mini" | "openai/gpt-5.4-pro" | "openai/gpt-5.5-pro" | "openai/gpt-oss-20b" | "openai/gpt-5.2-codex" | "openai/gpt-5.1-instant" | "openai/gpt-image-2" | "openai/gpt-5.5" | "openai/gpt-5-codex" | "openai/gpt-4o-mini" | "openai/gpt-5-nano" | "openai/gpt-4-turbo" | "openai/gpt-4.1-mini" | "openai/gpt-5-mini" | "openai/gpt-4.1" | "openai/o1" | "openai/gpt-4.1-nano" | "openai/o3-mini" | "openai/o4-mini" | "openai/gpt-4o" | "openai/gpt-5" | "openai/o3" | "zai/glm-4.7" | "zai/glm-4.5v" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-5.2" | "zai/glm-4.6v" | "zai/glm-5v-turbo" | "zai/glm-4.5-air" | "zai/glm-4.7-flash" | "zai/glm-5" | "zai/glm-5-turbo" | "bytedance/seed-1.6" | "bytedance/seed-1.8" | "morph/morph-v3-large" | "morph/morph-v3-fast" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/nemotron-nano-9b-v2" | "nvidia/nemotron-3-super-120b-a12b" | "nvidia/nemotron-nano-12b-v2-vl" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2-flash" | "xiaomi/mimo-v2-pro" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-coder-small" | "inception/mercury-2" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-opus-4.5" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-opus-4.6" | "anthropic/claude-opus-4" | "anthropic/claude-3-haiku" | "anthropic/claude-opus-4.1" | "anthropic/claude-sonnet-4" | "anthropic/claude-sonnet-4.5" | "anthropic/claude-3.5-haiku" | "cohere/command-a" | "stepfun/step-3.7-flash" | "stepfun/step-3.5-flash" | "interfaze/interfaze-beta" | "arcee-ai/trinity-large-preview" | "arcee-ai/trinity-large-thinking" | "arcee-ai/trinity-mini" | "amazon/nova-2-lite" | "amazon/nova-lite" | "amazon/nova-micro" | "amazon/nova-pro" | "alibaba/qwen3-vl-thinking" | "alibaba/qwen3-coder-plus" | "alibaba/qwen3-max-preview" | "alibaba/qwen3-next-80b-a3b-instruct" | "alibaba/qwen3.7-plus" | "alibaba/qwen3-vl-instruct" | "alibaba/qwen3.7-max" | "alibaba/qwen3-max" | "alibaba/qwen3-next-80b-a3b-thinking" | "alibaba/qwen3.5-flash" | "alibaba/qwen3-coder" | "alibaba/qwen-3-235b" | "alibaba/qwen3.5-plus" | "alibaba/qwen3-max-thinking" | "alibaba/qwen3-coder-next" | "alibaba/qwen3.6-27b" | "alibaba/qwen-3-30b" | "alibaba/qwen3-235b-a22b-thinking" | "alibaba/qwen3-vl-235b-a22b-instruct" | "alibaba/qwen-3-14b" | "alibaba/qwen-3-32b" | "alibaba/qwen-3.6-max-preview" | "alibaba/qwen3-coder-30b-a3b" | "alibaba/qwen3.6-plus" | "meta/llama-3.2-1b" | "meta/llama-3.2-11b" | "meta/llama-3.1-8b" | "meta/llama-3.2-90b" | "meta/llama-3.1-70b" | "meta/llama-3.2-3b" | "meta/llama-4-scout" | "meta/llama-3.3-70b" | "meta/llama-4-maverick" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-thinking" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-v3.2" | "deepseek/deepseek-r1" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "minimax/minimax-m2.1-lightning" | "kwaipilot/kat-coder-pro-v1" | "kwaipilot/kat-coder-pro-v2";
|
|
3
|
-
export type ModelName="Grok 4.1 Fast Reasoning" | "Grok 4.20 Beta Non-Reasoning" | "Grok 4.3" | "Grok 4.1 Fast Non-Reasoning" | "Grok 4.20 Multi Agent Beta" | "Grok 4.20 Reasoning" | "Grok 4.20 Beta Reasoning" | "Grok 4.20 Non-Reasoning" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Kimi K2 Instruct" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2.7 Code High Speed" | "Mistral Nemo" | "Devstral Small 1.1" | "Mistral Large 3" | "Mistral Medium Latest" | "Mistral Medium 3.1" | "Devstral Small 2" | "Ministral 14B" | "Devstral 2" | "Mistral Small (latest)" | "Ministral 8B (latest)" | "Codestral (latest)" | "Pixtral 12B" | "Pixtral Large (latest)" | "Ministral 3B (latest)" | "Magistral Small" | "Magistral Medium (latest)" | "Gemini 3.1 Flash Lite" | "Gemini 3.1 Flash Image (Nano Banana 2)" | "Gemini 3 Flash" | "Gemini 3.5 Flash" | "Gemma 4 31B IT" | "Nano Banana (Gemini 2.5 Flash Image)" | "Gemini 2.5 Flash Lite" | "Gemini 3.1 Flash Image Preview (Nano Banana 2)" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 3 Pro Preview" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "Gemini 2.5 Flash" | "Gemini 2.5 Pro" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "GPT 5.2 " | "GPT 4o Mini Search Preview" | "GPT-5 Chat" | "GPT-3.5 Turbo" | "GPT-5 pro" | "o3 Pro" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "o3-deep-research" | "GPT Image 1" | "GPT Image 1 Mini" | "GPT 5.4 Pro" | "GPT 5.5 Pro" | "GPT OSS 20B" | "GPT-5.2-Codex" | "GPT-5.1 Instant" | "GPT Image 2" | "GPT 5.5" | "GPT-5-Codex" | "GPT-4o mini" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "o1" | "GPT-4.1 nano" | "o3-mini" | "o4-mini" | "GPT-4o" | "GPT-5" | "o3" | "GLM 4.7" | "GLM 4.5V" | "GLM 4.5" | "GLM 4.7 FlashX" | "GLM 5.1" | "GLM 4.6" | "GLM 5.2" | "GLM-4.6V" | "GLM 5V Turbo" | "GLM 4.5 Air" | "GLM 4.7 Flash" | "GLM-5" | "GLM 5 Turbo" | "Seed 1.6" | "Seed 1.8" | "Morph v3 Large" | "Morph v3 Fast" | "Nemotron 3 Ultra" | "Nemotron 3 Nano 30B A3B" | "Nvidia Nemotron Nano 9B V2" | "NVIDIA Nemotron 3 Super 120B A12B" | "Nvidia Nemotron Nano 12B V2 VL" | "MiMo M2.5" | "MiMo V2 Flash" | "MiMo V2 Pro" | "MiMo V2.5 Pro" | "Mercury Coder Small Beta" | "Mercury 2" | "Claude Haiku 4.5" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Opus 4.5" | "Claude Sonnet 4.6" | "Claude Opus 4.6" | "Claude Opus 4" | "Claude Haiku 3" | "Claude Opus 4.1" | "Claude Sonnet 4" | "Claude Sonnet 4.5" | "Claude Haiku 3.5" | "Command A" | "Step 3.7 Flash" | "StepFun 3.5 Flash" | "Interfaze Beta" | "Trinity Large Preview" | "Trinity Large Thinking" | "Trinity Mini" | "Nova 2 Lite" | "Nova Lite" | "Nova Micro" | "Nova Pro" | "Qwen3 VL Thinking" | "Qwen3 Coder Plus" | "Qwen3 Max Preview" | "Qwen3 Next 80B A3B Instruct" | "Qwen 3.7 Plus" | "Qwen3 VL Instruct" | "Qwen 3.7 Max" | "Qwen3 Max" | "Qwen3 Next 80B A3B Thinking" | "Qwen 3.5 Flash" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507" | "Qwen 3.5 Plus" | "Qwen 3 Max Thinking" | "Qwen3 Coder Next" | "Qwen 3.6 27B" | "Qwen3-30B-A3B" | "Qwen3 235B A22B Thinking 2507" | "Qwen3 VL 235B A22B Instruct" | "Qwen3-14B" | "Qwen 3.32B" | "Qwen 3.6 Max Preview" | "Qwen 3 Coder 30B A3B Instruct" | "Qwen 3.6 Plus" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 3.1 8B Instruct" | "Llama 3.2 90B Vision Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 3B Instruct" | "Llama-4-Scout-17B-16E-Instruct-FP8" | "Llama-3.3-70B-Instruct" | "Llama-4-Maverick-17B-128E-Instruct-FP8" | "DeepSeek V4 Flash" | "DeepSeek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek V4 Pro" | "DeepSeek V3.2 Thinking" | "DeepSeek-V3.1" | "DeepSeek V3.2" | "DeepSeek-R1" | "MiniMax M2.7 High Speed" | "MiniMax M2.5" | "MiniMax M2.1" | "MiniMax M3" | "MiniMax M2" | "Minimax M2.7" | "MiniMax M2.5 High Speed" | "MiniMax M2.1 Lightning" | "KAT-Coder-Pro V1" | "Kat Coder Pro V2";
|
|
2
|
+
export type ModelId="xai/grok-4.1-fast-reasoning" | "xai/grok-4.20-non-reasoning-beta" | "xai/grok-4.3" | "xai/grok-4.1-fast-non-reasoning" | "xai/grok-4.20-multi-agent-beta" | "xai/grok-4.20-reasoning" | "xai/grok-4.20-reasoning-beta" | "xai/grok-4.20-non-reasoning" | "xai/grok-4.20-multi-agent" | "xai/grok-build-0.1" | "moonshotai/kimi-k2" | "moonshotai/kimi-k2.7-code" | "moonshotai/kimi-k2-thinking" | "moonshotai/kimi-k2.5" | "moonshotai/kimi-k2.6" | "moonshotai/kimi-k2.7-code-highspeed" | "mistral/mistral-nemo" | "mistral/devstral-small" | "mistral/mistral-large-3" | "mistral/mistral-medium-3.5" | "mistral/mistral-medium" | "mistral/devstral-small-2" | "mistral/ministral-14b" | "mistral/devstral-2" | "mistral/mistral-small" | "mistral/ministral-8b" | "mistral/codestral" | "mistral/pixtral-12b" | "mistral/pixtral-large" | "mistral/ministral-3b" | "mistral/magistral-small" | "mistral/magistral-medium" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemini-3-flash" | "google/gemini-3.5-flash" | "google/gemma-4-31b-it" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "google/gemini-2.5-flash" | "google/gemini-2.5-pro" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/o3-pro" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-5.1-thinking" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.1-codex-mini" | "openai/gpt-image-1.5" | "openai/gpt-oss-120b" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-image-1-mini" | "openai/gpt-5.4-pro" | "openai/gpt-5.5-pro" | "openai/gpt-oss-20b" | "openai/gpt-5.2-codex" | "openai/gpt-5.1-instant" | "openai/gpt-image-2" | "openai/gpt-5.5" | "openai/gpt-5-codex" | "openai/gpt-4o-mini" | "openai/gpt-5-nano" | "openai/gpt-4-turbo" | "openai/gpt-4.1-mini" | "openai/gpt-5-mini" | "openai/gpt-4.1" | "openai/o1" | "openai/gpt-4.1-nano" | "openai/o3-mini" | "openai/o4-mini" | "openai/gpt-4o" | "openai/gpt-5" | "openai/o3" | "zai/glm-4.7" | "zai/glm-4.5v" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-5.2" | "zai/glm-4.6v" | "zai/glm-5v-turbo" | "zai/glm-4.5-air" | "zai/glm-4.7-flash" | "zai/glm-5" | "zai/glm-5-turbo" | "bytedance/seed-1.6" | "bytedance/seed-1.8" | "morph/morph-v3-large" | "morph/morph-v3-fast" | "sakana/fugu-ultra" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/nemotron-nano-9b-v2" | "nvidia/nemotron-3-super-120b-a12b" | "nvidia/nemotron-nano-12b-v2-vl" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2-flash" | "xiaomi/mimo-v2-pro" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-coder-small" | "inception/mercury-2" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-opus-4.5" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-opus-4.6" | "anthropic/claude-opus-4" | "anthropic/claude-3-haiku" | "anthropic/claude-opus-4.1" | "anthropic/claude-sonnet-4" | "anthropic/claude-sonnet-4.5" | "anthropic/claude-3.5-haiku" | "cohere/command-a" | "stepfun/step-3.7-flash" | "stepfun/step-3.5-flash" | "interfaze/interfaze-beta" | "arcee-ai/trinity-large-preview" | "arcee-ai/trinity-large-thinking" | "arcee-ai/trinity-mini" | "amazon/nova-2-lite" | "amazon/nova-lite" | "amazon/nova-micro" | "amazon/nova-pro" | "alibaba/qwen3-vl-thinking" | "alibaba/qwen3-coder-plus" | "alibaba/qwen3-max-preview" | "alibaba/qwen3-next-80b-a3b-instruct" | "alibaba/qwen3.7-plus" | "alibaba/qwen3-vl-instruct" | "alibaba/qwen3.7-max" | "alibaba/qwen3-max" | "alibaba/qwen3-next-80b-a3b-thinking" | "alibaba/qwen3.5-flash" | "alibaba/qwen3-coder" | "alibaba/qwen-3-235b" | "alibaba/qwen3.5-plus" | "alibaba/qwen3-max-thinking" | "alibaba/qwen3-coder-next" | "alibaba/qwen3.6-27b" | "alibaba/qwen-3-30b" | "alibaba/qwen3-235b-a22b-thinking" | "alibaba/qwen3-vl-235b-a22b-instruct" | "alibaba/qwen-3-14b" | "alibaba/qwen-3-32b" | "alibaba/qwen-3.6-max-preview" | "alibaba/qwen3-coder-30b-a3b" | "alibaba/qwen3.6-plus" | "meta/llama-3.2-1b" | "meta/llama-3.2-11b" | "meta/llama-3.1-8b" | "meta/llama-3.2-90b" | "meta/llama-3.1-70b" | "meta/llama-3.2-3b" | "meta/llama-4-scout" | "meta/llama-3.3-70b" | "meta/llama-4-maverick" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-thinking" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-v3.2" | "deepseek/deepseek-r1" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "minimax/minimax-m2.1-lightning" | "kwaipilot/kat-coder-pro-v1" | "kwaipilot/kat-coder-pro-v2";
|
|
3
|
+
export type ModelName="Grok 4.1 Fast Reasoning" | "Grok 4.20 Beta Non-Reasoning" | "Grok 4.3" | "Grok 4.1 Fast Non-Reasoning" | "Grok 4.20 Multi Agent Beta" | "Grok 4.20 Reasoning" | "Grok 4.20 Beta Reasoning" | "Grok 4.20 Non-Reasoning" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Kimi K2 Instruct" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Kimi K2.7 Code High Speed" | "Mistral Nemo" | "Devstral Small 1.1" | "Mistral Large 3" | "Mistral Medium Latest" | "Mistral Medium 3.1" | "Devstral Small 2" | "Ministral 14B" | "Devstral 2" | "Mistral Small (latest)" | "Ministral 8B (latest)" | "Codestral (latest)" | "Pixtral 12B" | "Pixtral Large (latest)" | "Ministral 3B (latest)" | "Magistral Small" | "Magistral Medium (latest)" | "Gemini 3.1 Flash Lite" | "Gemini 3.1 Flash Image (Nano Banana 2)" | "Gemini 3 Flash" | "Gemini 3.5 Flash" | "Gemma 4 31B IT" | "Nano Banana (Gemini 2.5 Flash Image)" | "Gemini 2.5 Flash Lite" | "Gemini 3.1 Flash Image Preview (Nano Banana 2)" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 3 Pro Preview" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "Gemini 2.5 Flash" | "Gemini 2.5 Pro" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "GPT 5.2 " | "GPT 4o Mini Search Preview" | "GPT-5 Chat" | "GPT-3.5 Turbo" | "GPT-5 pro" | "o3 Pro" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "o3-deep-research" | "GPT Image 1" | "GPT Image 1 Mini" | "GPT 5.4 Pro" | "GPT 5.5 Pro" | "GPT OSS 20B" | "GPT-5.2-Codex" | "GPT-5.1 Instant" | "GPT Image 2" | "GPT 5.5" | "GPT-5-Codex" | "GPT-4o mini" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "o1" | "GPT-4.1 nano" | "o3-mini" | "o4-mini" | "GPT-4o" | "GPT-5" | "o3" | "GLM 4.7" | "GLM 4.5V" | "GLM 4.5" | "GLM 4.7 FlashX" | "GLM 5.1" | "GLM 4.6" | "GLM 5.2" | "GLM-4.6V" | "GLM 5V Turbo" | "GLM 4.5 Air" | "GLM 4.7 Flash" | "GLM-5" | "GLM 5 Turbo" | "Seed 1.6" | "Seed 1.8" | "Morph v3 Large" | "Morph v3 Fast" | "Fugu Ultra" | "Nemotron 3 Ultra" | "Nemotron 3 Nano 30B A3B" | "Nvidia Nemotron Nano 9B V2" | "NVIDIA Nemotron 3 Super 120B A12B" | "Nvidia Nemotron Nano 12B V2 VL" | "MiMo M2.5" | "MiMo V2 Flash" | "MiMo V2 Pro" | "MiMo V2.5 Pro" | "Mercury Coder Small Beta" | "Mercury 2" | "Claude Haiku 4.5" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Opus 4.5" | "Claude Sonnet 4.6" | "Claude Opus 4.6" | "Claude Opus 4" | "Claude Haiku 3" | "Claude Opus 4.1" | "Claude Sonnet 4" | "Claude Sonnet 4.5" | "Claude Haiku 3.5" | "Command A" | "Step 3.7 Flash" | "StepFun 3.5 Flash" | "Interfaze Beta" | "Trinity Large Preview" | "Trinity Large Thinking" | "Trinity Mini" | "Nova 2 Lite" | "Nova Lite" | "Nova Micro" | "Nova Pro" | "Qwen3 VL Thinking" | "Qwen3 Coder Plus" | "Qwen3 Max Preview" | "Qwen3 Next 80B A3B Instruct" | "Qwen 3.7 Plus" | "Qwen3 VL Instruct" | "Qwen 3.7 Max" | "Qwen3 Max" | "Qwen3 Next 80B A3B Thinking" | "Qwen 3.5 Flash" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507" | "Qwen 3.5 Plus" | "Qwen 3 Max Thinking" | "Qwen3 Coder Next" | "Qwen 3.6 27B" | "Qwen3-30B-A3B" | "Qwen3 235B A22B Thinking 2507" | "Qwen3 VL 235B A22B Instruct" | "Qwen3-14B" | "Qwen 3.32B" | "Qwen 3.6 Max Preview" | "Qwen 3 Coder 30B A3B Instruct" | "Qwen 3.6 Plus" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 3.1 8B Instruct" | "Llama 3.2 90B Vision Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 3B Instruct" | "Llama-4-Scout-17B-16E-Instruct-FP8" | "Llama-3.3-70B-Instruct" | "Llama-4-Maverick-17B-128E-Instruct-FP8" | "DeepSeek V4 Flash" | "DeepSeek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek V4 Pro" | "DeepSeek V3.2 Thinking" | "DeepSeek-V3.1" | "DeepSeek V3.2" | "DeepSeek-R1" | "MiniMax M2.7 High Speed" | "MiniMax M2.5" | "MiniMax M2.1" | "MiniMax M3" | "MiniMax M2" | "Minimax M2.7" | "MiniMax M2.5 High Speed" | "MiniMax M2.1 Lightning" | "KAT-Coder-Pro V1" | "Kat Coder Pro V2";
|
|
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;
|