ai-model-prices 2026.6.13 → 2026.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/adapters/llmgateway.d.mts +2 -2
- package/dist/adapters/llmgateway.d.ts +2 -2
- package/dist/adapters/siliconflow-cn.d.mts +2 -2
- package/dist/adapters/siliconflow-cn.d.ts +2 -2
- package/dist/adapters/siliconflow.d.mts +2 -2
- package/dist/adapters/siliconflow.d.ts +2 -2
- package/dist/adapters/synthetic.d.mts +2 -2
- package/dist/adapters/synthetic.d.ts +2 -2
- package/dist/adapters/togetherai.d.mts +2 -2
- package/dist/adapters/togetherai.d.ts +2 -2
- package/dist/adapters/venice.d.mts +2 -2
- package/dist/adapters/venice.d.ts +2 -2
- package/dist/adapters/vercel.d.mts +2 -2
- package/dist/adapters/vercel.d.ts +2 -2
- package/dist/adapters/zai-coding-plan.d.mts +2 -2
- package/dist/adapters/zai-coding-plan.d.ts +2 -2
- package/dist/adapters/zhipuai-coding-plan.d.mts +2 -2
- package/dist/adapters/zhipuai-coding-plan.d.ts +2 -2
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/azure.js +1 -1
- package/dist/providers/llmgateway.js +1 -1
- package/dist/providers/openrouter.js +1 -1
- package/dist/providers/siliconflow-cn.js +1 -1
- package/dist/providers/siliconflow.js +1 -1
- package/dist/providers/synthetic.js +1 -1
- package/dist/providers/togetherai.js +1 -1
- package/dist/providers/venice.js +1 -1
- package/dist/providers/vercel.js +1 -1
- package/dist/providers/zai-coding-plan.js +1 -1
- package/dist/providers/zhipuai-coding-plan.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Pricing data for AI models, typed and kept up to date daily from [models.dev](https://models.dev).
|
|
7
7
|
|
|
8
8
|
<!-- STATS:START -->
|
|
9
|
-
**140 providers ·
|
|
9
|
+
**140 providers · 4887 models · Updated 2026-06-15**
|
|
10
10
|
<!-- STATS:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "deepseek-r1-0528" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "qwen25-coder-7b" | "minimax-m2.7-highspeed" | "llama-3.1-8b-instruct" | "qwen-plus" | "o3" | "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" | "hermes-2-pro-llama-3-8b" | "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" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "gemini-2.0-flash" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "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" | "gemma-3-1b-it" | "glm-4.5-x" | "claude-opus-4-7" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "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-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "qwen3-max-2026-01-23" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "qwen3-32b-fp8" | "claude-3-5-haiku" | "gpt-5.2" | "gemma-3-27b" | "gpt-5.3-codex" | "grok-4-0709" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "claude-sonnet-4-20250514" | "gpt-5.1-codex-mini" | "qwen3-30b-a3b-thinking-2507" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "grok-4-fast-reasoning" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "qwen3-30b-a3b-fp8" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "llama-4-scout" | "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" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "mimo-v2-flash" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "gemma-2-27b-it-together" | "gpt-5-nano" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "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" | "gemini-3.1-flash-lite-preview" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gemini-2.0-flash-lite" | "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" | "DeepSeek R1 (0528)" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "Qwen2.5 Coder 7B" | "MiniMax-M2.7-highspeed" | "Llama 3.1 8B Instruct" | "Qwen Plus" | "o3" | "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)" | "Hermes 2 Pro Llama 3 8B" | "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" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "Gemini 2.0 Flash" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "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" | "Gemma 3 1B IT" | "GLM-4.5 X" | "Claude Opus 4.7" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "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 Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Qwen3 Max (2026-01-23)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "Qwen3 32B FP8" | "Claude 3.5 Haiku" | "GPT-5.2" | "Gemma 3 27B" | "GPT-5.3 Codex" | "Grok 4 (0709)" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "Claude Sonnet 4" | "GPT-5.1 Codex mini" | "Qwen3 30B A3B Thinking (2507)" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "Grok 4 Fast Reasoning" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Qwen3 30B A3B FP8" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Llama 4 Scout" | "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" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "MiMo-V2-Flash" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Gemma 2 27B IT" | "GPT-5 Nano" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "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" | "Gemini 3.1 Flash Lite Preview" | "Codestral" | "Qwen3 235B A22B FP8" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "Gemini 2.0 Flash-Lite" | "GPT-5.1" | "GPT-5.5";
|
|
2
|
+
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "deepseek-r1-0528" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "qwen25-coder-7b" | "minimax-m2.7-highspeed" | "llama-3.1-8b-instruct" | "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" | "hermes-2-pro-llama-3-8b" | "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" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "gemini-2.0-flash" | "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" | "gemma-3-1b-it" | "glm-4.5-x" | "claude-opus-4-7" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "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-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "qwen3-max-2026-01-23" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "qwen3-32b-fp8" | "claude-3-5-haiku" | "gpt-5.2" | "gemma-3-27b" | "gpt-5.3-codex" | "grok-4-0709" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "claude-sonnet-4-20250514" | "gpt-5.1-codex-mini" | "qwen3-30b-a3b-thinking-2507" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "grok-4-fast-reasoning" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "qwen3-30b-a3b-fp8" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "llama-4-scout" | "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" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "mimo-v2-flash" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "gemma-2-27b-it-together" | "grok-build-0-1" | "gpt-5-nano" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "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" | "gemini-3.1-flash-lite-preview" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gemini-2.0-flash-lite" | "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" | "DeepSeek R1 (0528)" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "Qwen2.5 Coder 7B" | "MiniMax-M2.7-highspeed" | "Llama 3.1 8B Instruct" | "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)" | "Hermes 2 Pro Llama 3 8B" | "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" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "Gemini 2.0 Flash" | "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" | "Gemma 3 1B IT" | "GLM-4.5 X" | "Claude Opus 4.7" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "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 Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Qwen3 Max (2026-01-23)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "Qwen3 32B FP8" | "Claude 3.5 Haiku" | "GPT-5.2" | "Gemma 3 27B" | "GPT-5.3 Codex" | "Grok 4 (0709)" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "Claude Sonnet 4" | "GPT-5.1 Codex mini" | "Qwen3 30B A3B Thinking (2507)" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "Grok 4 Fast Reasoning" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Qwen3 30B A3B FP8" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Llama 4 Scout" | "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" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "MiMo-V2-Flash" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Gemma 2 27B IT" | "Grok Build 0.1" | "GPT-5 Nano" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "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" | "Gemini 3.1 Flash Lite Preview" | "Codestral" | "Qwen3 235B A22B FP8" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "Gemini 2.0 Flash-Lite" | "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" | "deepseek-r1-0528" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "qwen25-coder-7b" | "minimax-m2.7-highspeed" | "llama-3.1-8b-instruct" | "qwen-plus" | "o3" | "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" | "hermes-2-pro-llama-3-8b" | "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" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "gemini-2.0-flash" | "grok-4-20-non-reasoning" | "glm-4.7-flashx" | "qwen3-30b-a3b-instruct-2507" | "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" | "gemma-3-1b-it" | "glm-4.5-x" | "claude-opus-4-7" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "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-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "qwen3-max-2026-01-23" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "qwen3-32b-fp8" | "claude-3-5-haiku" | "gpt-5.2" | "gemma-3-27b" | "gpt-5.3-codex" | "grok-4-0709" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "claude-sonnet-4-20250514" | "gpt-5.1-codex-mini" | "qwen3-30b-a3b-thinking-2507" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "grok-4-fast-reasoning" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "qwen3-30b-a3b-fp8" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "llama-4-scout" | "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" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "mimo-v2-flash" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "gemma-2-27b-it-together" | "gpt-5-nano" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "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" | "gemini-3.1-flash-lite-preview" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gemini-2.0-flash-lite" | "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" | "DeepSeek R1 (0528)" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "Qwen2.5 Coder 7B" | "MiniMax-M2.7-highspeed" | "Llama 3.1 8B Instruct" | "Qwen Plus" | "o3" | "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)" | "Hermes 2 Pro Llama 3 8B" | "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" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "Gemini 2.0 Flash" | "GLM-4.7-FlashX" | "Qwen3 30B A3B Instruct (2507)" | "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" | "Gemma 3 1B IT" | "GLM-4.5 X" | "Claude Opus 4.7" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "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 Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Qwen3 Max (2026-01-23)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "Qwen3 32B FP8" | "Claude 3.5 Haiku" | "GPT-5.2" | "Gemma 3 27B" | "GPT-5.3 Codex" | "Grok 4 (0709)" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "Claude Sonnet 4" | "GPT-5.1 Codex mini" | "Qwen3 30B A3B Thinking (2507)" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "Grok 4 Fast Reasoning" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Qwen3 30B A3B FP8" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Llama 4 Scout" | "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" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "MiMo-V2-Flash" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Gemma 2 27B IT" | "GPT-5 Nano" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "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" | "Gemini 3.1 Flash Lite Preview" | "Codestral" | "Qwen3 235B A22B FP8" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "Gemini 2.0 Flash-Lite" | "GPT-5.1" | "GPT-5.5";
|
|
2
|
+
export type ModelId="claude-3-7-sonnet" | "qwen-coder-plus" | "mistral-large-latest" | "qwen3-vl-235b-a22b-thinking" | "deepseek-r1-0528" | "devstral-small-2507" | "qwen3-vl-30b-a3b-thinking" | "deepseek-v4-flash" | "qwen3-coder-plus" | "qwen25-coder-7b" | "minimax-m2.7-highspeed" | "llama-3.1-8b-instruct" | "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" | "hermes-2-pro-llama-3-8b" | "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" | "qwen-plus-latest" | "claude-opus-4-1-20250805" | "grok-4-3" | "llama-4-scout-17b-instruct" | "llama-3.3-70b-instruct" | "sonar-reasoning-pro" | "gemini-2.0-flash" | "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" | "gemma-3-1b-it" | "glm-4.5-x" | "claude-opus-4-7" | "gpt-5.4-nano" | "grok-4-20-beta-0309-reasoning" | "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-3-5-sonnet-20241022" | "claude-opus-4-8" | "claude-opus-4-20250514" | "qwen3-max-2026-01-23" | "gpt-5.3-chat-latest" | "claude-3-opus" | "qwen-omni-turbo" | "o3-mini" | "qwen3-32b-fp8" | "claude-3-5-haiku" | "gpt-5.2" | "gemma-3-27b" | "gpt-5.3-codex" | "grok-4-0709" | "minimax-m2.7" | "qwen-flash" | "qwen3-4b-fp8" | "gemini-2.5-flash-lite" | "qwen2-5-vl-32b-instruct" | "claude-sonnet-4-20250514" | "gpt-5.1-codex-mini" | "qwen3-30b-a3b-thinking-2507" | "kimi-k2.5" | "seed-1-6-250915" | "gpt-5.2-chat-latest" | "minimax-text-01" | "grok-4-fast-reasoning" | "gpt-4.1-nano" | "gpt-oss-120b" | "qwen-vl-max" | "llama-3-8b-instruct" | "qwen3-30b-a3b-fp8" | "sonar" | "qwen-max" | "claude-3-7-sonnet-20250219" | "o1" | "minimax-m2.5-highspeed" | "deepseek-v3.1" | "llama-4-scout" | "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" | "qwq-plus" | "grok-4-1-fast-reasoning" | "qwen3-vl-30b-a3b-instruct" | "qwen3-vl-flash" | "gpt-5-mini" | "mimo-v2-flash" | "gpt-4.1-mini" | "llama-3.1-nemotron-ultra-253b" | "gpt-4-turbo" | "qwen3-coder-flash" | "gemma-2-27b-it-together" | "grok-build-0-1" | "gpt-5-nano" | "llama-3.2-11b-instruct" | "gpt-5.4-pro" | "glm-4.6v-flash" | "glm-4.5-air" | "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" | "gemini-3.1-flash-lite-preview" | "codestral-2508" | "qwen3-235b-a22b-fp8" | "gpt-5.2-codex" | "qwen-vl-plus" | "qwen3.6-plus" | "gemini-2.0-flash-lite" | "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" | "DeepSeek R1 (0528)" | "Devstral Small" | "Qwen3 VL 30B A3B Thinking" | "DeepSeek V4 Flash" | "Qwen3 Coder Plus" | "Qwen2.5 Coder 7B" | "MiniMax-M2.7-highspeed" | "Llama 3.1 8B Instruct" | "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)" | "Hermes 2 Pro Llama 3 8B" | "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" | "Qwen Plus Latest" | "Claude Opus 4.1" | "Grok 4.3" | "Llama 4 Scout 17B Instruct" | "Llama-3.3-70B-Instruct" | "Sonar Reasoning Pro" | "Gemini 2.0 Flash" | "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" | "Gemma 3 1B IT" | "GLM-4.5 X" | "Claude Opus 4.7" | "GPT-5.4 nano" | "Grok 4.20 (Reasoning)" | "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 Sonnet 3.5 v2" | "Claude Opus 4.8" | "Claude Opus 4" | "Qwen3 Max (2026-01-23)" | "GPT-5.3 Chat (latest)" | "Claude 3 Opus" | "Qwen-Omni Turbo" | "o3-mini" | "Qwen3 32B FP8" | "Claude 3.5 Haiku" | "GPT-5.2" | "Gemma 3 27B" | "GPT-5.3 Codex" | "Grok 4 (0709)" | "MiniMax-M2.7" | "Qwen Flash" | "Qwen3 4B FP8" | "Gemini 2.5 Flash-Lite" | "Qwen2.5 VL 32B Instruct" | "Claude Sonnet 4" | "GPT-5.1 Codex mini" | "Qwen3 30B A3B Thinking (2507)" | "Kimi K2.5" | "Seed 1.6 (250915)" | "GPT-5.2 Chat" | "MiniMax Text 01" | "Grok 4 Fast Reasoning" | "GPT-4.1 nano" | "GPT OSS 120B" | "Qwen-VL Max" | "Llama 3 8B Instruct" | "Qwen3 30B A3B FP8" | "Sonar" | "Qwen Max" | "Claude Sonnet 3.7" | "o1" | "MiniMax-M2.5-highspeed" | "DeepSeek V3.1" | "Llama 4 Scout" | "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" | "QwQ Plus" | "Grok 4.1 Fast Reasoning" | "Qwen3 VL 30B A3B Instruct" | "Qwen3 VL Flash" | "GPT-5 Mini" | "MiMo-V2-Flash" | "GPT-4.1 mini" | "Llama 3.1 Nemotron Ultra 253B" | "GPT-4 Turbo" | "Qwen3 Coder Flash" | "Gemma 2 27B IT" | "Grok Build 0.1" | "GPT-5 Nano" | "Llama 3.2 11B Instruct" | "GPT-5.4 Pro" | "GLM-4.6V Flash" | "GLM-4.5-Air" | "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" | "Gemini 3.1 Flash Lite Preview" | "Codestral" | "Qwen3 235B A22B FP8" | "GPT-5.2 Codex" | "Qwen-VL Plus" | "Qwen3.6 Plus" | "Gemini 2.0 Flash-Lite" | "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="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "
|
|
3
|
-
export type ModelName="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "
|
|
2
|
+
export type ModelId="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "Pro/moonshotai/Kimi-K2-Thinking" | "Pro/moonshotai/Kimi-K2-Instruct-0905" | "Pro/moonshotai/Kimi-K2.6" | "Pro/moonshotai/Kimi-K2.5" | "Pro/zai-org/GLM-5" | "Pro/zai-org/GLM-4.7" | "Pro/zai-org/GLM-5.1" | "Pro/deepseek-ai/DeepSeek-R1" | "Pro/deepseek-ai/DeepSeek-V3.1-Terminus" | "Pro/deepseek-ai/DeepSeek-V3.2" | "Pro/deepseek-ai/DeepSeek-V3" | "Pro/MiniMaxAI/MiniMax-M2.1" | "Pro/MiniMaxAI/MiniMax-M2.5" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-4B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-VL-32B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-8B" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/QwQ-32B" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "PaddlePaddle/PaddleOCR-VL-1.5" | "tencent/Hunyuan-A13B-Instruct" | "tencent/Hunyuan-MT-7B" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.6V" | "zai-org/GLM-4.6" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-OCR" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-R1" | "Kwaipilot/KAT-Dev";
|
|
3
|
+
export type ModelName="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "Pro/moonshotai/Kimi-K2-Thinking" | "Pro/moonshotai/Kimi-K2-Instruct-0905" | "Pro/moonshotai/Kimi-K2.6" | "Pro/moonshotai/Kimi-K2.5" | "Pro/zai-org/GLM-5" | "Pro/zai-org/GLM-4.7" | "Pro/zai-org/GLM-5.1" | "Pro/deepseek-ai/DeepSeek-R1" | "Pro/deepseek-ai/DeepSeek-V3.1-Terminus" | "Pro/deepseek-ai/DeepSeek-V3.2" | "Pro/deepseek-ai/DeepSeek-V3" | "Pro/MiniMaxAI/MiniMax-M2.1" | "Pro/MiniMaxAI/MiniMax-M2.5" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-4B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-VL-32B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-8B" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/QwQ-32B" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "PaddlePaddle/PaddleOCR-VL-1.5" | "tencent/Hunyuan-A13B-Instruct" | "tencent/Hunyuan-MT-7B" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.6V" | "zai-org/GLM-4.6" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-OCR" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-R1" | "Kwaipilot/KAT-Dev";
|
|
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="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "
|
|
3
|
-
export type ModelName="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "
|
|
2
|
+
export type ModelId="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "Pro/moonshotai/Kimi-K2-Thinking" | "Pro/moonshotai/Kimi-K2-Instruct-0905" | "Pro/moonshotai/Kimi-K2.6" | "Pro/moonshotai/Kimi-K2.5" | "Pro/zai-org/GLM-5" | "Pro/zai-org/GLM-4.7" | "Pro/zai-org/GLM-5.1" | "Pro/deepseek-ai/DeepSeek-R1" | "Pro/deepseek-ai/DeepSeek-V3.1-Terminus" | "Pro/deepseek-ai/DeepSeek-V3.2" | "Pro/deepseek-ai/DeepSeek-V3" | "Pro/MiniMaxAI/MiniMax-M2.1" | "Pro/MiniMaxAI/MiniMax-M2.5" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-4B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-VL-32B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-8B" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/QwQ-32B" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "PaddlePaddle/PaddleOCR-VL-1.5" | "tencent/Hunyuan-A13B-Instruct" | "tencent/Hunyuan-MT-7B" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.6V" | "zai-org/GLM-4.6" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-OCR" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-R1" | "Kwaipilot/KAT-Dev";
|
|
3
|
+
export type ModelName="THUDM/GLM-Z1-9B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-Z1-32B-0414" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Thinking" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "inclusionAI/Ling-flash-2.0" | "Pro/moonshotai/Kimi-K2-Thinking" | "Pro/moonshotai/Kimi-K2-Instruct-0905" | "Pro/moonshotai/Kimi-K2.6" | "Pro/moonshotai/Kimi-K2.5" | "Pro/zai-org/GLM-5" | "Pro/zai-org/GLM-4.7" | "Pro/zai-org/GLM-5.1" | "Pro/deepseek-ai/DeepSeek-R1" | "Pro/deepseek-ai/DeepSeek-V3.1-Terminus" | "Pro/deepseek-ai/DeepSeek-V3.2" | "Pro/deepseek-ai/DeepSeek-V3" | "Pro/MiniMaxAI/MiniMax-M2.1" | "Pro/MiniMaxAI/MiniMax-M2.5" | "Qwen/Qwen3.6-35B-A3B" | "Qwen/Qwen3.5-397B-A17B" | "Qwen/Qwen3.5-122B-A10B" | "Qwen/Qwen3.5-27B" | "Qwen/Qwen3.5-4B" | "Qwen/Qwen3.5-9B" | "Qwen/Qwen3.5-35B-A3B" | "Qwen/Qwen3-VL-32B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-8B" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/QwQ-32B" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "PaddlePaddle/PaddleOCR-VL-1.5" | "tencent/Hunyuan-A13B-Instruct" | "tencent/Hunyuan-MT-7B" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.6V" | "zai-org/GLM-4.6" | "deepseek-ai/DeepSeek-V4-Pro" | "deepseek-ai/DeepSeek-OCR" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-R1" | "Kwaipilot/KAT-Dev";
|
|
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="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "
|
|
3
|
-
export type ModelName="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "
|
|
2
|
+
export type ModelId="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "google/gemma-4-31B-it" | "google/gemma-4-26B-A4B-it" | "inclusionAI/Ling-flash-2.0" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen2.5-VL-7B-Instruct" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-VL-32B-Thinking" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "tencent/Hunyuan-MT-7B" | "tencent/Hunyuan-A13B-Instruct" | "zai-org/GLM-5V-Turbo" | "zai-org/GLM-4.6" | "zai-org/GLM-4.6V" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "deepseek-ai/deepseek-v4-flash" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/deepseek-v4-pro" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.2-Exp" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
+
export type ModelName="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "Gemma 4 31B IT" | "Gemma 4 26B A4B IT" | "inclusionAI/Ling-flash-2.0" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen2.5-VL-7B-Instruct" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-VL-32B-Thinking" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "tencent/Hunyuan-MT-7B" | "tencent/Hunyuan-A13B-Instruct" | "zai-org/GLM-5V-Turbo" | "zai-org/GLM-4.6" | "zai-org/GLM-4.6V" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "DeepSeek V4 Flash" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "DeepSeek V4 Pro" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.2-Exp" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "MiniMaxAI/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="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "
|
|
3
|
-
export type ModelName="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "
|
|
2
|
+
export type ModelId="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "google/gemma-4-31B-it" | "google/gemma-4-26B-A4B-it" | "inclusionAI/Ling-flash-2.0" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen2.5-VL-7B-Instruct" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-VL-32B-Thinking" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "tencent/Hunyuan-MT-7B" | "tencent/Hunyuan-A13B-Instruct" | "zai-org/GLM-5V-Turbo" | "zai-org/GLM-4.6" | "zai-org/GLM-4.6V" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "deepseek-ai/deepseek-v4-flash" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/deepseek-v4-pro" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.2-Exp" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "MiniMaxAI/MiniMax-M2.5";
|
|
3
|
+
export type ModelName="THUDM/GLM-Z1-32B-0414" | "THUDM/GLM-4-32B-0414" | "THUDM/GLM-4-9B-0414" | "THUDM/GLM-Z1-9B-0414" | "moonshotai/Kimi-K2-Thinking" | "moonshotai/Kimi-K2-Instruct-0905" | "moonshotai/Kimi-K2-Instruct" | "moonshotai/Kimi-K2.6" | "moonshotai/Kimi-K2.5" | "baidu/ERNIE-4.5-300B-A47B" | "ByteDance-Seed/Seed-OSS-36B-Instruct" | "stepfun-ai/Step-3.5-Flash" | "Gemma 4 31B IT" | "Gemma 4 26B A4B IT" | "inclusionAI/Ling-flash-2.0" | "Qwen/Qwen3-Omni-30B-A3B-Thinking" | "Qwen/Qwen2.5-VL-72B-Instruct" | "Qwen/Qwen2.5-VL-32B-Instruct" | "Qwen/Qwen3-30B-A3B-Thinking-2507" | "Qwen/Qwen2.5-7B-Instruct" | "Qwen/Qwen3-VL-235B-A22B-Instruct" | "Qwen/Qwen2.5-32B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen2.5-72B-Instruct-128K" | "Qwen/Qwen3-Coder-480B-A35B-Instruct" | "Qwen/Qwen3-Coder-30B-A3B-Instruct" | "Qwen/Qwen3-30B-A3B-Instruct-2507" | "Qwen/Qwen3-VL-30B-A3B-Thinking" | "Qwen/Qwen3-VL-8B-Thinking" | "Qwen/Qwen3-VL-8B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-Omni-30B-A3B-Captioner" | "Qwen/Qwen3-VL-235B-A22B-Thinking" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen2.5-Coder-32B-Instruct" | "Qwen/Qwen2.5-VL-7B-Instruct" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-VL-32B-Instruct" | "Qwen/Qwen2.5-14B-Instruct" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/Qwen3-Omni-30B-A3B-Instruct" | "Qwen/Qwen3-VL-30B-A3B-Instruct" | "Qwen/Qwen3-VL-32B-Thinking" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b" | "tencent/Hunyuan-MT-7B" | "tencent/Hunyuan-A13B-Instruct" | "zai-org/GLM-5V-Turbo" | "zai-org/GLM-4.6" | "zai-org/GLM-4.6V" | "zai-org/GLM-5" | "zai-org/GLM-4.7" | "zai-org/GLM-4.5V" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-5.1" | "zai-org/GLM-4.5" | "DeepSeek V4 Flash" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "DeepSeek V4 Pro" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.2-Exp" | "deepseek-ai/deepseek-vl2" | "deepseek-ai/DeepSeek-V3.2" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" | "MiniMaxAI/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="hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct" | "hf:meta-llama/Llama-3.3-70B-Instruct" | "hf:meta-llama/Llama-3.1-70B-Instruct" | "hf:meta-llama/Llama-3.1-405B-Instruct" | "hf:meta-llama/Llama-3.1-8B-Instruct" | "hf:deepseek-ai/DeepSeek-R1" | "hf:deepseek-ai/DeepSeek-V3-0324" | "hf:deepseek-ai/DeepSeek-V3.1-Terminus" | "hf:deepseek-ai/DeepSeek-R1-0528" | "hf:deepseek-ai/DeepSeek-V3.1" | "hf:deepseek-ai/DeepSeek-V3.2" | "hf:deepseek-ai/DeepSeek-V3" | "hf:moonshotai/Kimi-K2-Thinking" | "hf:moonshotai/Kimi-K2-Instruct-0905" | "hf:moonshotai/Kimi-K2.6" | "hf:moonshotai/Kimi-K2.5" | "hf:zai-org/GLM-4.7-Flash" | "hf:zai-org/GLM-4.6" | "hf:zai-org/GLM-5" | "hf:zai-org/GLM-4.7" | "hf:zai-org/GLM-5.1" | "hf:MiniMaxAI/MiniMax-M2.1" | "hf:MiniMaxAI/MiniMax-M2" | "hf:MiniMaxAI/MiniMax-M2.5" | "hf:openai/gpt-oss-120b" | "hf:Qwen/Qwen3.5-397B-A17B" | "hf:Qwen/Qwen3-235B-A22B-Thinking-2507" | "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct" | "hf:Qwen/Qwen2.5-Coder-32B-Instruct" | "hf:Qwen/Qwen3-235B-A22B-Instruct-2507" | "hf:nvidia/Kimi-K2.5-NVFP4" | "hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4";
|
|
3
|
-
export type ModelName="Llama-4-Maverick-17B-128E-Instruct-FP8" | "Llama-4-Scout-17B-16E-Instruct" | "Llama-3.3-70B-Instruct" | "Llama-3.1-70B-Instruct" | "Llama-3.1-405B-Instruct" | "Llama-3.1-8B-Instruct" | "DeepSeek R1" | "DeepSeek V3 (0324)" | "DeepSeek V3.1 Terminus" | "DeepSeek R1 (0528)" | "DeepSeek V3.1" | "DeepSeek V3.2" | "DeepSeek V3" | "Kimi K2 Thinking" | "Kimi K2 0905" | "Kimi K2.6" | "Kimi K2.5" | "GLM-4.7-Flash" | "GLM 4.6" | "GLM-5" | "GLM 4.7" | "GLM 5.1" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "GPT OSS 120B" | "Qwen3.5-97B-A17B" | "Qwen3 235B A22B Thinking 2507" | "Qwen 3 Coder 480B" | "Qwen2.5-Coder-32B-Instruct" | "Qwen 3 235B Instruct" | "Kimi K2.5 (NVFP4)" | "Nemotron 3 Super 120B";
|
|
2
|
+
export type ModelId="hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct" | "hf:meta-llama/Llama-3.3-70B-Instruct" | "hf:meta-llama/Llama-3.1-70B-Instruct" | "hf:meta-llama/Llama-3.1-405B-Instruct" | "hf:meta-llama/Llama-3.1-8B-Instruct" | "hf:deepseek-ai/DeepSeek-R1" | "hf:deepseek-ai/DeepSeek-V3-0324" | "hf:deepseek-ai/DeepSeek-V3.1-Terminus" | "hf:deepseek-ai/DeepSeek-R1-0528" | "hf:deepseek-ai/DeepSeek-V3.1" | "hf:deepseek-ai/DeepSeek-V3.2" | "hf:deepseek-ai/DeepSeek-V3" | "hf:moonshotai/Kimi-K2-Thinking" | "hf:moonshotai/Kimi-K2-Instruct-0905" | "hf:moonshotai/Kimi-K2.6" | "hf:moonshotai/Kimi-K2.5" | "hf:zai-org/GLM-4.7-Flash" | "hf:zai-org/GLM-4.6" | "hf:zai-org/GLM-5" | "hf:zai-org/GLM-4.7" | "hf:zai-org/GLM-5.1" | "hf:MiniMaxAI/MiniMax-M2.1" | "hf:MiniMaxAI/MiniMax-M2" | "hf:MiniMaxAI/MiniMax-M2.5" | "hf:MiniMaxAI/MiniMax-M3" | "hf:openai/gpt-oss-120b" | "hf:Qwen/Qwen3.5-397B-A17B" | "hf:Qwen/Qwen3-235B-A22B-Thinking-2507" | "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct" | "hf:Qwen/Qwen2.5-Coder-32B-Instruct" | "hf:Qwen/Qwen3-235B-A22B-Instruct-2507" | "hf:nvidia/Kimi-K2.5-NVFP4" | "hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4";
|
|
3
|
+
export type ModelName="Llama-4-Maverick-17B-128E-Instruct-FP8" | "Llama-4-Scout-17B-16E-Instruct" | "Llama-3.3-70B-Instruct" | "Llama-3.1-70B-Instruct" | "Llama-3.1-405B-Instruct" | "Llama-3.1-8B-Instruct" | "DeepSeek R1" | "DeepSeek V3 (0324)" | "DeepSeek V3.1 Terminus" | "DeepSeek R1 (0528)" | "DeepSeek V3.1" | "DeepSeek V3.2" | "DeepSeek V3" | "Kimi K2 Thinking" | "Kimi K2 0905" | "Kimi K2.6" | "Kimi K2.5" | "GLM-4.7-Flash" | "GLM 4.6" | "GLM-5" | "GLM 4.7" | "GLM 5.1" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "MiniMax-M3" | "GPT OSS 120B" | "Qwen3.5-97B-A17B" | "Qwen3 235B A22B Thinking 2507" | "Qwen 3 Coder 480B" | "Qwen2.5-Coder-32B-Instruct" | "Qwen 3 235B Instruct" | "Kimi K2.5 (NVFP4)" | "Nemotron 3 Super 120B";
|
|
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="hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct" | "hf:meta-llama/Llama-3.3-70B-Instruct" | "hf:meta-llama/Llama-3.1-70B-Instruct" | "hf:meta-llama/Llama-3.1-405B-Instruct" | "hf:meta-llama/Llama-3.1-8B-Instruct" | "hf:deepseek-ai/DeepSeek-R1" | "hf:deepseek-ai/DeepSeek-V3-0324" | "hf:deepseek-ai/DeepSeek-V3.1-Terminus" | "hf:deepseek-ai/DeepSeek-R1-0528" | "hf:deepseek-ai/DeepSeek-V3.1" | "hf:deepseek-ai/DeepSeek-V3.2" | "hf:deepseek-ai/DeepSeek-V3" | "hf:moonshotai/Kimi-K2-Thinking" | "hf:moonshotai/Kimi-K2-Instruct-0905" | "hf:moonshotai/Kimi-K2.6" | "hf:moonshotai/Kimi-K2.5" | "hf:zai-org/GLM-4.7-Flash" | "hf:zai-org/GLM-4.6" | "hf:zai-org/GLM-5" | "hf:zai-org/GLM-4.7" | "hf:zai-org/GLM-5.1" | "hf:MiniMaxAI/MiniMax-M2.1" | "hf:MiniMaxAI/MiniMax-M2" | "hf:MiniMaxAI/MiniMax-M2.5" | "hf:openai/gpt-oss-120b" | "hf:Qwen/Qwen3.5-397B-A17B" | "hf:Qwen/Qwen3-235B-A22B-Thinking-2507" | "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct" | "hf:Qwen/Qwen2.5-Coder-32B-Instruct" | "hf:Qwen/Qwen3-235B-A22B-Instruct-2507" | "hf:nvidia/Kimi-K2.5-NVFP4" | "hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4";
|
|
3
|
-
export type ModelName="Llama-4-Maverick-17B-128E-Instruct-FP8" | "Llama-4-Scout-17B-16E-Instruct" | "Llama-3.3-70B-Instruct" | "Llama-3.1-70B-Instruct" | "Llama-3.1-405B-Instruct" | "Llama-3.1-8B-Instruct" | "DeepSeek R1" | "DeepSeek V3 (0324)" | "DeepSeek V3.1 Terminus" | "DeepSeek R1 (0528)" | "DeepSeek V3.1" | "DeepSeek V3.2" | "DeepSeek V3" | "Kimi K2 Thinking" | "Kimi K2 0905" | "Kimi K2.6" | "Kimi K2.5" | "GLM-4.7-Flash" | "GLM 4.6" | "GLM-5" | "GLM 4.7" | "GLM 5.1" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "GPT OSS 120B" | "Qwen3.5-97B-A17B" | "Qwen3 235B A22B Thinking 2507" | "Qwen 3 Coder 480B" | "Qwen2.5-Coder-32B-Instruct" | "Qwen 3 235B Instruct" | "Kimi K2.5 (NVFP4)" | "Nemotron 3 Super 120B";
|
|
2
|
+
export type ModelId="hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct" | "hf:meta-llama/Llama-3.3-70B-Instruct" | "hf:meta-llama/Llama-3.1-70B-Instruct" | "hf:meta-llama/Llama-3.1-405B-Instruct" | "hf:meta-llama/Llama-3.1-8B-Instruct" | "hf:deepseek-ai/DeepSeek-R1" | "hf:deepseek-ai/DeepSeek-V3-0324" | "hf:deepseek-ai/DeepSeek-V3.1-Terminus" | "hf:deepseek-ai/DeepSeek-R1-0528" | "hf:deepseek-ai/DeepSeek-V3.1" | "hf:deepseek-ai/DeepSeek-V3.2" | "hf:deepseek-ai/DeepSeek-V3" | "hf:moonshotai/Kimi-K2-Thinking" | "hf:moonshotai/Kimi-K2-Instruct-0905" | "hf:moonshotai/Kimi-K2.6" | "hf:moonshotai/Kimi-K2.5" | "hf:zai-org/GLM-4.7-Flash" | "hf:zai-org/GLM-4.6" | "hf:zai-org/GLM-5" | "hf:zai-org/GLM-4.7" | "hf:zai-org/GLM-5.1" | "hf:MiniMaxAI/MiniMax-M2.1" | "hf:MiniMaxAI/MiniMax-M2" | "hf:MiniMaxAI/MiniMax-M2.5" | "hf:MiniMaxAI/MiniMax-M3" | "hf:openai/gpt-oss-120b" | "hf:Qwen/Qwen3.5-397B-A17B" | "hf:Qwen/Qwen3-235B-A22B-Thinking-2507" | "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct" | "hf:Qwen/Qwen2.5-Coder-32B-Instruct" | "hf:Qwen/Qwen3-235B-A22B-Instruct-2507" | "hf:nvidia/Kimi-K2.5-NVFP4" | "hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4";
|
|
3
|
+
export type ModelName="Llama-4-Maverick-17B-128E-Instruct-FP8" | "Llama-4-Scout-17B-16E-Instruct" | "Llama-3.3-70B-Instruct" | "Llama-3.1-70B-Instruct" | "Llama-3.1-405B-Instruct" | "Llama-3.1-8B-Instruct" | "DeepSeek R1" | "DeepSeek V3 (0324)" | "DeepSeek V3.1 Terminus" | "DeepSeek R1 (0528)" | "DeepSeek V3.1" | "DeepSeek V3.2" | "DeepSeek V3" | "Kimi K2 Thinking" | "Kimi K2 0905" | "Kimi K2.6" | "Kimi K2.5" | "GLM-4.7-Flash" | "GLM 4.6" | "GLM-5" | "GLM 4.7" | "GLM 5.1" | "MiniMax-M2.1" | "MiniMax-M2" | "MiniMax-M2.5" | "MiniMax-M3" | "GPT OSS 120B" | "Qwen3.5-97B-A17B" | "Qwen3 235B A22B Thinking 2507" | "Qwen 3 Coder 480B" | "Qwen2.5-Coder-32B-Instruct" | "Qwen 3 235B Instruct" | "Kimi K2.5 (NVFP4)" | "Nemotron 3 Super 120B";
|
|
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="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" | "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-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" | "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-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.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";
|
|
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" | "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-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" | "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-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.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";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.mjs';
|
|
2
|
-
export type ModelId="z-ai-glm-5-turbo" | "grok-4-20-multi-agent" | "deepseek-v4-flash" | "google-gemma-4-31b-it" | "kimi-k2-6" | "qwen3-235b-a22b-instruct-2507" | "nvidia-nemotron-cascade-2-30b-a3b" | "claude-opus-4-7-fast" | "openai-gpt-55-pro" | "llama-3.3-70b" | "qwen3-5-397b-a17b" | "claude-opus-4-5" | "zai-org-glm-5" | "qwen3-5-35b-a3b" | "venice-uncensored-role-play" | "qwen-3-6-plus" | "zai-org-glm-4.6" | "openai-gpt-4o-2024-11-20" | "grok-4-3" | "qwen-3-7-plus" | "minimax-m27" | "deepseek-v4-pro" | "qwen3-235b-a22b-thinking-2507" | "claude-sonnet-4-5" | "openai-gpt-4o-mini-2024-07-18" | "claude-opus-4-7" | "openai-gpt-53-codex" | "openai-gpt-54" | "google-gemma-3-27b-it" | "minimax-m3" | "claude-opus-4-8-fast" | "gemma-4-uncensored" | "qwen3-next-80b" | "mistral-small-2603" | "claude-opus-4-8" | "zai-org-glm-4.7-flash" | "google-gemma-4-26b-a4b-it" | "grok-4-20" | "hermes-3-llama-3.1-405b" | "aion-labs-aion-2-0" | "qwen3-vl-235b-a22b" | "xiaomi-mimo-v2-5" | "venice-uncensored-1-2" | "gemini-3-5-flash" | "claude-fable-5" | "openai-gpt-oss-120b" | "nvidia-nemotron-3-nano-30b-a3b" | "claude-opus-4-6" | "mistral-small-3-2-24b-instruct" | "openai-gpt-54-pro" | "gemini-3-1-pro-preview" | "qwen3-coder-480b-a35b-instruct-turbo" | "qwen3-6-27b" | "openai-gpt-52-codex" | "claude-opus-4-6-fast" | "qwen-3-7-max" | "olafangensan-glm-4.7-flash-heretic" | "openai-gpt-54-mini" | "grok-build-0-1" | "zai-org-glm-4.7" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "arcee-trinity-large-thinking" | "openai-gpt-55" | "qwen3-5-9b" | "mercury-2" | "zai-org-glm-5-1" | "kimi-k2-5" | "z-ai-glm-5v-turbo" | "nvidia-nemotron-3-ultra-550b-a55b" | "openai-gpt-52" | "deepseek-v3.2" | "minimax-m25" | "llama-3.2-3b" | "tencent-hy3-preview";
|
|
3
|
-
export type ModelName="GLM 5 Turbo" | "Grok 4.20 Multi-Agent" | "DeepSeek V4 Flash" | "Google Gemma 4 31B Instruct" | "Kimi K2.6" | "Qwen 3 235B A22B Instruct 2507" | "Nemotron Cascade 2 30B A3B" | "Claude Opus 4.7 Fast" | "GPT-5.5 Pro" | "Llama 3.3 70B" | "Qwen 3.5 397B" | "Claude Opus 4.5" | "GLM 5" | "Qwen 3.5 35B A3B" | "Venice Role Play Uncensored" | "Qwen 3.6 Plus Uncensored" | "GLM 4.6" | "GPT-4o" | "Grok 4.3" | "Qwen 3.7 Plus" | "MiniMax M2.7" | "DeepSeek V4 Pro" | "Qwen 3 235B A22B Thinking 2507" | "Claude Sonnet 4.5" | "GPT-4o Mini" | "Claude Opus 4.7" | "GPT-5.3 Codex" | "GPT-5.4" | "Google Gemma 3 27B Instruct" | "MiniMax M3" | "Claude Opus 4.8 Fast" | "Gemma 4 Uncensored" | "Qwen 3 Next 80b" | "Mistral Small 4" | "Claude Opus 4.8" | "GLM 4.7 Flash" | "Google Gemma 4 26B A4B Instruct" | "Grok 4.20" | "Hermes 3 Llama 3.1 405b" | "Aion 2.0" | "Qwen3 VL 235B" | "MiMo-V2.5" | "Venice Uncensored 1.2" | "Gemini 3.5 Flash" | "Claude Fable 5" | "OpenAI GPT OSS 120B" | "NVIDIA Nemotron 3 Nano 30B" | "Claude Opus 4.6" | "Mistral Small 3.2 24B Instruct" | "GPT-5.4 Pro" | "Gemini 3.1 Pro Preview" | "Qwen 3 Coder 480B Turbo" | "Qwen 3.6 27B" | "GPT-5.2 Codex" | "Claude Opus 4.6 Fast" | "Qwen 3.7 Max" | "GLM 4.7 Flash Heretic" | "GPT-5.4 Mini" | "Grok Build 0.1" | "GLM 4.7" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "Trinity Large Thinking" | "GPT-5.5" | "Qwen 3.5 9B" | "Mercury 2" | "GLM 5.1" | "Kimi K2.5" | "GLM 5V Turbo" | "NVIDIA Nemotron 3 Ultra" | "GPT-5.2" | "DeepSeek V3.2" | "MiniMax M2.5" | "Llama 3.2 3B" | "Hy3 Preview";
|
|
2
|
+
export type ModelId="z-ai-glm-5-turbo" | "grok-4-20-multi-agent" | "deepseek-v4-flash" | "google-gemma-4-31b-it" | "kimi-k2-6" | "qwen3-235b-a22b-instruct-2507" | "nvidia-nemotron-cascade-2-30b-a3b" | "claude-opus-4-7-fast" | "openai-gpt-55-pro" | "llama-3.3-70b" | "qwen3-5-397b-a17b" | "claude-opus-4-5" | "zai-org-glm-5" | "qwen3-5-35b-a3b" | "venice-uncensored-role-play" | "qwen-3-6-plus" | "zai-org-glm-4.6" | "openai-gpt-4o-2024-11-20" | "grok-4-3" | "qwen-3-7-plus" | "minimax-m27" | "deepseek-v4-pro" | "qwen3-235b-a22b-thinking-2507" | "claude-sonnet-4-5" | "openai-gpt-4o-mini-2024-07-18" | "claude-opus-4-7" | "openai-gpt-53-codex" | "openai-gpt-54" | "google-gemma-3-27b-it" | "minimax-m3" | "claude-opus-4-8-fast" | "gemma-4-uncensored" | "qwen3-next-80b" | "mistral-small-2603" | "claude-opus-4-8" | "zai-org-glm-4.7-flash" | "google-gemma-4-26b-a4b-it" | "grok-4-20" | "hermes-3-llama-3.1-405b" | "aion-labs-aion-2-0" | "qwen3-vl-235b-a22b" | "xiaomi-mimo-v2-5" | "venice-uncensored-1-2" | "gemini-3-5-flash" | "claude-fable-5" | "openai-gpt-oss-120b" | "nvidia-nemotron-3-nano-30b-a3b" | "claude-opus-4-6" | "mistral-small-3-2-24b-instruct" | "openai-gpt-54-pro" | "minimax-m3-preview" | "gemini-3-1-pro-preview" | "qwen3-coder-480b-a35b-instruct-turbo" | "qwen3-6-27b" | "openai-gpt-52-codex" | "claude-opus-4-6-fast" | "qwen-3-7-max" | "olafangensan-glm-4.7-flash-heretic" | "openai-gpt-54-mini" | "grok-build-0-1" | "zai-org-glm-4.7" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "arcee-trinity-large-thinking" | "openai-gpt-55" | "qwen3-5-9b" | "mercury-2" | "zai-org-glm-5-1" | "kimi-k2-5" | "z-ai-glm-5v-turbo" | "nvidia-nemotron-3-ultra-550b-a55b" | "openai-gpt-52" | "deepseek-v3.2" | "minimax-m25" | "llama-3.2-3b" | "tencent-hy3-preview";
|
|
3
|
+
export type ModelName="GLM 5 Turbo" | "Grok 4.20 Multi-Agent" | "DeepSeek V4 Flash" | "Google Gemma 4 31B Instruct" | "Kimi K2.6" | "Qwen 3 235B A22B Instruct 2507" | "Nemotron Cascade 2 30B A3B" | "Claude Opus 4.7 Fast" | "GPT-5.5 Pro" | "Llama 3.3 70B" | "Qwen 3.5 397B" | "Claude Opus 4.5" | "GLM 5" | "Qwen 3.5 35B A3B" | "Venice Role Play Uncensored" | "Qwen 3.6 Plus Uncensored" | "GLM 4.6" | "GPT-4o" | "Grok 4.3" | "Qwen 3.7 Plus" | "MiniMax M2.7" | "DeepSeek V4 Pro" | "Qwen 3 235B A22B Thinking 2507" | "Claude Sonnet 4.5" | "GPT-4o Mini" | "Claude Opus 4.7" | "GPT-5.3 Codex" | "GPT-5.4" | "Google Gemma 3 27B Instruct" | "MiniMax M3" | "Claude Opus 4.8 Fast" | "Gemma 4 Uncensored" | "Qwen 3 Next 80b" | "Mistral Small 4" | "Claude Opus 4.8" | "GLM 4.7 Flash" | "Google Gemma 4 26B A4B Instruct" | "Grok 4.20" | "Hermes 3 Llama 3.1 405b" | "Aion 2.0" | "Qwen3 VL 235B" | "MiMo-V2.5" | "Venice Uncensored 1.2" | "Gemini 3.5 Flash" | "Claude Fable 5" | "OpenAI GPT OSS 120B" | "NVIDIA Nemotron 3 Nano 30B" | "Claude Opus 4.6" | "Mistral Small 3.2 24B Instruct" | "GPT-5.4 Pro" | "MiniMax M3 Preview" | "Gemini 3.1 Pro Preview" | "Qwen 3 Coder 480B Turbo" | "Qwen 3.6 27B" | "GPT-5.2 Codex" | "Claude Opus 4.6 Fast" | "Qwen 3.7 Max" | "GLM 4.7 Flash Heretic" | "GPT-5.4 Mini" | "Grok Build 0.1" | "GLM 4.7" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "Trinity Large Thinking" | "GPT-5.5" | "Qwen 3.5 9B" | "Mercury 2" | "GLM 5.1" | "Kimi K2.5" | "GLM 5V Turbo" | "NVIDIA Nemotron 3 Ultra" | "GPT-5.2" | "DeepSeek V3.2" | "MiniMax M2.5" | "Llama 3.2 3B" | "Hy3 Preview";
|
|
4
4
|
export declare function getModels():Model[];
|
|
5
5
|
export declare function getModel(id:ModelId):Model|undefined;
|
|
6
6
|
export declare function getPrice(id:ModelId,tokens:TokenUsage):PriceBreakdown|null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type{Model,PriceBreakdown,TokenUsage}from'../index.js';
|
|
2
|
-
export type ModelId="z-ai-glm-5-turbo" | "grok-4-20-multi-agent" | "deepseek-v4-flash" | "google-gemma-4-31b-it" | "kimi-k2-6" | "qwen3-235b-a22b-instruct-2507" | "nvidia-nemotron-cascade-2-30b-a3b" | "claude-opus-4-7-fast" | "openai-gpt-55-pro" | "llama-3.3-70b" | "qwen3-5-397b-a17b" | "claude-opus-4-5" | "zai-org-glm-5" | "qwen3-5-35b-a3b" | "venice-uncensored-role-play" | "qwen-3-6-plus" | "zai-org-glm-4.6" | "openai-gpt-4o-2024-11-20" | "grok-4-3" | "qwen-3-7-plus" | "minimax-m27" | "deepseek-v4-pro" | "qwen3-235b-a22b-thinking-2507" | "claude-sonnet-4-5" | "openai-gpt-4o-mini-2024-07-18" | "claude-opus-4-7" | "openai-gpt-53-codex" | "openai-gpt-54" | "google-gemma-3-27b-it" | "minimax-m3" | "claude-opus-4-8-fast" | "gemma-4-uncensored" | "qwen3-next-80b" | "mistral-small-2603" | "claude-opus-4-8" | "zai-org-glm-4.7-flash" | "google-gemma-4-26b-a4b-it" | "grok-4-20" | "hermes-3-llama-3.1-405b" | "aion-labs-aion-2-0" | "qwen3-vl-235b-a22b" | "xiaomi-mimo-v2-5" | "venice-uncensored-1-2" | "gemini-3-5-flash" | "claude-fable-5" | "openai-gpt-oss-120b" | "nvidia-nemotron-3-nano-30b-a3b" | "claude-opus-4-6" | "mistral-small-3-2-24b-instruct" | "openai-gpt-54-pro" | "gemini-3-1-pro-preview" | "qwen3-coder-480b-a35b-instruct-turbo" | "qwen3-6-27b" | "openai-gpt-52-codex" | "claude-opus-4-6-fast" | "qwen-3-7-max" | "olafangensan-glm-4.7-flash-heretic" | "openai-gpt-54-mini" | "grok-build-0-1" | "zai-org-glm-4.7" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "arcee-trinity-large-thinking" | "openai-gpt-55" | "qwen3-5-9b" | "mercury-2" | "zai-org-glm-5-1" | "kimi-k2-5" | "z-ai-glm-5v-turbo" | "nvidia-nemotron-3-ultra-550b-a55b" | "openai-gpt-52" | "deepseek-v3.2" | "minimax-m25" | "llama-3.2-3b" | "tencent-hy3-preview";
|
|
3
|
-
export type ModelName="GLM 5 Turbo" | "Grok 4.20 Multi-Agent" | "DeepSeek V4 Flash" | "Google Gemma 4 31B Instruct" | "Kimi K2.6" | "Qwen 3 235B A22B Instruct 2507" | "Nemotron Cascade 2 30B A3B" | "Claude Opus 4.7 Fast" | "GPT-5.5 Pro" | "Llama 3.3 70B" | "Qwen 3.5 397B" | "Claude Opus 4.5" | "GLM 5" | "Qwen 3.5 35B A3B" | "Venice Role Play Uncensored" | "Qwen 3.6 Plus Uncensored" | "GLM 4.6" | "GPT-4o" | "Grok 4.3" | "Qwen 3.7 Plus" | "MiniMax M2.7" | "DeepSeek V4 Pro" | "Qwen 3 235B A22B Thinking 2507" | "Claude Sonnet 4.5" | "GPT-4o Mini" | "Claude Opus 4.7" | "GPT-5.3 Codex" | "GPT-5.4" | "Google Gemma 3 27B Instruct" | "MiniMax M3" | "Claude Opus 4.8 Fast" | "Gemma 4 Uncensored" | "Qwen 3 Next 80b" | "Mistral Small 4" | "Claude Opus 4.8" | "GLM 4.7 Flash" | "Google Gemma 4 26B A4B Instruct" | "Grok 4.20" | "Hermes 3 Llama 3.1 405b" | "Aion 2.0" | "Qwen3 VL 235B" | "MiMo-V2.5" | "Venice Uncensored 1.2" | "Gemini 3.5 Flash" | "Claude Fable 5" | "OpenAI GPT OSS 120B" | "NVIDIA Nemotron 3 Nano 30B" | "Claude Opus 4.6" | "Mistral Small 3.2 24B Instruct" | "GPT-5.4 Pro" | "Gemini 3.1 Pro Preview" | "Qwen 3 Coder 480B Turbo" | "Qwen 3.6 27B" | "GPT-5.2 Codex" | "Claude Opus 4.6 Fast" | "Qwen 3.7 Max" | "GLM 4.7 Flash Heretic" | "GPT-5.4 Mini" | "Grok Build 0.1" | "GLM 4.7" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "Trinity Large Thinking" | "GPT-5.5" | "Qwen 3.5 9B" | "Mercury 2" | "GLM 5.1" | "Kimi K2.5" | "GLM 5V Turbo" | "NVIDIA Nemotron 3 Ultra" | "GPT-5.2" | "DeepSeek V3.2" | "MiniMax M2.5" | "Llama 3.2 3B" | "Hy3 Preview";
|
|
2
|
+
export type ModelId="z-ai-glm-5-turbo" | "grok-4-20-multi-agent" | "deepseek-v4-flash" | "google-gemma-4-31b-it" | "kimi-k2-6" | "qwen3-235b-a22b-instruct-2507" | "nvidia-nemotron-cascade-2-30b-a3b" | "claude-opus-4-7-fast" | "openai-gpt-55-pro" | "llama-3.3-70b" | "qwen3-5-397b-a17b" | "claude-opus-4-5" | "zai-org-glm-5" | "qwen3-5-35b-a3b" | "venice-uncensored-role-play" | "qwen-3-6-plus" | "zai-org-glm-4.6" | "openai-gpt-4o-2024-11-20" | "grok-4-3" | "qwen-3-7-plus" | "minimax-m27" | "deepseek-v4-pro" | "qwen3-235b-a22b-thinking-2507" | "claude-sonnet-4-5" | "openai-gpt-4o-mini-2024-07-18" | "claude-opus-4-7" | "openai-gpt-53-codex" | "openai-gpt-54" | "google-gemma-3-27b-it" | "minimax-m3" | "claude-opus-4-8-fast" | "gemma-4-uncensored" | "qwen3-next-80b" | "mistral-small-2603" | "claude-opus-4-8" | "zai-org-glm-4.7-flash" | "google-gemma-4-26b-a4b-it" | "grok-4-20" | "hermes-3-llama-3.1-405b" | "aion-labs-aion-2-0" | "qwen3-vl-235b-a22b" | "xiaomi-mimo-v2-5" | "venice-uncensored-1-2" | "gemini-3-5-flash" | "claude-fable-5" | "openai-gpt-oss-120b" | "nvidia-nemotron-3-nano-30b-a3b" | "claude-opus-4-6" | "mistral-small-3-2-24b-instruct" | "openai-gpt-54-pro" | "minimax-m3-preview" | "gemini-3-1-pro-preview" | "qwen3-coder-480b-a35b-instruct-turbo" | "qwen3-6-27b" | "openai-gpt-52-codex" | "claude-opus-4-6-fast" | "qwen-3-7-max" | "olafangensan-glm-4.7-flash-heretic" | "openai-gpt-54-mini" | "grok-build-0-1" | "zai-org-glm-4.7" | "claude-sonnet-4-6" | "gemini-3-flash-preview" | "arcee-trinity-large-thinking" | "openai-gpt-55" | "qwen3-5-9b" | "mercury-2" | "zai-org-glm-5-1" | "kimi-k2-5" | "z-ai-glm-5v-turbo" | "nvidia-nemotron-3-ultra-550b-a55b" | "openai-gpt-52" | "deepseek-v3.2" | "minimax-m25" | "llama-3.2-3b" | "tencent-hy3-preview";
|
|
3
|
+
export type ModelName="GLM 5 Turbo" | "Grok 4.20 Multi-Agent" | "DeepSeek V4 Flash" | "Google Gemma 4 31B Instruct" | "Kimi K2.6" | "Qwen 3 235B A22B Instruct 2507" | "Nemotron Cascade 2 30B A3B" | "Claude Opus 4.7 Fast" | "GPT-5.5 Pro" | "Llama 3.3 70B" | "Qwen 3.5 397B" | "Claude Opus 4.5" | "GLM 5" | "Qwen 3.5 35B A3B" | "Venice Role Play Uncensored" | "Qwen 3.6 Plus Uncensored" | "GLM 4.6" | "GPT-4o" | "Grok 4.3" | "Qwen 3.7 Plus" | "MiniMax M2.7" | "DeepSeek V4 Pro" | "Qwen 3 235B A22B Thinking 2507" | "Claude Sonnet 4.5" | "GPT-4o Mini" | "Claude Opus 4.7" | "GPT-5.3 Codex" | "GPT-5.4" | "Google Gemma 3 27B Instruct" | "MiniMax M3" | "Claude Opus 4.8 Fast" | "Gemma 4 Uncensored" | "Qwen 3 Next 80b" | "Mistral Small 4" | "Claude Opus 4.8" | "GLM 4.7 Flash" | "Google Gemma 4 26B A4B Instruct" | "Grok 4.20" | "Hermes 3 Llama 3.1 405b" | "Aion 2.0" | "Qwen3 VL 235B" | "MiMo-V2.5" | "Venice Uncensored 1.2" | "Gemini 3.5 Flash" | "Claude Fable 5" | "OpenAI GPT OSS 120B" | "NVIDIA Nemotron 3 Nano 30B" | "Claude Opus 4.6" | "Mistral Small 3.2 24B Instruct" | "GPT-5.4 Pro" | "MiniMax M3 Preview" | "Gemini 3.1 Pro Preview" | "Qwen 3 Coder 480B Turbo" | "Qwen 3.6 27B" | "GPT-5.2 Codex" | "Claude Opus 4.6 Fast" | "Qwen 3.7 Max" | "GLM 4.7 Flash Heretic" | "GPT-5.4 Mini" | "Grok Build 0.1" | "GLM 4.7" | "Claude Sonnet 4.6" | "Gemini 3 Flash Preview" | "Trinity Large Thinking" | "GPT-5.5" | "Qwen 3.5 9B" | "Mercury 2" | "GLM 5.1" | "Kimi K2.5" | "GLM 5V Turbo" | "NVIDIA Nemotron 3 Ultra" | "GPT-5.2" | "DeepSeek V3.2" | "MiniMax M2.5" | "Llama 3.2 3B" | "Hy3 Preview";
|
|
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" | "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/ministral-8b" | "mistral/mistral-small" | "mistral/codestral" | "mistral/pixtral-12b" | "mistral/pixtral-large" | "mistral/ministral-3b" | "mistral/magistral-small" | "mistral/magistral-medium" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemini-3-flash" | "google/gemini-3.5-flash" | "google/gemma-4-31b-it" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "google/gemini-2.5-flash" | "google/gemini-2.5-pro" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/o3-pro" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-5.1-thinking" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.1-codex-mini" | "openai/gpt-image-1.5" | "openai/gpt-oss-120b" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-image-1-mini" | "openai/gpt-5.4-pro" | "openai/gpt-5.5-pro" | "openai/gpt-oss-20b" | "openai/gpt-5.2-codex" | "openai/gpt-5.1-instant" | "openai/gpt-image-2" | "openai/gpt-5.5" | "openai/gpt-5-codex" | "openai/gpt-4o-mini" | "openai/gpt-5-nano" | "openai/gpt-4-turbo" | "openai/gpt-4.1-mini" | "openai/gpt-5-mini" | "openai/gpt-4.1" | "openai/o1" | "openai/gpt-4.1-nano" | "openai/o3-mini" | "openai/o4-mini" | "openai/gpt-4o" | "openai/gpt-5" | "openai/o3" | "zai/glm-4.7" | "zai/glm-4.5v" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-4.6v" | "zai/glm-5v-turbo" | "zai/glm-4.5-air" | "zai/glm-4.7-flash" | "zai/glm-5" | "zai/glm-5-turbo" | "bytedance/seed-1.6" | "bytedance/seed-1.8" | "morph/morph-v3-large" | "morph/morph-v3-fast" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/nemotron-nano-9b-v2" | "nvidia/nemotron-3-super-120b-a12b" | "nvidia/nemotron-nano-12b-v2-vl" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2-flash" | "xiaomi/mimo-v2-pro" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-coder-small" | "inception/mercury-2" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-
|
|
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" | "Mistral Nemo" | "Devstral Small 1.1" | "Mistral Large 3" | "Mistral Medium Latest" | "Mistral Medium 3.1" | "Devstral Small 2" | "Ministral 14B" | "Devstral 2" | "Ministral 8B (latest)" | "Mistral Small (latest)" | "Codestral (latest)" | "Pixtral 12B" | "Pixtral Large (latest)" | "Ministral 3B (latest)" | "Magistral Small" | "Magistral Medium (latest)" | "Gemini 3.1 Flash Lite" | "Gemini 3.1 Flash Image (Nano Banana 2)" | "Gemini 3 Flash" | "Gemini 3.5 Flash" | "Gemma 4 31B IT" | "Nano Banana (Gemini 2.5 Flash Image)" | "Gemini 2.5 Flash Lite" | "Gemini 3.1 Flash Image Preview (Nano Banana 2)" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 3 Pro Preview" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "Gemini 2.5 Flash" | "Gemini 2.5 Pro" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "GPT 5.2 " | "GPT 4o Mini Search Preview" | "GPT-5 Chat" | "GPT-3.5 Turbo" | "GPT-5 pro" | "o3 Pro" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "o3-deep-research" | "GPT Image 1" | "GPT Image 1 Mini" | "GPT 5.4 Pro" | "GPT 5.5 Pro" | "GPT OSS 20B" | "GPT-5.2-Codex" | "GPT-5.1 Instant" | "GPT Image 2" | "GPT 5.5" | "GPT-5-Codex" | "GPT-4o mini" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "o1" | "GPT-4.1 nano" | "o3-mini" | "o4-mini" | "GPT-4o" | "GPT-5" | "o3" | "GLM 4.7" | "GLM 4.5V" | "GLM 4.5" | "GLM 4.7 FlashX" | "GLM 5.1" | "GLM 4.6" | "GLM-4.6V" | "GLM 5V Turbo" | "GLM 4.5 Air" | "GLM 4.7 Flash" | "GLM-5" | "GLM 5 Turbo" | "Seed 1.6" | "Seed 1.8" | "Morph v3 Large" | "Morph v3 Fast" | "Nemotron 3 Ultra" | "Nemotron 3 Nano 30B A3B" | "Nvidia Nemotron Nano 9B V2" | "NVIDIA Nemotron 3 Super 120B A12B" | "Nvidia Nemotron Nano 12B V2 VL" | "MiMo M2.5" | "MiMo V2 Flash" | "MiMo V2 Pro" | "MiMo V2.5 Pro" | "Mercury Coder Small Beta" | "Mercury 2" | "Claude Haiku 4.5" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude
|
|
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" | "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/ministral-8b" | "mistral/mistral-small" | "mistral/codestral" | "mistral/pixtral-12b" | "mistral/pixtral-large" | "mistral/ministral-3b" | "mistral/magistral-small" | "mistral/magistral-medium" | "google/gemini-3.1-flash-lite" | "google/gemini-3.1-flash-image" | "google/gemini-3-flash" | "google/gemini-3.5-flash" | "google/gemma-4-31b-it" | "google/gemini-2.5-flash-image" | "google/gemini-2.5-flash-lite" | "google/gemini-3.1-flash-image-preview" | "google/gemini-3.1-pro-preview" | "google/gemma-4-26b-a4b-it" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image" | "google/gemini-3.1-flash-lite-preview" | "google/gemini-2.5-flash" | "google/gemini-2.5-pro" | "openai/gpt-oss-safeguard-20b" | "openai/gpt-3.5-turbo-instruct" | "openai/gpt-5.2-chat" | "openai/gpt-5.2-pro" | "openai/gpt-4o-mini-search-preview" | "openai/gpt-5-chat" | "openai/gpt-3.5-turbo" | "openai/gpt-5-pro" | "openai/o3-pro" | "openai/gpt-5.4-nano" | "openai/gpt-5.3-chat" | "openai/gpt-5.1-thinking" | "openai/gpt-5.1-codex" | "openai/gpt-5.1-codex-max" | "openai/gpt-5.2" | "openai/gpt-5.3-codex" | "openai/gpt-5.1-codex-mini" | "openai/gpt-image-1.5" | "openai/gpt-oss-120b" | "openai/gpt-5.4" | "openai/gpt-5.4-mini" | "openai/o3-deep-research" | "openai/gpt-image-1" | "openai/gpt-image-1-mini" | "openai/gpt-5.4-pro" | "openai/gpt-5.5-pro" | "openai/gpt-oss-20b" | "openai/gpt-5.2-codex" | "openai/gpt-5.1-instant" | "openai/gpt-image-2" | "openai/gpt-5.5" | "openai/gpt-5-codex" | "openai/gpt-4o-mini" | "openai/gpt-5-nano" | "openai/gpt-4-turbo" | "openai/gpt-4.1-mini" | "openai/gpt-5-mini" | "openai/gpt-4.1" | "openai/o1" | "openai/gpt-4.1-nano" | "openai/o3-mini" | "openai/o4-mini" | "openai/gpt-4o" | "openai/gpt-5" | "openai/o3" | "zai/glm-4.7" | "zai/glm-4.5v" | "zai/glm-4.5" | "zai/glm-4.7-flashx" | "zai/glm-5.1" | "zai/glm-4.6" | "zai/glm-4.6v" | "zai/glm-5v-turbo" | "zai/glm-4.5-air" | "zai/glm-4.7-flash" | "zai/glm-5" | "zai/glm-5-turbo" | "bytedance/seed-1.6" | "bytedance/seed-1.8" | "morph/morph-v3-large" | "morph/morph-v3-fast" | "nvidia/nemotron-3-ultra-550b-a55b" | "nvidia/nemotron-3-nano-30b-a3b" | "nvidia/nemotron-nano-9b-v2" | "nvidia/nemotron-3-super-120b-a12b" | "nvidia/nemotron-nano-12b-v2-vl" | "xiaomi/mimo-v2.5" | "xiaomi/mimo-v2-flash" | "xiaomi/mimo-v2-pro" | "xiaomi/mimo-v2.5-pro" | "inception/mercury-coder-small" | "inception/mercury-2" | "anthropic/claude-haiku-4.5" | "anthropic/claude-opus-4.7" | "anthropic/claude-opus-4.8" | "anthropic/claude-opus-4.5" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-opus-4.6" | "anthropic/claude-opus-4" | "anthropic/claude-3-haiku" | "anthropic/claude-opus-4.1" | "anthropic/claude-sonnet-4" | "anthropic/claude-sonnet-4.5" | "anthropic/claude-3.5-haiku" | "cohere/command-a" | "stepfun/step-3.7-flash" | "stepfun/step-3.5-flash" | "interfaze/interfaze-beta" | "arcee-ai/trinity-large-preview" | "arcee-ai/trinity-large-thinking" | "arcee-ai/trinity-mini" | "amazon/nova-2-lite" | "amazon/nova-lite" | "amazon/nova-micro" | "amazon/nova-pro" | "alibaba/qwen3-vl-thinking" | "alibaba/qwen3-coder-plus" | "alibaba/qwen3-max-preview" | "alibaba/qwen3-next-80b-a3b-instruct" | "alibaba/qwen3.7-plus" | "alibaba/qwen3-vl-instruct" | "alibaba/qwen3.7-max" | "alibaba/qwen3-max" | "alibaba/qwen3-next-80b-a3b-thinking" | "alibaba/qwen3.5-flash" | "alibaba/qwen3-coder" | "alibaba/qwen-3-235b" | "alibaba/qwen3.5-plus" | "alibaba/qwen3-max-thinking" | "alibaba/qwen3-coder-next" | "alibaba/qwen3.6-27b" | "alibaba/qwen-3-30b" | "alibaba/qwen3-235b-a22b-thinking" | "alibaba/qwen3-vl-235b-a22b-instruct" | "alibaba/qwen-3-14b" | "alibaba/qwen-3-32b" | "alibaba/qwen-3.6-max-preview" | "alibaba/qwen3-coder-30b-a3b" | "alibaba/qwen3.6-plus" | "meta/llama-3.2-1b" | "meta/llama-3.2-11b" | "meta/llama-3.1-8b" | "meta/llama-3.2-90b" | "meta/llama-3.1-70b" | "meta/llama-3.2-3b" | "meta/llama-4-scout" | "meta/llama-3.3-70b" | "meta/llama-4-maverick" | "deepseek/deepseek-v4-flash" | "deepseek/deepseek-v3.1-terminus" | "deepseek/deepseek-v3" | "deepseek/deepseek-v4-pro" | "deepseek/deepseek-v3.2-thinking" | "deepseek/deepseek-v3.1" | "deepseek/deepseek-v3.2" | "deepseek/deepseek-r1" | "minimax/minimax-m2.7-highspeed" | "minimax/minimax-m2.5" | "minimax/minimax-m2.1" | "minimax/minimax-m3" | "minimax/minimax-m2" | "minimax/minimax-m2.7" | "minimax/minimax-m2.5-highspeed" | "minimax/minimax-m2.1-lightning" | "kwaipilot/kat-coder-pro-v1" | "kwaipilot/kat-coder-pro-v2";
|
|
3
|
+
export type ModelName="Grok 4.1 Fast Reasoning" | "Grok 4.20 Beta Non-Reasoning" | "Grok 4.3" | "Grok 4.1 Fast Non-Reasoning" | "Grok 4.20 Multi Agent Beta" | "Grok 4.20 Reasoning" | "Grok 4.20 Beta Reasoning" | "Grok 4.20 Non-Reasoning" | "Grok 4.20 Multi-Agent" | "Grok Build 0.1" | "Kimi K2 Instruct" | "Kimi K2.7 Code" | "Kimi K2 Thinking" | "Kimi K2.5" | "Kimi K2.6" | "Mistral Nemo" | "Devstral Small 1.1" | "Mistral Large 3" | "Mistral Medium Latest" | "Mistral Medium 3.1" | "Devstral Small 2" | "Ministral 14B" | "Devstral 2" | "Ministral 8B (latest)" | "Mistral Small (latest)" | "Codestral (latest)" | "Pixtral 12B" | "Pixtral Large (latest)" | "Ministral 3B (latest)" | "Magistral Small" | "Magistral Medium (latest)" | "Gemini 3.1 Flash Lite" | "Gemini 3.1 Flash Image (Nano Banana 2)" | "Gemini 3 Flash" | "Gemini 3.5 Flash" | "Gemma 4 31B IT" | "Nano Banana (Gemini 2.5 Flash Image)" | "Gemini 2.5 Flash Lite" | "Gemini 3.1 Flash Image Preview (Nano Banana 2)" | "Gemini 3.1 Pro Preview" | "Gemma 4 26B A4B IT" | "Gemini 3 Pro Preview" | "Nano Banana Pro (Gemini 3 Pro Image)" | "Gemini 3.1 Flash Lite Preview" | "Gemini 2.5 Flash" | "Gemini 2.5 Pro" | "gpt-oss-safeguard-20b" | "GPT-3.5 Turbo Instruct" | "GPT-5.2 Chat" | "GPT 5.2 " | "GPT 4o Mini Search Preview" | "GPT-5 Chat" | "GPT-3.5 Turbo" | "GPT-5 pro" | "o3 Pro" | "GPT 5.4 Nano" | "GPT-5.3 Chat" | "GPT 5.1 Thinking" | "GPT-5.1-Codex" | "GPT 5.1 Codex Max" | "GPT-5.2" | "GPT 5.3 Codex" | "GPT-5.1 Codex mini" | "GPT Image 1.5" | "GPT OSS 120B" | "GPT 5.4" | "GPT 5.4 Mini" | "o3-deep-research" | "GPT Image 1" | "GPT Image 1 Mini" | "GPT 5.4 Pro" | "GPT 5.5 Pro" | "GPT OSS 20B" | "GPT-5.2-Codex" | "GPT-5.1 Instant" | "GPT Image 2" | "GPT 5.5" | "GPT-5-Codex" | "GPT-4o mini" | "GPT-5 Nano" | "GPT-4 Turbo" | "GPT-4.1 mini" | "GPT-5 Mini" | "GPT-4.1" | "o1" | "GPT-4.1 nano" | "o3-mini" | "o4-mini" | "GPT-4o" | "GPT-5" | "o3" | "GLM 4.7" | "GLM 4.5V" | "GLM 4.5" | "GLM 4.7 FlashX" | "GLM 5.1" | "GLM 4.6" | "GLM-4.6V" | "GLM 5V Turbo" | "GLM 4.5 Air" | "GLM 4.7 Flash" | "GLM-5" | "GLM 5 Turbo" | "Seed 1.6" | "Seed 1.8" | "Morph v3 Large" | "Morph v3 Fast" | "Nemotron 3 Ultra" | "Nemotron 3 Nano 30B A3B" | "Nvidia Nemotron Nano 9B V2" | "NVIDIA Nemotron 3 Super 120B A12B" | "Nvidia Nemotron Nano 12B V2 VL" | "MiMo M2.5" | "MiMo V2 Flash" | "MiMo V2 Pro" | "MiMo V2.5 Pro" | "Mercury Coder Small Beta" | "Mercury 2" | "Claude Haiku 4.5" | "Claude Opus 4.7" | "Claude Opus 4.8" | "Claude Opus 4.5" | "Claude Sonnet 4.6" | "Claude Opus 4.6" | "Claude Opus 4" | "Claude Haiku 3" | "Claude Opus 4.1" | "Claude Sonnet 4" | "Claude Sonnet 4.5" | "Claude Haiku 3.5" | "Command A" | "Step 3.7 Flash" | "StepFun 3.5 Flash" | "Interfaze Beta" | "Trinity Large Preview" | "Trinity Large Thinking" | "Trinity Mini" | "Nova 2 Lite" | "Nova Lite" | "Nova Micro" | "Nova Pro" | "Qwen3 VL Thinking" | "Qwen3 Coder Plus" | "Qwen3 Max Preview" | "Qwen3 Next 80B A3B Instruct" | "Qwen 3.7 Plus" | "Qwen3 VL Instruct" | "Qwen 3.7 Max" | "Qwen3 Max" | "Qwen3 Next 80B A3B Thinking" | "Qwen 3.5 Flash" | "Qwen3 Coder 480B A35B Instruct" | "Qwen3 235B A22B Instruct 2507" | "Qwen 3.5 Plus" | "Qwen 3 Max Thinking" | "Qwen3 Coder Next" | "Qwen 3.6 27B" | "Qwen3-30B-A3B" | "Qwen3 235B A22B Thinking 2507" | "Qwen3 VL 235B A22B Instruct" | "Qwen3-14B" | "Qwen 3.32B" | "Qwen 3.6 Max Preview" | "Qwen 3 Coder 30B A3B Instruct" | "Qwen 3.6 Plus" | "Llama 3.2 1B Instruct" | "Llama 3.2 11B Vision Instruct" | "Llama 3.1 8B Instruct" | "Llama 3.2 90B Vision Instruct" | "Llama 3.1 70B Instruct" | "Llama 3.2 3B Instruct" | "Llama-4-Scout-17B-16E-Instruct-FP8" | "Llama-3.3-70B-Instruct" | "Llama-4-Maverick-17B-128E-Instruct-FP8" | "DeepSeek V4 Flash" | "DeepSeek V3.1 Terminus" | "DeepSeek V3 0324" | "DeepSeek V4 Pro" | "DeepSeek V3.2 Thinking" | "DeepSeek-V3.1" | "DeepSeek V3.2" | "DeepSeek-R1" | "MiniMax M2.7 High Speed" | "MiniMax M2.5" | "MiniMax M2.1" | "MiniMax M3" | "MiniMax M2" | "Minimax M2.7" | "MiniMax M2.5 High Speed" | "MiniMax M2.1 Lightning" | "KAT-Coder-Pro V1" | "Kat Coder Pro V2";
|
|
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;
|