ai-model-prices 2026.6.26 → 2026.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/adapters/anthropic.d.mts +2 -2
- package/dist/adapters/anthropic.d.ts +2 -2
- package/dist/adapters/chutes.d.mts +2 -2
- package/dist/adapters/chutes.d.ts +2 -2
- package/dist/adapters/fireworks-ai.d.mts +2 -2
- package/dist/adapters/fireworks-ai.d.ts +2 -2
- package/dist/adapters/friendli.d.mts +2 -2
- package/dist/adapters/friendli.d.ts +2 -2
- package/dist/adapters/llmgateway.d.mts +2 -2
- package/dist/adapters/llmgateway.d.ts +2 -2
- package/dist/adapters/nebius.d.mts +2 -2
- package/dist/adapters/nebius.d.ts +2 -2
- package/dist/adapters/ovhcloud.d.mts +2 -2
- package/dist/adapters/ovhcloud.d.ts +2 -2
- package/dist/adapters/scaleway.d.mts +2 -2
- package/dist/adapters/scaleway.d.ts +2 -2
- package/dist/adapters/tinfoil.d.mts +6 -0
- package/dist/adapters/tinfoil.d.ts +6 -0
- package/dist/adapters/tinfoil.js +7 -0
- package/dist/adapters/tinfoil.mjs +5 -0
- package/dist/adapters/togetherai.d.mts +2 -2
- package/dist/adapters/togetherai.d.ts +2 -2
- package/dist/adapters/vercel.d.mts +2 -2
- package/dist/adapters/vercel.d.ts +2 -2
- package/dist/index.d.mts +12 -11
- package/dist/index.d.ts +12 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/_manifest.js +1 -1
- package/dist/providers/amazon-bedrock.js +1 -1
- package/dist/providers/anthropic.js +1 -1
- package/dist/providers/baseten.js +1 -1
- package/dist/providers/chutes.js +1 -1
- package/dist/providers/fireworks-ai.js +1 -1
- package/dist/providers/friendli.js +1 -1
- package/dist/providers/llmgateway.js +1 -1
- package/dist/providers/nebius.js +1 -1
- package/dist/providers/opencode-go.js +1 -1
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/ovhcloud.js +1 -1
- package/dist/providers/scaleway.js +1 -1
- package/dist/providers/tinfoil.js +1 -0
- package/dist/providers/togetherai.js +1 -1
- package/dist/providers/venice.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Pricing data for AI models, typed and kept up to date daily from [models.dev](https://models.dev).
|
|
7
7
|
|
|
8
8
|
<!-- STATS:START -->
|
|
9
|
-
**
|
|
9
|
+
**140 providers · 4914 models · Updated 2026-06-27**
|
|
10
10
|
<!-- STATS:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -149,6 +149,7 @@ filterModels({
|
|
|
149
149
|
| Auriko | `auriko` |
|
|
150
150
|
| StepFun AI | `stepfun-ai` |
|
|
151
151
|
| Vivgrid | `vivgrid` |
|
|
152
|
+
| Tinfoil | `tinfoil` |
|
|
152
153
|
| Mistral | `mistral` |
|
|
153
154
|
| Cloudflare Workers AI | `cloudflare-workers-ai` |
|
|
154
155
|
| Bailing | `bailing` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="claude-opus-4-5" | "claude-haiku-4-5-20251001" | "claude-
|
|
3
|
-
export type ModelName="Claude Opus 4.5 (latest)" | "Claude Haiku 4.5" | "Claude
|
|
2
|
+
export type ModelId="claude-opus-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-0" | "claude-3-opus-20240229" | "claude-opus-4-1-20250805" | "claude-sonnet-4-5" | "claude-opus-4-7" | "claude-opus-4-5-20251101" | "claude-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "claude-3-5-sonnet-20240620" | "claude-sonnet-4-20250514" | "claude-opus-4-1" | "claude-3-haiku-20240307" | "claude-fable-5" | "claude-sonnet-4-0" | "claude-3-7-sonnet-20250219" | "claude-haiku-4-5" | "claude-opus-4-6" | "claude-sonnet-4-5-20250929" | "claude-3-sonnet-20240229" | "claude-sonnet-4-6";
|
|
3
|
+
export type ModelName="Claude Opus 4.5 (latest)" | "Claude Haiku 4.5" | "Claude Opus 4 (latest)" | "Claude Opus 3" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Claude Sonnet 3.5" | "Claude Sonnet 4" | "Claude Opus 4.1 (latest)" | "Claude Haiku 3" | "Claude Fable 5" | "Claude Sonnet 4 (latest)" | "Claude Sonnet 3.7" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 3" | "Claude Sonnet 4.6";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="claude-opus-4-5" | "claude-haiku-4-5-20251001" | "claude-
|
|
3
|
-
export type ModelName="Claude Opus 4.5 (latest)" | "Claude Haiku 4.5" | "Claude
|
|
2
|
+
export type ModelId="claude-opus-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-0" | "claude-3-opus-20240229" | "claude-opus-4-1-20250805" | "claude-sonnet-4-5" | "claude-opus-4-7" | "claude-opus-4-5-20251101" | "claude-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "claude-3-5-sonnet-20240620" | "claude-sonnet-4-20250514" | "claude-opus-4-1" | "claude-3-haiku-20240307" | "claude-fable-5" | "claude-sonnet-4-0" | "claude-3-7-sonnet-20250219" | "claude-haiku-4-5" | "claude-opus-4-6" | "claude-sonnet-4-5-20250929" | "claude-3-sonnet-20240229" | "claude-sonnet-4-6";
|
|
3
|
+
export type ModelName="Claude Opus 4.5 (latest)" | "Claude Haiku 4.5" | "Claude Opus 4 (latest)" | "Claude Opus 3" | "Claude Opus 4.1" | "Claude Sonnet 4.5 (latest)" | "Claude Opus 4.7" | "Claude Opus 4.5" | "Claude Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Claude Sonnet 3.5" | "Claude Sonnet 4" | "Claude Opus 4.1 (latest)" | "Claude Haiku 3" | "Claude Fable 5" | "Claude Sonnet 4 (latest)" | "Claude Sonnet 3.7" | "Claude Haiku 4.5 (latest)" | "Claude Opus 4.6" | "Claude Sonnet 4.5" | "Claude Sonnet 3" | "Claude Sonnet 4.6";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="moonshotai/Kimi-K2.6-TEE" | "moonshotai/Kimi-K2.5-TEE" | "google/gemma-4-31B-turbo-TEE" | "Qwen/Qwen3-32B-TEE" | "Qwen/
|
|
3
|
-
export type ModelName="Kimi K2.6 TEE" | "Kimi K2.5 TEE" | "gemma 4 31B turbo TEE" | "Qwen3 32B TEE" | "
|
|
2
|
+
export type ModelId="moonshotai/Kimi-K2.6-TEE" | "moonshotai/Kimi-K2.5-TEE" | "google/gemma-4-31B-turbo-TEE" | "Qwen/Qwen3-32B-TEE" | "Qwen/Qwen3.6-27B-TEE" | "Qwen/Qwen3-235B-A22B-Thinking-2507-TEE" | "Qwen/Qwen3.5-397B-A17B-TEE" | "unsloth/Mistral-Nemo-Instruct-2407-TEE" | "zai-org/GLM-5-TEE" | "zai-org/GLM-5.1-TEE" | "zai-org/GLM-5.2-TEE" | "deepseek-ai/DeepSeek-V3.2-TEE" | "MiniMaxAI/MiniMax-M2.5-TEE";
|
|
3
|
+
export type ModelName="Kimi K2.6 TEE" | "Kimi K2.5 TEE" | "gemma 4 31B turbo TEE" | "Qwen3 32B TEE" | "Qwen3.6 27B TEE" | "Qwen3 235B A22B Thinking 2507 TEE" | "Qwen3.5 397B A17B TEE" | "Mistral Nemo Instruct 2407 TEE" | "GLM 5 TEE" | "GLM 5.1 TEE" | "GLM 5.2 TEE" | "DeepSeek V3.2 TEE" | "MiniMax M2.5 TEE";
|
|
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.6-TEE" | "moonshotai/Kimi-K2.5-TEE" | "google/gemma-4-31B-turbo-TEE" | "Qwen/Qwen3-32B-TEE" | "Qwen/
|
|
3
|
-
export type ModelName="Kimi K2.6 TEE" | "Kimi K2.5 TEE" | "gemma 4 31B turbo TEE" | "Qwen3 32B TEE" | "
|
|
2
|
+
export type ModelId="moonshotai/Kimi-K2.6-TEE" | "moonshotai/Kimi-K2.5-TEE" | "google/gemma-4-31B-turbo-TEE" | "Qwen/Qwen3-32B-TEE" | "Qwen/Qwen3.6-27B-TEE" | "Qwen/Qwen3-235B-A22B-Thinking-2507-TEE" | "Qwen/Qwen3.5-397B-A17B-TEE" | "unsloth/Mistral-Nemo-Instruct-2407-TEE" | "zai-org/GLM-5-TEE" | "zai-org/GLM-5.1-TEE" | "zai-org/GLM-5.2-TEE" | "deepseek-ai/DeepSeek-V3.2-TEE" | "MiniMaxAI/MiniMax-M2.5-TEE";
|
|
3
|
+
export type ModelName="Kimi K2.6 TEE" | "Kimi K2.5 TEE" | "gemma 4 31B turbo TEE" | "Qwen3 32B TEE" | "Qwen3.6 27B TEE" | "Qwen3 235B A22B Thinking 2507 TEE" | "Qwen3.5 397B A17B TEE" | "Mistral Nemo Instruct 2407 TEE" | "GLM 5 TEE" | "GLM 5.1 TEE" | "GLM 5.2 TEE" | "DeepSeek V3.2 TEE" | "MiniMax M2.5 TEE";
|
|
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="accounts/fireworks/routers/kimi-k2p6-turbo" | "accounts/fireworks/routers/kimi-k2p7-code-fast" | "accounts/fireworks/routers/glm-5p1-fast" | "accounts/fireworks/routers/kimi-k2p6-fast" | "accounts/fireworks/models/deepseek-v4-flash" | "accounts/fireworks/models/deepseek-v4-pro" | "accounts/fireworks/models/minimax-m2p7" | "accounts/fireworks/models/minimax-m3" | "accounts/fireworks/models/kimi-k2p6" | "accounts/fireworks/models/qwen3p7-plus" | "accounts/fireworks/models/glm-5p1" | "accounts/fireworks/models/glm-5p2" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/kimi-k2p7-code";
|
|
3
|
-
export type ModelName="Kimi K2.6 Turbo" | "Kimi K2.7 Code Fast" | "GLM 5.1 Fast" | "Kimi K2.6 Fast" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "Kimi K2.6" | "Qwen 3.7 Plus" | "GLM 5.1" | "GLM 5.2" | "GPT OSS 120B" | "GPT OSS 20B" | "Kimi K2.7 Code";
|
|
2
|
+
export type ModelId="accounts/fireworks/routers/kimi-k2p6-turbo" | "accounts/fireworks/routers/glm-5p2-fast" | "accounts/fireworks/routers/kimi-k2p7-code-fast" | "accounts/fireworks/routers/glm-5p1-fast" | "accounts/fireworks/routers/kimi-k2p6-fast" | "accounts/fireworks/models/deepseek-v4-flash" | "accounts/fireworks/models/deepseek-v4-pro" | "accounts/fireworks/models/minimax-m2p7" | "accounts/fireworks/models/minimax-m3" | "accounts/fireworks/models/kimi-k2p6" | "accounts/fireworks/models/qwen3p7-plus" | "accounts/fireworks/models/glm-5p1" | "accounts/fireworks/models/glm-5p2" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/kimi-k2p7-code";
|
|
3
|
+
export type ModelName="Kimi K2.6 Turbo" | "GLM 5.2 Fast" | "Kimi K2.7 Code Fast" | "GLM 5.1 Fast" | "Kimi K2.6 Fast" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "Kimi K2.6" | "Qwen 3.7 Plus" | "GLM 5.1" | "GLM 5.2" | "GPT OSS 120B" | "GPT OSS 20B" | "Kimi K2.7 Code";
|
|
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="accounts/fireworks/routers/kimi-k2p6-turbo" | "accounts/fireworks/routers/kimi-k2p7-code-fast" | "accounts/fireworks/routers/glm-5p1-fast" | "accounts/fireworks/routers/kimi-k2p6-fast" | "accounts/fireworks/models/deepseek-v4-flash" | "accounts/fireworks/models/deepseek-v4-pro" | "accounts/fireworks/models/minimax-m2p7" | "accounts/fireworks/models/minimax-m3" | "accounts/fireworks/models/kimi-k2p6" | "accounts/fireworks/models/qwen3p7-plus" | "accounts/fireworks/models/glm-5p1" | "accounts/fireworks/models/glm-5p2" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/kimi-k2p7-code";
|
|
3
|
-
export type ModelName="Kimi K2.6 Turbo" | "Kimi K2.7 Code Fast" | "GLM 5.1 Fast" | "Kimi K2.6 Fast" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "Kimi K2.6" | "Qwen 3.7 Plus" | "GLM 5.1" | "GLM 5.2" | "GPT OSS 120B" | "GPT OSS 20B" | "Kimi K2.7 Code";
|
|
2
|
+
export type ModelId="accounts/fireworks/routers/kimi-k2p6-turbo" | "accounts/fireworks/routers/glm-5p2-fast" | "accounts/fireworks/routers/kimi-k2p7-code-fast" | "accounts/fireworks/routers/glm-5p1-fast" | "accounts/fireworks/routers/kimi-k2p6-fast" | "accounts/fireworks/models/deepseek-v4-flash" | "accounts/fireworks/models/deepseek-v4-pro" | "accounts/fireworks/models/minimax-m2p7" | "accounts/fireworks/models/minimax-m3" | "accounts/fireworks/models/kimi-k2p6" | "accounts/fireworks/models/qwen3p7-plus" | "accounts/fireworks/models/glm-5p1" | "accounts/fireworks/models/glm-5p2" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/kimi-k2p7-code";
|
|
3
|
+
export type ModelName="Kimi K2.6 Turbo" | "GLM 5.2 Fast" | "Kimi K2.7 Code Fast" | "GLM 5.1 Fast" | "Kimi K2.6 Fast" | "DeepSeek V4 Flash" | "DeepSeek V4 Pro" | "MiniMax-M2.7" | "MiniMax-M3" | "Kimi K2.6" | "Qwen 3.7 Plus" | "GLM 5.1" | "GLM 5.2" | "GPT OSS 120B" | "GPT OSS 20B" | "Kimi K2.7 Code";
|
|
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="meta-llama/Llama-3.3-70B-Instruct" | "meta-llama/Llama-3.1-8B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
-
export type ModelName="Llama 3.3 70B Instruct" | "Llama 3.1 8B Instruct" | "Qwen3 235B A22B Instruct 2507" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "MiniMax-M2.5";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "meta-llama/Llama-3.1-8B-Instruct" | "google/gemma-4-31B-it" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
+
export type ModelName="Llama 3.3 70B Instruct" | "Llama 3.1 8B Instruct" | "Gemma 4 31B IT" | "Qwen3 235B A22B Instruct 2507" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "DeepSeek-V3.2" | "MiniMax-M2.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "meta-llama/Llama-3.1-8B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
-
export type ModelName="Llama 3.3 70B Instruct" | "Llama 3.1 8B Instruct" | "Qwen3 235B A22B Instruct 2507" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "MiniMax-M2.5";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "meta-llama/Llama-3.1-8B-Instruct" | "google/gemma-4-31B-it" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
+
export type ModelName="Llama 3.3 70B Instruct" | "Llama 3.1 8B Instruct" | "Gemma 4 31B IT" | "Qwen3 235B A22B Instruct 2507" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "DeepSeek-V3.2" | "MiniMax-M2.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "minimax-m2.7-highspeed" | "qwen-plus" | "o3" | "nemotron-3-ultra-550b" | "minimax-m2.5" | "grok-4-20-beta-0309-non-reasoning" | "glm-4.7" | "gemini-3.1-flash-lite" | "qwen3-235b-a22b-instruct-2507" | "llama-3-70b-instruct" | "qwen3-coder-30b-a3b-instruct" | "seed-1-8-251228" | "kimi-k2" | "llama-3.1-70b-instruct" | "gpt-5.2-pro" | "minimax-m2.1" | "qwen3-32b" | "pixtral-large-latest" | "glm-4-32b-0414-128k" | "seed-1-6-flash-250715" | "qwen3-next-80b-a3b-instruct" | "qwen3-vl-8b-instruct" | "gpt-4o-mini-search-preview" | "glm-4.5v" | "qwen3.7-plus" | "gemini-2.5-pro" | "gpt-5" | "claude-haiku-4-5-20251001" | "kimi-k2-thinking-turbo" | "qwen3.6-35b-a3b" | "gpt-3.5-turbo" | "seed-1-6-250615" | "qwen3.7-max" | "glm-4.5" | "gpt-5-pro" | "gemini-2.5-flash" | "gpt-4o" | "ministral-8b-2512" | "gpt-4" | "o4-mini" | "qwen3-max" | "mistral-small-2506" | "gemini-3.5-flash" | "gemini-2.5-flash-lite-preview-09-2025" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "gemma-4-31b-it" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "kimi-k2.7-code" | "glm-5.1" | "deepseek-v4-pro" | "qwen3-next-80b-a3b-thinking" | "glm-4.6" | "qwen35-397b-a17b" | "qwen3-235b-a22b-thinking-2507" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "gemini-pro-latest" | "glm-4.5-x" | "claude-opus-4-7" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "glm-5.2" | "glm-4.5-airx" | "gpt-5-chat-latest" | "ministral-3b-2512" | "qwen2-5-vl-72b-instruct" | "glm-4.6v-flashx" | "minimax-m3" | "qwen3-vl-plus" | "claude-opus-4-5-20251101" | "gpt-5.1-codex" | "minimax-m2" | "claude-opus-4-8" | "qwen3-max-2026-01-23" | "glm-4.7-flash-free" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "gpt-5.2" | "gpt-5.3-codex" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "ministral-14b-2512" | "sonar-pro" | "glm-4.6v" | "claude-haiku-4-5" | "minimax-m2.1-lightning" | "gpt-5.4" | "mimo-v2.5" | "mimo-v2-omni" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "gemini-3.1-pro-preview" | "claude-opus-4-6" | "qwen3-coder-next" | "llama-4-maverick-17b-instruct" | "qwen3-coder-480b-a35b-instruct" | "devstral-2512" | "claude-sonnet-4-5-20250929" | "gemma-4-26b-a4b-it" | "qwen3.5-9b" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "grok-build-0-1" | "gpt-5-nano" | "grok-4" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "kimi-k2.7-code-highspeed" | "
|
|
3
|
-
export type ModelName="Claude 3.7 Sonnet" | "Qwen Coder Plus" | "Mistral Large (latest)" | "Qwen3 VL 235B A22B Thinking" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "MiniMax-M2.7-highspeed" | "Qwen Plus" | "o3" | "Nemotron 3 Ultra 550B A55B" | "MiniMax-M2.5" | "Grok 4.20 (Non-Reasoning)" | "GLM-4.7" | "Gemini 3.1 Flash Lite" | "Qwen3 235B A22B Instruct (2507)" | "Llama 3 70B Instruct" | "Qwen3-Coder 30B-A3B Instruct" | "Seed 1.8 (251228)" | "Kimi K2" | "Llama 3.1 70B Instruct" | "GPT-5.2 Pro" | "MiniMax-M2.1" | "Qwen3 32B" | "Pixtral Large (latest)" | "GLM-4 32B (0414-128k)" | "Seed 1.6 Flash (250715)" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "GPT-4o Mini Search Preview" | "GLM-4.5V" | "Qwen3.7 Plus" | "Gemini 2.5 Pro" | "GPT-5" | "Claude Haiku 4.5" | "Kimi K2 Thinking Turbo" | "Qwen3.6 35B-A3B" | "GPT-3.5-turbo" | "Seed 1.6 (250615)" | "Qwen3.7 Max" | "GLM-4.5" | "GPT-5 Pro" | "Gemini 2.5 Flash" | "GPT-4o" | "Ministral 8B" | "GPT-4" | "o4-mini" | "Qwen3 Max" | "Mistral Small 3.2" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview (09-2025)" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Gemma 4 31B IT" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "Kimi K2.7 Code" | "GLM-5.1" | "DeepSeek V4 Pro" | "Qwen3-Next 80B-A3B (Thinking)" | "GLM-4.6" | "Qwen3.5 397B-A17B" | "Qwen3 235B A22B Thinking (2507)" | "Kimi K2 Thinking" | "Claude Sonnet 4.5 (latest)" | "Gemini Pro Latest" | "GLM-4.5 X" | "Claude Opus 4.7" | "Grok 4.1 Fast Non-Reasoning" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "GLM-5.2" | "GLM-4.5 AirX" | "GPT-5 Chat (latest)" | "Ministral 3B" | "Qwen2.5-VL 72B Instruct" | "GLM-4.6V FlashX" | "MiniMax-M3" | "Qwen3-VL Plus" | "Claude Opus 4.5" | "GPT-5.1 Codex" | "MiniMax-M2" | "Claude Opus 4.8" | "Qwen3 Max (2026-01-23)" | "GLM-4.7 Flash (Free)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "GPT-5.1 Codex mini" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Ministral 14B" | "Sonar Pro" | "GLM-4.6V" | "Claude Haiku 4.5 (latest)" | "MiniMax M2.1 Lightning" | "GPT-5.4" | "MiMo-V2.5" | "MiMo-V2-Omni" | "GPT-5.4 mini" | "Kimi K2.6" | "GPT-4.1" | "Gemini 3.1 Pro Preview" | "Claude Opus 4.6" | "Qwen3 Coder Next" | "Llama 4 Maverick 17B Instruct" | "Qwen3-Coder 480B-A35B Instruct" | "Devstral 2" | "Claude Sonnet 4.5" | "Gemma 4 26B A4B IT" | "Qwen3.5 9B" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Grok Build 0.1" | "GPT-5 Nano" | "Grok 4" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "Kimi K2.7 Code Highspeed" | "
|
|
2
|
+
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "minimax-m2.7-highspeed" | "qwen-plus" | "o3" | "nemotron-3-ultra-550b" | "minimax-m2.5" | "grok-4-20-beta-0309-non-reasoning" | "glm-4.7" | "gemini-3.1-flash-lite" | "qwen3-235b-a22b-instruct-2507" | "llama-3-70b-instruct" | "qwen3-coder-30b-a3b-instruct" | "seed-1-8-251228" | "kimi-k2" | "llama-3.1-70b-instruct" | "gpt-5.2-pro" | "minimax-m2.1" | "qwen3-32b" | "pixtral-large-latest" | "glm-4-32b-0414-128k" | "seed-1-6-flash-250715" | "qwen3-next-80b-a3b-instruct" | "qwen3-vl-8b-instruct" | "gpt-4o-mini-search-preview" | "glm-4.5v" | "qwen3.7-plus" | "gemini-2.5-pro" | "gpt-5" | "claude-haiku-4-5-20251001" | "kimi-k2-thinking-turbo" | "qwen3.6-35b-a3b" | "gpt-3.5-turbo" | "seed-1-6-250615" | "qwen3.7-max" | "glm-4.5" | "gpt-5-pro" | "gemini-2.5-flash" | "gpt-4o" | "ministral-8b-2512" | "gpt-4" | "o4-mini" | "qwen3-max" | "mistral-small-2506" | "gemini-3.5-flash" | "gemini-2.5-flash-lite-preview-09-2025" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "gemma-4-31b-it" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "kimi-k2.7-code" | "glm-5.1" | "deepseek-v4-pro" | "qwen3-next-80b-a3b-thinking" | "glm-4.6" | "qwen35-397b-a17b" | "qwen3-235b-a22b-thinking-2507" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "gemini-pro-latest" | "glm-4.5-x" | "claude-opus-4-7" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "glm-5.2" | "glm-4.5-airx" | "gpt-5-chat-latest" | "ministral-3b-2512" | "qwen2-5-vl-72b-instruct" | "glm-4.6v-flashx" | "minimax-m3" | "qwen3-vl-plus" | "claude-opus-4-5-20251101" | "gpt-5.1-codex" | "minimax-m2" | "claude-opus-4-8" | "qwen3-max-2026-01-23" | "glm-4.7-flash-free" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "gpt-5.2" | "gpt-5.3-codex" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "ministral-14b-2512" | "sonar-pro" | "glm-4.6v" | "claude-haiku-4-5" | "minimax-m2.1-lightning" | "gpt-5.4" | "mimo-v2.5" | "mimo-v2-omni" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "gemini-3.1-pro-preview" | "claude-opus-4-6" | "qwen3-coder-next" | "llama-4-maverick-17b-instruct" | "qwen3-coder-480b-a35b-instruct" | "devstral-2512" | "claude-sonnet-4-5-20250929" | "gemma-4-26b-a4b-it" | "qwen3.5-9b" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "grok-build-0-1" | "gpt-5-nano" | "grok-4" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "kimi-k2.7-code-highspeed" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "glm-4.7-flash" | "qwen3-vl-235b-a22b-instruct" | "mimo-v2-pro" | "gpt-4o-search-preview" | "llama-3.2-3b-instruct" | "mimo-v2.5-pro" | "gpt-5.5-pro" | "gpt-4o-mini" | "gpt-oss-20b" | "glm-4.5-flash" | "glm-5" | "qwen-max-latest" | "mistral-large-2512" | "qwen-turbo" | "custom" | "grok-4-20-reasoning" | "deepseek-v3.2" | "qwen3.6-max-preview" | "auto" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "fugu-ultra" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
+
export type ModelName="Claude 3.7 Sonnet" | "Qwen Coder Plus" | "Mistral Large (latest)" | "Qwen3 VL 235B A22B Thinking" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "MiniMax-M2.7-highspeed" | "Qwen Plus" | "o3" | "Nemotron 3 Ultra 550B A55B" | "MiniMax-M2.5" | "Grok 4.20 (Non-Reasoning)" | "GLM-4.7" | "Gemini 3.1 Flash Lite" | "Qwen3 235B A22B Instruct (2507)" | "Llama 3 70B Instruct" | "Qwen3-Coder 30B-A3B Instruct" | "Seed 1.8 (251228)" | "Kimi K2" | "Llama 3.1 70B Instruct" | "GPT-5.2 Pro" | "MiniMax-M2.1" | "Qwen3 32B" | "Pixtral Large (latest)" | "GLM-4 32B (0414-128k)" | "Seed 1.6 Flash (250715)" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "GPT-4o Mini Search Preview" | "GLM-4.5V" | "Qwen3.7 Plus" | "Gemini 2.5 Pro" | "GPT-5" | "Claude Haiku 4.5" | "Kimi K2 Thinking Turbo" | "Qwen3.6 35B-A3B" | "GPT-3.5-turbo" | "Seed 1.6 (250615)" | "Qwen3.7 Max" | "GLM-4.5" | "GPT-5 Pro" | "Gemini 2.5 Flash" | "GPT-4o" | "Ministral 8B" | "GPT-4" | "o4-mini" | "Qwen3 Max" | "Mistral Small 3.2" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview (09-2025)" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Gemma 4 31B IT" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "Kimi K2.7 Code" | "GLM-5.1" | "DeepSeek V4 Pro" | "Qwen3-Next 80B-A3B (Thinking)" | "GLM-4.6" | "Qwen3.5 397B-A17B" | "Qwen3 235B A22B Thinking (2507)" | "Kimi K2 Thinking" | "Claude Sonnet 4.5 (latest)" | "Gemini Pro Latest" | "GLM-4.5 X" | "Claude Opus 4.7" | "Grok 4.1 Fast Non-Reasoning" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "GLM-5.2" | "GLM-4.5 AirX" | "GPT-5 Chat (latest)" | "Ministral 3B" | "Qwen2.5-VL 72B Instruct" | "GLM-4.6V FlashX" | "MiniMax-M3" | "Qwen3-VL Plus" | "Claude Opus 4.5" | "GPT-5.1 Codex" | "MiniMax-M2" | "Claude Opus 4.8" | "Qwen3 Max (2026-01-23)" | "GLM-4.7 Flash (Free)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "GPT-5.1 Codex mini" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Ministral 14B" | "Sonar Pro" | "GLM-4.6V" | "Claude Haiku 4.5 (latest)" | "MiniMax M2.1 Lightning" | "GPT-5.4" | "MiMo-V2.5" | "MiMo-V2-Omni" | "GPT-5.4 mini" | "Kimi K2.6" | "GPT-4.1" | "Gemini 3.1 Pro Preview" | "Claude Opus 4.6" | "Qwen3 Coder Next" | "Llama 4 Maverick 17B Instruct" | "Qwen3-Coder 480B-A35B Instruct" | "Devstral 2" | "Claude Sonnet 4.5" | "Gemma 4 26B A4B IT" | "Qwen3.5 9B" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Grok Build 0.1" | "GPT-5 Nano" | "Grok 4" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "Kimi K2.7 Code Highspeed" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "GLM-4.7-Flash" | "Qwen3 VL 235B A22B Instruct" | "MiMo-V2-Pro" | "GPT-4o Search Preview" | "Llama 3.2 3B Instruct" | "MiMo-V2.5-Pro" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT OSS 20B" | "GLM-4.5-Flash" | "GLM-5" | "Qwen Max Latest" | "Mistral Large 3" | "Qwen Turbo" | "Custom Model" | "DeepSeek V3.2" | "Qwen3.6 Max Preview" | "Auto Route" | "Codestral" | "Qwen3 235B A22B FP8" | "Fugu Ultra" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "GPT-5.1" | "GPT-5.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "minimax-m2.7-highspeed" | "qwen-plus" | "o3" | "nemotron-3-ultra-550b" | "minimax-m2.5" | "grok-4-20-beta-0309-non-reasoning" | "glm-4.7" | "gemini-3.1-flash-lite" | "qwen3-235b-a22b-instruct-2507" | "llama-3-70b-instruct" | "qwen3-coder-30b-a3b-instruct" | "seed-1-8-251228" | "kimi-k2" | "llama-3.1-70b-instruct" | "gpt-5.2-pro" | "minimax-m2.1" | "qwen3-32b" | "pixtral-large-latest" | "glm-4-32b-0414-128k" | "seed-1-6-flash-250715" | "qwen3-next-80b-a3b-instruct" | "qwen3-vl-8b-instruct" | "gpt-4o-mini-search-preview" | "glm-4.5v" | "qwen3.7-plus" | "gemini-2.5-pro" | "gpt-5" | "claude-haiku-4-5-20251001" | "kimi-k2-thinking-turbo" | "qwen3.6-35b-a3b" | "gpt-3.5-turbo" | "seed-1-6-250615" | "qwen3.7-max" | "glm-4.5" | "gpt-5-pro" | "gemini-2.5-flash" | "gpt-4o" | "ministral-8b-2512" | "gpt-4" | "o4-mini" | "qwen3-max" | "mistral-small-2506" | "gemini-3.5-flash" | "gemini-2.5-flash-lite-preview-09-2025" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "gemma-4-31b-it" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "kimi-k2.7-code" | "glm-5.1" | "deepseek-v4-pro" | "qwen3-next-80b-a3b-thinking" | "glm-4.6" | "qwen35-397b-a17b" | "qwen3-235b-a22b-thinking-2507" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "gemini-pro-latest" | "glm-4.5-x" | "claude-opus-4-7" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "glm-5.2" | "glm-4.5-airx" | "gpt-5-chat-latest" | "ministral-3b-2512" | "qwen2-5-vl-72b-instruct" | "glm-4.6v-flashx" | "minimax-m3" | "qwen3-vl-plus" | "claude-opus-4-5-20251101" | "gpt-5.1-codex" | "minimax-m2" | "claude-opus-4-8" | "qwen3-max-2026-01-23" | "glm-4.7-flash-free" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "gpt-5.2" | "gpt-5.3-codex" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "ministral-14b-2512" | "sonar-pro" | "glm-4.6v" | "claude-haiku-4-5" | "minimax-m2.1-lightning" | "gpt-5.4" | "mimo-v2.5" | "mimo-v2-omni" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "gemini-3.1-pro-preview" | "claude-opus-4-6" | "qwen3-coder-next" | "llama-4-maverick-17b-instruct" | "qwen3-coder-480b-a35b-instruct" | "devstral-2512" | "claude-sonnet-4-5-20250929" | "gemma-4-26b-a4b-it" | "qwen3.5-9b" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "grok-build-0-1" | "gpt-5-nano" | "grok-4" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "kimi-k2.7-code-highspeed" | "
|
|
3
|
-
export type ModelName="Claude 3.7 Sonnet" | "Qwen Coder Plus" | "Mistral Large (latest)" | "Qwen3 VL 235B A22B Thinking" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "MiniMax-M2.7-highspeed" | "Qwen Plus" | "o3" | "Nemotron 3 Ultra 550B A55B" | "MiniMax-M2.5" | "Grok 4.20 (Non-Reasoning)" | "GLM-4.7" | "Gemini 3.1 Flash Lite" | "Qwen3 235B A22B Instruct (2507)" | "Llama 3 70B Instruct" | "Qwen3-Coder 30B-A3B Instruct" | "Seed 1.8 (251228)" | "Kimi K2" | "Llama 3.1 70B Instruct" | "GPT-5.2 Pro" | "MiniMax-M2.1" | "Qwen3 32B" | "Pixtral Large (latest)" | "GLM-4 32B (0414-128k)" | "Seed 1.6 Flash (250715)" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "GPT-4o Mini Search Preview" | "GLM-4.5V" | "Qwen3.7 Plus" | "Gemini 2.5 Pro" | "GPT-5" | "Claude Haiku 4.5" | "Kimi K2 Thinking Turbo" | "Qwen3.6 35B-A3B" | "GPT-3.5-turbo" | "Seed 1.6 (250615)" | "Qwen3.7 Max" | "GLM-4.5" | "GPT-5 Pro" | "Gemini 2.5 Flash" | "GPT-4o" | "Ministral 8B" | "GPT-4" | "o4-mini" | "Qwen3 Max" | "Mistral Small 3.2" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview (09-2025)" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Gemma 4 31B IT" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "Kimi K2.7 Code" | "GLM-5.1" | "DeepSeek V4 Pro" | "Qwen3-Next 80B-A3B (Thinking)" | "GLM-4.6" | "Qwen3.5 397B-A17B" | "Qwen3 235B A22B Thinking (2507)" | "Kimi K2 Thinking" | "Claude Sonnet 4.5 (latest)" | "Gemini Pro Latest" | "GLM-4.5 X" | "Claude Opus 4.7" | "Grok 4.1 Fast Non-Reasoning" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "GLM-5.2" | "GLM-4.5 AirX" | "GPT-5 Chat (latest)" | "Ministral 3B" | "Qwen2.5-VL 72B Instruct" | "GLM-4.6V FlashX" | "MiniMax-M3" | "Qwen3-VL Plus" | "Claude Opus 4.5" | "GPT-5.1 Codex" | "MiniMax-M2" | "Claude Opus 4.8" | "Qwen3 Max (2026-01-23)" | "GLM-4.7 Flash (Free)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "GPT-5.1 Codex mini" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Ministral 14B" | "Sonar Pro" | "GLM-4.6V" | "Claude Haiku 4.5 (latest)" | "MiniMax M2.1 Lightning" | "GPT-5.4" | "MiMo-V2.5" | "MiMo-V2-Omni" | "GPT-5.4 mini" | "Kimi K2.6" | "GPT-4.1" | "Gemini 3.1 Pro Preview" | "Claude Opus 4.6" | "Qwen3 Coder Next" | "Llama 4 Maverick 17B Instruct" | "Qwen3-Coder 480B-A35B Instruct" | "Devstral 2" | "Claude Sonnet 4.5" | "Gemma 4 26B A4B IT" | "Qwen3.5 9B" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Grok Build 0.1" | "GPT-5 Nano" | "Grok 4" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "Kimi K2.7 Code Highspeed" | "
|
|
2
|
+
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "minimax-m2.7-highspeed" | "qwen-plus" | "o3" | "nemotron-3-ultra-550b" | "minimax-m2.5" | "grok-4-20-beta-0309-non-reasoning" | "glm-4.7" | "gemini-3.1-flash-lite" | "qwen3-235b-a22b-instruct-2507" | "llama-3-70b-instruct" | "qwen3-coder-30b-a3b-instruct" | "seed-1-8-251228" | "kimi-k2" | "llama-3.1-70b-instruct" | "gpt-5.2-pro" | "minimax-m2.1" | "qwen3-32b" | "pixtral-large-latest" | "glm-4-32b-0414-128k" | "seed-1-6-flash-250715" | "qwen3-next-80b-a3b-instruct" | "qwen3-vl-8b-instruct" | "gpt-4o-mini-search-preview" | "glm-4.5v" | "qwen3.7-plus" | "gemini-2.5-pro" | "gpt-5" | "claude-haiku-4-5-20251001" | "kimi-k2-thinking-turbo" | "qwen3.6-35b-a3b" | "gpt-3.5-turbo" | "seed-1-6-250615" | "qwen3.7-max" | "glm-4.5" | "gpt-5-pro" | "gemini-2.5-flash" | "gpt-4o" | "ministral-8b-2512" | "gpt-4" | "o4-mini" | "qwen3-max" | "mistral-small-2506" | "gemini-3.5-flash" | "gemini-2.5-flash-lite-preview-09-2025" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "gemma-4-31b-it" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "kimi-k2.7-code" | "glm-5.1" | "deepseek-v4-pro" | "qwen3-next-80b-a3b-thinking" | "glm-4.6" | "qwen35-397b-a17b" | "qwen3-235b-a22b-thinking-2507" | "kimi-k2-thinking" | "claude-sonnet-4-5" | "gemini-pro-latest" | "glm-4.5-x" | "claude-opus-4-7" | "grok-4-1-fast-non-reasoning" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "glm-5.2" | "glm-4.5-airx" | "gpt-5-chat-latest" | "ministral-3b-2512" | "qwen2-5-vl-72b-instruct" | "glm-4.6v-flashx" | "minimax-m3" | "qwen3-vl-plus" | "claude-opus-4-5-20251101" | "gpt-5.1-codex" | "minimax-m2" | "claude-opus-4-8" | "qwen3-max-2026-01-23" | "glm-4.7-flash-free" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "gpt-5.2" | "gpt-5.3-codex" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "gpt-5.1-codex-mini" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "ministral-14b-2512" | "sonar-pro" | "glm-4.6v" | "claude-haiku-4-5" | "minimax-m2.1-lightning" | "gpt-5.4" | "mimo-v2.5" | "mimo-v2-omni" | "gpt-5.4-mini" | "kimi-k2.6" | "gpt-4.1" | "gemini-3.1-pro-preview" | "claude-opus-4-6" | "qwen3-coder-next" | "llama-4-maverick-17b-instruct" | "qwen3-coder-480b-a35b-instruct" | "devstral-2512" | "claude-sonnet-4-5-20250929" | "gemma-4-26b-a4b-it" | "qwen3.5-9b" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "grok-build-0-1" | "gpt-5-nano" | "grok-4" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "kimi-k2.7-code-highspeed" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "glm-4.7-flash" | "qwen3-vl-235b-a22b-instruct" | "mimo-v2-pro" | "gpt-4o-search-preview" | "llama-3.2-3b-instruct" | "mimo-v2.5-pro" | "gpt-5.5-pro" | "gpt-4o-mini" | "gpt-oss-20b" | "glm-4.5-flash" | "glm-5" | "qwen-max-latest" | "mistral-large-2512" | "qwen-turbo" | "custom" | "grok-4-20-reasoning" | "deepseek-v3.2" | "qwen3.6-max-preview" | "auto" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "fugu-ultra" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gpt-5.1" | "gpt-5.5";
|
|
3
|
+
export type ModelName="Claude 3.7 Sonnet" | "Qwen Coder Plus" | "Mistral Large (latest)" | "Qwen3 VL 235B A22B Thinking" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "MiniMax-M2.7-highspeed" | "Qwen Plus" | "o3" | "Nemotron 3 Ultra 550B A55B" | "MiniMax-M2.5" | "Grok 4.20 (Non-Reasoning)" | "GLM-4.7" | "Gemini 3.1 Flash Lite" | "Qwen3 235B A22B Instruct (2507)" | "Llama 3 70B Instruct" | "Qwen3-Coder 30B-A3B Instruct" | "Seed 1.8 (251228)" | "Kimi K2" | "Llama 3.1 70B Instruct" | "GPT-5.2 Pro" | "MiniMax-M2.1" | "Qwen3 32B" | "Pixtral Large (latest)" | "GLM-4 32B (0414-128k)" | "Seed 1.6 Flash (250715)" | "Qwen3-Next 80B-A3B Instruct" | "Qwen3 VL 8B Instruct" | "GPT-4o Mini Search Preview" | "GLM-4.5V" | "Qwen3.7 Plus" | "Gemini 2.5 Pro" | "GPT-5" | "Claude Haiku 4.5" | "Kimi K2 Thinking Turbo" | "Qwen3.6 35B-A3B" | "GPT-3.5-turbo" | "Seed 1.6 (250615)" | "Qwen3.7 Max" | "GLM-4.5" | "GPT-5 Pro" | "Gemini 2.5 Flash" | "GPT-4o" | "Ministral 8B" | "GPT-4" | "o4-mini" | "Qwen3 Max" | "Mistral Small 3.2" | "Gemini 3.5 Flash" | "Gemini 2.5 Flash Lite Preview (09-2025)" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Gemma 4 31B IT" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "Kimi K2.7 Code" | "GLM-5.1" | "DeepSeek V4 Pro" | "Qwen3-Next 80B-A3B (Thinking)" | "GLM-4.6" | "Qwen3.5 397B-A17B" | "Qwen3 235B A22B Thinking (2507)" | "Kimi K2 Thinking" | "Claude Sonnet 4.5 (latest)" | "Gemini Pro Latest" | "GLM-4.5 X" | "Claude Opus 4.7" | "Grok 4.1 Fast Non-Reasoning" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "GLM-5.2" | "GLM-4.5 AirX" | "GPT-5 Chat (latest)" | "Ministral 3B" | "Qwen2.5-VL 72B Instruct" | "GLM-4.6V FlashX" | "MiniMax-M3" | "Qwen3-VL Plus" | "Claude Opus 4.5" | "GPT-5.1 Codex" | "MiniMax-M2" | "Claude Opus 4.8" | "Qwen3 Max (2026-01-23)" | "GLM-4.7 Flash (Free)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "GPT-5.2" | "GPT-5.3 Codex" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "GPT-5.1 Codex mini" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Ministral 14B" | "Sonar Pro" | "GLM-4.6V" | "Claude Haiku 4.5 (latest)" | "MiniMax M2.1 Lightning" | "GPT-5.4" | "MiMo-V2.5" | "MiMo-V2-Omni" | "GPT-5.4 mini" | "Kimi K2.6" | "GPT-4.1" | "Gemini 3.1 Pro Preview" | "Claude Opus 4.6" | "Qwen3 Coder Next" | "Llama 4 Maverick 17B Instruct" | "Qwen3-Coder 480B-A35B Instruct" | "Devstral 2" | "Claude Sonnet 4.5" | "Gemma 4 26B A4B IT" | "Qwen3.5 9B" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Grok Build 0.1" | "GPT-5 Nano" | "Grok 4" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "Kimi K2.7 Code Highspeed" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "GLM-4.7-Flash" | "Qwen3 VL 235B A22B Instruct" | "MiMo-V2-Pro" | "GPT-4o Search Preview" | "Llama 3.2 3B Instruct" | "MiMo-V2.5-Pro" | "GPT-5.5 Pro" | "GPT-4o mini" | "GPT OSS 20B" | "GLM-4.5-Flash" | "GLM-5" | "Qwen Max Latest" | "Mistral Large 3" | "Qwen Turbo" | "Custom Model" | "DeepSeek V3.2" | "Qwen3.6 Max Preview" | "Auto Route" | "Codestral" | "Qwen3 235B A22B FP8" | "Fugu Ultra" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "GPT-5.1" | "GPT-5.5";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2.5-fast" | "moonshotai/Kimi-K2.5" | "google/gemma-3-27b-it" | "Qwen/Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-397B-A17B-fast" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Thinking-2507-fast" | "openai/gpt-oss-120b-fast" | "openai/gpt-oss-120b" | "NousResearch/Hermes-4-405B" | "NousResearch/Hermes-4-70B" | "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "nvidia/nemotron-3-super-120b-a12b" | "zai-org/GLM-5" | "deepseek-ai/DeepSeek-V3.2-fast" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.5-fast" | "PrimeIntellect/INTELLECT-3";
|
|
3
|
-
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2.5-fast" | "Kimi-K2.5" | "Gemma-3-27b-it" | "Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen2.5-VL-72B-Instruct" | "Qwen3-Embedding-8B" | "Qwen3.5-397B-A17B" | "Qwen3.5-397B-A17B-fast" | "Qwen3-30B-A3B-Instruct-2507" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3-32B" | "Qwen3-235B-A22B-Thinking-2507-fast" | "gpt-oss-120b-fast" | "gpt-oss-120b" | "Hermes-4-405B" | "Hermes-4-70B" | "Nemotron-3-Nano-30B-A3B" | "Nemotron-3-Nano-Omni" | "Llama-3.1-Nemotron-Ultra-253B-v1" | "Nemotron-3-Super-120B-A12B" | "GLM-5" | "DeepSeek-V3.2-fast" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.5" | "MiniMax-M2.5-fast" | "INTELLECT-3";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2.5-fast" | "moonshotai/Kimi-K2.5" | "google/gemma-3-27b-it" | "Qwen/Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-397B-A17B-fast" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Thinking-2507-fast" | "openai/gpt-oss-120b-fast" | "openai/gpt-oss-120b" | "NousResearch/Hermes-4-405B" | "NousResearch/Hermes-4-70B" | "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "nvidia/nemotron-3-super-120b-a12b" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "deepseek-ai/DeepSeek-V3.2-fast" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.5-fast" | "PrimeIntellect/INTELLECT-3";
|
|
3
|
+
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2.5-fast" | "Kimi-K2.5" | "Gemma-3-27b-it" | "Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen2.5-VL-72B-Instruct" | "Qwen3-Embedding-8B" | "Qwen3.5-397B-A17B" | "Qwen3.5-397B-A17B-fast" | "Qwen3-30B-A3B-Instruct-2507" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3-32B" | "Qwen3-235B-A22B-Thinking-2507-fast" | "gpt-oss-120b-fast" | "gpt-oss-120b" | "Hermes-4-405B" | "Hermes-4-70B" | "Nemotron-3-Nano-30B-A3B" | "Nemotron-3-Nano-Omni" | "Llama-3.1-Nemotron-Ultra-253B-v1" | "Nemotron-3-Super-120B-A12B" | "GLM-5" | "GLM-5.2" | "DeepSeek-V3.2-fast" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.5" | "MiniMax-M2.5-fast" | "INTELLECT-3";
|
|
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="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2.5-fast" | "moonshotai/Kimi-K2.5" | "google/gemma-3-27b-it" | "Qwen/Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-397B-A17B-fast" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Thinking-2507-fast" | "openai/gpt-oss-120b-fast" | "openai/gpt-oss-120b" | "NousResearch/Hermes-4-405B" | "NousResearch/Hermes-4-70B" | "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "nvidia/nemotron-3-super-120b-a12b" | "zai-org/GLM-5" | "deepseek-ai/DeepSeek-V3.2-fast" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.5-fast" | "PrimeIntellect/INTELLECT-3";
|
|
3
|
-
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2.5-fast" | "Kimi-K2.5" | "Gemma-3-27b-it" | "Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen2.5-VL-72B-Instruct" | "Qwen3-Embedding-8B" | "Qwen3.5-397B-A17B" | "Qwen3.5-397B-A17B-fast" | "Qwen3-30B-A3B-Instruct-2507" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3-32B" | "Qwen3-235B-A22B-Thinking-2507-fast" | "gpt-oss-120b-fast" | "gpt-oss-120b" | "Hermes-4-405B" | "Hermes-4-70B" | "Nemotron-3-Nano-30B-A3B" | "Nemotron-3-Nano-Omni" | "Llama-3.1-Nemotron-Ultra-253B-v1" | "Nemotron-3-Super-120B-A12B" | "GLM-5" | "DeepSeek-V3.2-fast" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.5" | "MiniMax-M2.5-fast" | "INTELLECT-3";
|
|
2
|
+
export type ModelId="meta-llama/Llama-3.3-70B-Instruct" | "moonshotai/Kimi-K2.5-fast" | "moonshotai/Kimi-K2.5" | "google/gemma-3-27b-it" | "Qwen/Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Embedding-8B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-397B-A17B-fast" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Thinking-2507-fast" | "openai/gpt-oss-120b-fast" | "openai/gpt-oss-120b" | "NousResearch/Hermes-4-405B" | "NousResearch/Hermes-4-70B" | "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B" | "nvidia/Nemotron-3-Nano-Omni" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "nvidia/nemotron-3-super-120b-a12b" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "deepseek-ai/DeepSeek-V3.2-fast" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3.2" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M2.5-fast" | "PrimeIntellect/INTELLECT-3";
|
|
3
|
+
export type ModelName="Llama-3.3-70B-Instruct" | "Kimi-K2.5-fast" | "Kimi-K2.5" | "Gemma-3-27b-it" | "Qwen3-Next-80B-A3B-Thinking-fast" | "Qwen2.5-VL-72B-Instruct" | "Qwen3-Embedding-8B" | "Qwen3.5-397B-A17B" | "Qwen3.5-397B-A17B-fast" | "Qwen3-30B-A3B-Instruct-2507" | "Qwen3-Next-80B-A3B-Thinking" | "Qwen3 235B A22B Instruct 2507" | "Qwen3-32B" | "Qwen3-235B-A22B-Thinking-2507-fast" | "gpt-oss-120b-fast" | "gpt-oss-120b" | "Hermes-4-405B" | "Hermes-4-70B" | "Nemotron-3-Nano-30B-A3B" | "Nemotron-3-Nano-Omni" | "Llama-3.1-Nemotron-Ultra-253B-v1" | "Nemotron-3-Super-120B-A12B" | "GLM-5" | "GLM-5.2" | "DeepSeek-V3.2-fast" | "DeepSeek V4 Pro" | "DeepSeek-V3.2" | "MiniMax-M2.5" | "MiniMax-M2.5-fast" | "INTELLECT-3";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="
|
|
3
|
-
export type ModelName="
|
|
2
|
+
export type ModelId="qwen3-coder-30b-a3b-instruct" | "qwen3-32b" | "meta-llama-3_3-70b-instruct" | "mistral-small-3.2-24b-instruct-2506" | "qwen2.5-vl-72b-instruct" | "gpt-oss-120b" | "mistral-7b-instruct-v0.3" | "mistral-nemo-instruct-2407" | "qwen3.6-27b" | "qwen3.5-9b" | "qwen3.5-397b-a17b" | "gpt-oss-20b";
|
|
3
|
+
export type ModelName="Qwen3-Coder-30B-A3B-Instruct" | "Qwen3-32B" | "Meta-Llama-3_3-70B-Instruct" | "Mistral-Small-3.2-24B-Instruct-2506" | "Qwen2.5-VL-72B-Instruct" | "gpt-oss-120b" | "Mistral-7B-Instruct-v0.3" | "Mistral-Nemo-Instruct-2407" | "Qwen3.6-27B" | "Qwen3.5-9B" | "Qwen3.5-397B-A17B" | "gpt-oss-20b";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="
|
|
3
|
-
export type ModelName="
|
|
2
|
+
export type ModelId="qwen3-coder-30b-a3b-instruct" | "qwen3-32b" | "meta-llama-3_3-70b-instruct" | "mistral-small-3.2-24b-instruct-2506" | "qwen2.5-vl-72b-instruct" | "gpt-oss-120b" | "mistral-7b-instruct-v0.3" | "mistral-nemo-instruct-2407" | "qwen3.6-27b" | "qwen3.5-9b" | "qwen3.5-397b-a17b" | "gpt-oss-20b";
|
|
3
|
+
export type ModelName="Qwen3-Coder-30B-A3B-Instruct" | "Qwen3-32B" | "Meta-Llama-3_3-70B-Instruct" | "Mistral-Small-3.2-24B-Instruct-2506" | "Qwen2.5-VL-72B-Instruct" | "gpt-oss-120b" | "Mistral-7B-Instruct-v0.3" | "Mistral-Nemo-Instruct-2407" | "Qwen3.6-27B" | "Qwen3.5-9B" | "Qwen3.5-397B-A17B" | "gpt-oss-20b";
|
|
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="qwen3-235b-a22b-instruct-2507" | "qwen3-coder-30b-a3b-instruct" | "qwen3-embedding-8b" | "bge-multilingual-gemma2" | "qwen3.6-35b-a3b" | "llama-3.3-70b-instruct" | "pixtral-12b-2409" | "mistral-small-3.2-24b-instruct-2506" | "gpt-oss-120b" | "gemma-4-26b-a4b-it" | "mistral-medium-3.5-128b" | "qwen3.5-397b-a17b" | "whisper-large-v3" | "gemma-3-27b-it" | "voxtral-small-24b-2507" | "devstral-2-123b-instruct-2512";
|
|
3
|
-
export type ModelName="Qwen3 235B A22B Instruct 2507" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 Embedding 8B" | "BGE Multilingual Gemma2" | "Qwen3.6 35B A3B" | "Llama-3.3-70B-Instruct" | "Pixtral 12B 2409" | "Mistral Small 3.2 24B Instruct (2506)" | "GPT-OSS 120B" | "Gemma 4 26B A4B IT" | "Mistral Medium 3.5 128B" | "Qwen3.5 397B A17B" | "Whisper Large v3" | "Gemma-3-27B-IT" | "Voxtral Small 24B 2507" | "Devstral 2 123B Instruct (2512)";
|
|
2
|
+
export type ModelId="qwen3-235b-a22b-instruct-2507" | "qwen3-coder-30b-a3b-instruct" | "qwen3-embedding-8b" | "bge-multilingual-gemma2" | "qwen3.6-35b-a3b" | "llama-3.3-70b-instruct" | "glm-5.2" | "pixtral-12b-2409" | "mistral-small-3.2-24b-instruct-2506" | "gpt-oss-120b" | "gemma-4-26b-a4b-it" | "mistral-medium-3.5-128b" | "qwen3.5-397b-a17b" | "whisper-large-v3" | "gemma-3-27b-it" | "voxtral-small-24b-2507" | "devstral-2-123b-instruct-2512";
|
|
3
|
+
export type ModelName="Qwen3 235B A22B Instruct 2507" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 Embedding 8B" | "BGE Multilingual Gemma2" | "Qwen3.6 35B A3B" | "Llama-3.3-70B-Instruct" | "GLM-5.2" | "Pixtral 12B 2409" | "Mistral Small 3.2 24B Instruct (2506)" | "GPT-OSS 120B" | "Gemma 4 26B A4B IT" | "Mistral Medium 3.5 128B" | "Qwen3.5 397B A17B" | "Whisper Large v3" | "Gemma-3-27B-IT" | "Voxtral Small 24B 2507" | "Devstral 2 123B Instruct (2512)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="qwen3-235b-a22b-instruct-2507" | "qwen3-coder-30b-a3b-instruct" | "qwen3-embedding-8b" | "bge-multilingual-gemma2" | "qwen3.6-35b-a3b" | "llama-3.3-70b-instruct" | "pixtral-12b-2409" | "mistral-small-3.2-24b-instruct-2506" | "gpt-oss-120b" | "gemma-4-26b-a4b-it" | "mistral-medium-3.5-128b" | "qwen3.5-397b-a17b" | "whisper-large-v3" | "gemma-3-27b-it" | "voxtral-small-24b-2507" | "devstral-2-123b-instruct-2512";
|
|
3
|
-
export type ModelName="Qwen3 235B A22B Instruct 2507" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 Embedding 8B" | "BGE Multilingual Gemma2" | "Qwen3.6 35B A3B" | "Llama-3.3-70B-Instruct" | "Pixtral 12B 2409" | "Mistral Small 3.2 24B Instruct (2506)" | "GPT-OSS 120B" | "Gemma 4 26B A4B IT" | "Mistral Medium 3.5 128B" | "Qwen3.5 397B A17B" | "Whisper Large v3" | "Gemma-3-27B-IT" | "Voxtral Small 24B 2507" | "Devstral 2 123B Instruct (2512)";
|
|
2
|
+
export type ModelId="qwen3-235b-a22b-instruct-2507" | "qwen3-coder-30b-a3b-instruct" | "qwen3-embedding-8b" | "bge-multilingual-gemma2" | "qwen3.6-35b-a3b" | "llama-3.3-70b-instruct" | "glm-5.2" | "pixtral-12b-2409" | "mistral-small-3.2-24b-instruct-2506" | "gpt-oss-120b" | "gemma-4-26b-a4b-it" | "mistral-medium-3.5-128b" | "qwen3.5-397b-a17b" | "whisper-large-v3" | "gemma-3-27b-it" | "voxtral-small-24b-2507" | "devstral-2-123b-instruct-2512";
|
|
3
|
+
export type ModelName="Qwen3 235B A22B Instruct 2507" | "Qwen3-Coder 30B-A3B Instruct" | "Qwen3 Embedding 8B" | "BGE Multilingual Gemma2" | "Qwen3.6 35B A3B" | "Llama-3.3-70B-Instruct" | "GLM-5.2" | "Pixtral 12B 2409" | "Mistral Small 3.2 24B Instruct (2506)" | "GPT-OSS 120B" | "Gemma 4 26B A4B IT" | "Mistral Medium 3.5 128B" | "Qwen3.5 397B A17B" | "Whisper Large v3" | "Gemma-3-27B-IT" | "Voxtral Small 24B 2507" | "Devstral 2 123B Instruct (2512)";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
+
export type ModelId="kimi-k2-6" | "llama3-3-70b" | "gpt-oss-safeguard-120b" | "nomic-embed-text" | "gpt-oss-120b" | "glm-5-2" | "gemma4-31b";
|
|
3
|
+
export type ModelName="Kimi K2.6" | "Llama-3.3-70B-Instruct" | "gpt-oss-safeguard-120b" | "Nomic Embed Text v1.5" | "gpt-oss-120b" | "GLM-5.2" | "Gemma 4 31B IT";
|
|
4
|
+
export declare function getModels():Model[];
|
|
5
|
+
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
|
+
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
+
export type ModelId="kimi-k2-6" | "llama3-3-70b" | "gpt-oss-safeguard-120b" | "nomic-embed-text" | "gpt-oss-120b" | "glm-5-2" | "gemma4-31b";
|
|
3
|
+
export type ModelName="Kimi K2.6" | "Llama-3.3-70B-Instruct" | "gpt-oss-safeguard-120b" | "Nomic Embed Text v1.5" | "gpt-oss-120b" | "GLM-5.2" | "Gemma 4 31B IT";
|
|
4
|
+
export declare function getModels():Model[];
|
|
5
|
+
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
|
+
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports,"__esModule",{value:true});
|
|
3
|
+
const{getModelsByProvider:_gm,getModel:_gmod,getPrice:_gp}=require("../index.js");
|
|
4
|
+
const pid="tinfoil";
|
|
5
|
+
const getModels=()=>_gm(pid);exports.getModels=getModels;
|
|
6
|
+
const getModel=id=>_gmod(pid,id);exports.getModel=getModel;
|
|
7
|
+
const getPrice=(id,tokens)=>_gp(pid,id,tokens);exports.getPrice=getPrice;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="LiquidAI/LFM2-24B-A2B" | "meta-llama/Meta-Llama-3-8B-Instruct-Lite" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "google/gemma-4-31B-it" | "google/gemma-3n-E4B-it" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.6-Plus" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-Coder-Next-FP8" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "Qwen/Qwen3-235B-A22B-Instruct-2507-tput" | "Qwen/Qwen2.5-7B-Instruct-Turbo" | "Qwen/Qwen3.5-9B" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "pearl-ai/gemma-4-31b-it" | "nvidia/nemotron-3-ultra-550b-a55b" | "deepcogito/cogito-v2-1-671b" | "zai-org/GLM-5" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3-1" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7" | "essentialai/Rnj-1-Instruct";
|
|
3
|
-
export type ModelName="LFM2-24B-A2B" | "Meta Llama 3 8B Instruct Lite" | "Llama 3.3 70B" | "Kimi K2.6" | "Kimi K2.5" | "Kimi K2.7 Code" | "Gemma 4 31B Instruct" | "Gemma 3N E4B Instruct" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "Qwen3.5 397B A17B" | "Qwen3 Coder Next FP8" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507 FP8" | "Qwen 2.5 7B Instruct Turbo" | "Qwen3.5 9B" | "GPT OSS 120B" | "GPT OSS 20B" | "Pearl AI Gemma 4 31B Instruct" | "Nemotron 3 Ultra 550B A55B" | "Cogito v2.1 671B" | "GLM-5" | "GLM-5.1" | "DeepSeek-R1" | "DeepSeek V3.1" | "DeepSeek V4 Pro" | "DeepSeek-V3" | "MiniMax-M2.5" | "MiniMax-M3" | "MiniMax-M2.7" | "Rnj-1 Instruct";
|
|
2
|
+
export type ModelId="LiquidAI/LFM2-24B-A2B" | "meta-llama/Meta-Llama-3-8B-Instruct-Lite" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "google/gemma-4-31B-it" | "google/gemma-3n-E4B-it" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.6-Plus" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-Coder-Next-FP8" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "Qwen/Qwen3-235B-A22B-Instruct-2507-tput" | "Qwen/Qwen2.5-7B-Instruct-Turbo" | "Qwen/Qwen3.5-9B" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "pearl-ai/gemma-4-31b-it" | "nvidia/nemotron-3-ultra-550b-a55b" | "deepcogito/cogito-v2-1-671b" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3-1" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7" | "essentialai/Rnj-1-Instruct";
|
|
3
|
+
export type ModelName="LFM2-24B-A2B" | "Meta Llama 3 8B Instruct Lite" | "Llama 3.3 70B" | "Kimi K2.6" | "Kimi K2.5" | "Kimi K2.7 Code" | "Gemma 4 31B Instruct" | "Gemma 3N E4B Instruct" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "Qwen3.5 397B A17B" | "Qwen3 Coder Next FP8" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507 FP8" | "Qwen 2.5 7B Instruct Turbo" | "Qwen3.5 9B" | "GPT OSS 120B" | "GPT OSS 20B" | "Pearl AI Gemma 4 31B Instruct" | "Nemotron 3 Ultra 550B A55B" | "Cogito v2.1 671B" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "DeepSeek-R1" | "DeepSeek V3.1" | "DeepSeek V4 Pro" | "DeepSeek-V3" | "MiniMax-M2.5" | "MiniMax-M3" | "MiniMax-M2.7" | "Rnj-1 Instruct";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="LiquidAI/LFM2-24B-A2B" | "meta-llama/Meta-Llama-3-8B-Instruct-Lite" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "google/gemma-4-31B-it" | "google/gemma-3n-E4B-it" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.6-Plus" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-Coder-Next-FP8" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "Qwen/Qwen3-235B-A22B-Instruct-2507-tput" | "Qwen/Qwen2.5-7B-Instruct-Turbo" | "Qwen/Qwen3.5-9B" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "pearl-ai/gemma-4-31b-it" | "nvidia/nemotron-3-ultra-550b-a55b" | "deepcogito/cogito-v2-1-671b" | "zai-org/GLM-5" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3-1" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7" | "essentialai/Rnj-1-Instruct";
|
|
3
|
-
export type ModelName="LFM2-24B-A2B" | "Meta Llama 3 8B Instruct Lite" | "Llama 3.3 70B" | "Kimi K2.6" | "Kimi K2.5" | "Kimi K2.7 Code" | "Gemma 4 31B Instruct" | "Gemma 3N E4B Instruct" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "Qwen3.5 397B A17B" | "Qwen3 Coder Next FP8" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507 FP8" | "Qwen 2.5 7B Instruct Turbo" | "Qwen3.5 9B" | "GPT OSS 120B" | "GPT OSS 20B" | "Pearl AI Gemma 4 31B Instruct" | "Nemotron 3 Ultra 550B A55B" | "Cogito v2.1 671B" | "GLM-5" | "GLM-5.1" | "DeepSeek-R1" | "DeepSeek V3.1" | "DeepSeek V4 Pro" | "DeepSeek-V3" | "MiniMax-M2.5" | "MiniMax-M3" | "MiniMax-M2.7" | "Rnj-1 Instruct";
|
|
2
|
+
export type ModelId="LiquidAI/LFM2-24B-A2B" | "meta-llama/Meta-Llama-3-8B-Instruct-Lite" | "meta-llama/Llama-3.3-70B-Instruct-Turbo" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "moonshotai/Kimi-K2.7-Code" | "google/gemma-4-31B-it" | "google/gemma-3n-E4B-it" | "Qwen/Qwen3.7-Max" | "Qwen/Qwen3.6-Plus" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3-Coder-Next-FP8" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "Qwen/Qwen3-235B-A22B-Instruct-2507-tput" | "Qwen/Qwen2.5-7B-Instruct-Turbo" | "Qwen/Qwen3.5-9B" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "pearl-ai/gemma-4-31b-it" | "nvidia/nemotron-3-ultra-550b-a55b" | "deepcogito/cogito-v2-1-671b" | "zai-org/GLM-5" | "zai-org/GLM-5.2" | "zai-org/GLM-5.1" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3-1" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-V3" | "MiniMaxAI/MiniMax-M2.5" | "MiniMaxAI/MiniMax-M3" | "MiniMaxAI/MiniMax-M2.7" | "essentialai/Rnj-1-Instruct";
|
|
3
|
+
export type ModelName="LFM2-24B-A2B" | "Meta Llama 3 8B Instruct Lite" | "Llama 3.3 70B" | "Kimi K2.6" | "Kimi K2.5" | "Kimi K2.7 Code" | "Gemma 4 31B Instruct" | "Gemma 3N E4B Instruct" | "Qwen3.7 Max" | "Qwen3.6 Plus" | "Qwen3.5 397B A17B" | "Qwen3 Coder Next FP8" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507 FP8" | "Qwen 2.5 7B Instruct Turbo" | "Qwen3.5 9B" | "GPT OSS 120B" | "GPT OSS 20B" | "Pearl AI Gemma 4 31B Instruct" | "Nemotron 3 Ultra 550B A55B" | "Cogito v2.1 671B" | "GLM-5" | "GLM-5.2" | "GLM-5.1" | "DeepSeek-R1" | "DeepSeek V3.1" | "DeepSeek V4 Pro" | "DeepSeek-V3" | "MiniMax-M2.5" | "MiniMax-M3" | "MiniMax-M2.7" | "Rnj-1 Instruct";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="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-4o-transcribe" | "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-4o-mini-transcribe" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-realtime-1.5" | "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/gpt-realtime-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-realtime-2" | "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-5.2-fast" | "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" | "
|
|
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-4o Transcribe" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-4o mini Transcribe" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-Realtime-1.5" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "GPT-Realtime mini" | "o3-deep-research" | "GPT Image 1" | "gpt-realtime-2" | "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 5.2 Fast" | "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" | "
|
|
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-4o-transcribe" | "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-4o-mini-transcribe" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-realtime-1.5" | "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/gpt-realtime-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-realtime-2" | "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-5.2-fast" | "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-3.5-haiku" | "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" | "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-4o Transcribe" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-4o mini Transcribe" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-Realtime-1.5" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "GPT-Realtime mini" | "o3-deep-research" | "GPT Image 1" | "gpt-realtime-2" | "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 5.2 Fast" | "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 3.5 Haiku" | "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" | "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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
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-4o-transcribe" | "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-4o-mini-transcribe" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-realtime-1.5" | "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/gpt-realtime-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-realtime-2" | "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-5.2-fast" | "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" | "
|
|
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-4o Transcribe" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-4o mini Transcribe" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-Realtime-1.5" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "GPT-Realtime mini" | "o3-deep-research" | "GPT Image 1" | "gpt-realtime-2" | "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 5.2 Fast" | "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" | "
|
|
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-4o-transcribe" | "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-4o-mini-transcribe" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-realtime-1.5" | "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/gpt-realtime-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-realtime-2" | "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-5.2-fast" | "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-3.5-haiku" | "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" | "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-4o Transcribe" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-4o mini Transcribe" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-Realtime-1.5" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "GPT-Realtime mini" | "o3-deep-research" | "GPT Image 1" | "gpt-realtime-2" | "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 5.2 Fast" | "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 3.5 Haiku" | "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" | "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;
|