Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

chore(ai): regenerate model catalog snapshot (#561)

Florian Brand2c102f9b53d3
diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md
index b235183acc..37fb917014 100644
--- a/packages/ai/CHANGELOG.md
+++ b/packages/ai/CHANGELOG.md
@@ -2,6 +2,8 @@
## [Unreleased]
+- Changed the model catalog snapshot to the current upstream catalogs: added Claude Opus 5 (Anthropic direct, Bedrock, OpenRouter, Vercel AI Gateway, Copilot, Prime Inference), Gemini 3.5/3.6 flash models, Kimi K3 variants, refreshed Prime Inference to the live catalog (103 models), and removed the discontinued `gpt-5-chat`, `gpt-5-codex`, and `laguna-m.1` routes.
+
## [0.3.3] - 2026-07-23
- Fixed Vertex Gemini 2.5 Flash-Lite minimal reasoning requests to use the supported 512-token thinking budget.
diff --git a/packages/ai/scripts/generate-models.ts b/packages/ai/scripts/generate-models.ts
index e48a037a3f..adaf13b7a5 100644
--- a/packages/ai/scripts/generate-models.ts
+++ b/packages/ai/scripts/generate-models.ts
@@ -41,6 +41,7 @@ interface ModelsDevModel {
};
modalities?: {
input?: string[];
+ output?: string[];
};
provider?: {
npm?: string;
@@ -310,6 +311,7 @@ function applyThinkingLevelMetadata(model: Model<any>): void {
model.id.includes("opus-4.7") ||
model.id.includes("opus-4-8") ||
model.id.includes("opus-4.8") ||
+ model.id.includes("opus-5") ||
model.id.includes("sonnet-5")
) {
mergeThinkingLevelMap(model, { xhigh: "xhigh", max: "max" });
@@ -323,7 +325,8 @@ function applyThinkingLevelMetadata(model: Model<any>): void {
if (model.api === "openai-completions" && model.id.includes("deepseek-v4")) {
mergeThinkingLevelMap(model, DEEPSEEK_V4_THINKING_LEVEL_MAP);
}
- if (model.id === "k3" || model.id.endsWith("/kimi-k3") || model.id === "kimi-k3") {
+ const kimiK3Id = model.id.toLowerCase();
+ if (/^k3(-|$)/.test(kimiK3Id) || /(^|\/)kimi-k3(-|$)/.test(kimiK3Id)) {
mergeThinkingLevelMap(model, KIMI_K3_THINKING_LEVEL_MAP);
}
if (isGoogleThinkingApi(model) && isGemini3ProModel(model.id)) {
@@ -357,9 +360,10 @@ function getAnthropicMessagesCompat(provider: string, modelId: string): Anthropi
}
function getBedrockBaseUrl(modelId: string): string {
- return modelId.startsWith("eu.")
- ? "https://bedrock-runtime.eu-central-1.amazonaws.com"
- : "https://bedrock-runtime.us-east-1.amazonaws.com";
+ if (modelId.startsWith("eu.")) return "https://bedrock-runtime.eu-central-1.amazonaws.com";
+ if (modelId.startsWith("au.")) return "https://bedrock-runtime.ap-southeast-2.amazonaws.com";
+ if (modelId.startsWith("jp.")) return "https://bedrock-runtime.ap-northeast-1.amazonaws.com";
+ return "https://bedrock-runtime.us-east-1.amazonaws.com";
}
function isRecord(value: unknown): value is Record<string, unknown> {
@@ -732,6 +736,8 @@ async function fetchOpenRouterModels(): Promise<Model<any>[]> {
for (const model of await fetchOpenRouterCatalog()) {
// Only include models that support tools
if (!model.supported_parameters?.includes("tools")) continue;
+ // :batch routes are asynchronous batch variants, not streaming models
+ if (model.id.endsWith(":batch")) continue;
// Parse provider from model ID
let provider: KnownProvider = "openrouter";
@@ -745,11 +751,12 @@ async function fetchOpenRouterModels(): Promise<Model<any>[]> {
input.push("image");
}
- // Convert pricing from $/token to $/million tokens
- const inputCost = parseFloat(model.pricing?.prompt || "0") * 1_000_000;
- const outputCost = parseFloat(model.pricing?.completion || "0") * 1_000_000;
- const cacheReadCost = parseFloat(model.pricing?.input_cache_read || "0") * 1_000_000;
- const cacheWriteCost = parseFloat(model.pricing?.input_cache_write || "0") * 1_000_000;
+ // Convert pricing from $/token to $/million tokens. OpenRouter uses
+ // negative values as a placeholder for unknown pricing (e.g. auto-beta).
+ const inputCost = Math.max(0, parseFloat(model.pricing?.prompt || "0")) * 1_000_000;
+ const outputCost = Math.max(0, parseFloat(model.pricing?.completion || "0")) * 1_000_000;
+ const cacheReadCost = Math.max(0, parseFloat(model.pricing?.input_cache_read || "0")) * 1_000_000;
+ const cacheWriteCost = Math.max(0, parseFloat(model.pricing?.input_cache_write || "0")) * 1_000_000;
const normalizedModel: Model<any> = {
id: modelKey,
@@ -816,7 +823,8 @@ async function fetchAiGatewayModels(): Promise<Model<any>[]> {
api: "anthropic-messages",
baseUrl: AI_GATEWAY_BASE_URL,
provider: "vercel-ai-gateway",
- reasoning: tags.includes("reasoning"),
+ // DeepSeek's *-thinking routes always think; the gateway omits the tag.
+ reasoning: tags.includes("reasoning") || model.id.includes("-thinking"),
input,
cost: {
input: inputCost,
@@ -909,11 +917,18 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
}
}
- // Process Google models
+ // Process Google models. Live API models (bidirectional streaming sessions), Deep
+ // Research models (Interactions API), and Computer Use models (require the
+ // computer_use tool) are not usable through the GenerateContent API as plain
+ // chat models, so they are excluded.
+ const googleUnsupportedApiModelPattern = /(^|[-_.])(live|deep-research|computer-use)($|[-_.])/i;
if (data.google?.models) {
for (const [modelId, model] of Object.entries(data.google.models)) {
const m = model as ModelsDevModel;
if (m.tool_call !== true) continue;
+ if (googleUnsupportedApiModelPattern.test(modelId)) continue;
+ // Image-generation variants return inlineData parts the provider drops.
+ if (m.modalities?.output?.includes("image")) continue;
models.push({
id: modelId,
@@ -1327,12 +1342,12 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
if (m.tool_call !== true) continue;
if (m.status === "deprecated") continue;
- // Claude 4.x models route to Anthropic Messages API
- const isCopilotClaude4 = /^claude-(haiku|sonnet|opus)-4([.\-]|$)/.test(modelId);
+ // Copilot proxies Claude via the Anthropic Messages API
+ const isCopilotClaude = modelId.startsWith("claude-");
// gpt-5 models require responses API, others use completions
const needsResponsesApi = modelId.startsWith("gpt-5") || modelId.startsWith("oswe");
- const api: Api = isCopilotClaude4
+ const api: Api = isCopilotClaude
? "anthropic-messages"
: needsResponsesApi
? "openai-responses"
diff --git a/packages/ai/src/models.generated.ts b/packages/ai/src/models.generated.ts
index 57c29e558c..09bbafa213 100644
--- a/packages/ai/src/models.generated.ts
+++ b/packages/ai/src/models.generated.ts
@@ -196,6 +196,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
+ "anthropic.claude-opus-5": {
+ id: "anthropic.claude-opus-5",
+ name: "Claude Opus 5",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
"anthropic.claude-sonnet-4-5-20250929-v1:0": {
id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
name: "Claude Sonnet 4.5",
@@ -254,7 +272,7 @@ export const MODELS = {
name: "Claude Haiku 4.5 (AU)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
@@ -271,7 +289,7 @@ export const MODELS = {
name: "AU Anthropic Claude Opus 4.6",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"max":"max"},
input: ["text", "image"],
@@ -289,7 +307,25 @@ export const MODELS = {
name: "Claude Opus 4.8 (AU)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
+ "au.anthropic.claude-opus-5": {
+ id: "au.anthropic.claude-opus-5",
+ name: "Claude Opus 5 (AU)",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -307,7 +343,7 @@ export const MODELS = {
name: "Claude Sonnet 4.5 (AU)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
@@ -324,7 +360,7 @@ export const MODELS = {
name: "AU Anthropic Claude Sonnet 4.6",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"max":"max"},
input: ["text", "image"],
@@ -342,7 +378,7 @@ export const MODELS = {
name: "Claude Sonnet 5 (AU)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-southeast-2.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -512,6 +548,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
+ "eu.anthropic.claude-opus-5": {
+ id: "eu.anthropic.claude-opus-5",
+ name: "Claude Opus 5 (EU)",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5.5,
+ output: 27.5,
+ cacheRead: 0.55,
+ cacheWrite: 6.875,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
"eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
name: "Claude Sonnet 4.5 (EU)",
@@ -671,6 +725,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
+ "global.anthropic.claude-opus-5": {
+ id: "global.anthropic.claude-opus-5",
+ name: "Claude Opus 5 (Global)",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
"global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
name: "Claude Sonnet 4.5 (Global)",
@@ -763,7 +835,7 @@ export const MODELS = {
name: "Claude Haiku 4.5 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
@@ -780,7 +852,7 @@ export const MODELS = {
name: "Claude Opus 4.7 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -798,7 +870,25 @@ export const MODELS = {
name: "Claude Opus 4.8 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
+ "jp.anthropic.claude-opus-5": {
+ id: "jp.anthropic.claude-opus-5",
+ name: "Claude Opus 5 (JP)",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -816,7 +906,7 @@ export const MODELS = {
name: "Claude Sonnet 4.5 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
@@ -833,7 +923,7 @@ export const MODELS = {
name: "Claude Sonnet 4.6 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"max":"max"},
input: ["text", "image"],
@@ -851,7 +941,7 @@ export const MODELS = {
name: "Claude Sonnet 5 (JP)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
- baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ baseUrl: "https://bedrock-runtime.ap-northeast-1.amazonaws.com",
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -1301,10 +1391,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.1,
- cacheWrite: 1.25,
+ input: 0.22,
+ output: 1.32,
+ cacheRead: 0.022,
+ cacheWrite: 0.275,
},
contextWindow: 272000,
maxTokens: 128000,
@@ -1319,10 +1409,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 5,
- output: 30,
- cacheRead: 0.5,
- cacheWrite: 6.25,
+ input: 5.5,
+ output: 33,
+ cacheRead: 0.55,
+ cacheWrite: 6.88,
},
contextWindow: 272000,
maxTokens: 128000,
@@ -1337,10 +1427,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 2.2,
+ output: 13.2,
+ cacheRead: 0.22,
+ cacheWrite: 2.75,
},
contextWindow: 272000,
maxTokens: 128000,
@@ -1689,6 +1779,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
+ "us.anthropic.claude-opus-5": {
+ id: "us.anthropic.claude-opus-5",
+ name: "Claude Opus 5 (US)",
+ api: "bedrock-converse-stream",
+ provider: "amazon-bedrock",
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"bedrock-converse-stream">,
"us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
name: "Claude Sonnet 4.5 (US)",
@@ -2071,6 +2179,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
+ "claude-opus-5": {
+ id: "claude-opus-5",
+ name: "Claude Opus 5",
+ api: "anthropic-messages",
+ provider: "anthropic",
+ baseUrl: "https://api.anthropic.com",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"anthropic-messages">,
"claude-sonnet-4-5": {
id: "claude-sonnet-4-5",
name: "Claude Sonnet 4.5 (latest)",
@@ -2349,24 +2475,6 @@ export const MODELS = {
contextWindow: 128000,
maxTokens: 16384,
} satisfies Model<"azure-openai-responses">,
- "gpt-5-codex": {
- id: "gpt-5-codex",
- name: "GPT-5-Codex",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"azure-openai-responses">,
"gpt-5-mini": {
id: "gpt-5-mini",
name: "GPT-5 Mini",
@@ -2439,24 +2547,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"azure-openai-responses">,
- "gpt-5.1-chat-latest": {
- id: "gpt-5.1-chat-latest",
- name: "GPT-5.1 Chat",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 16384,
- } satisfies Model<"azure-openai-responses">,
"gpt-5.1-codex": {
id: "gpt-5.1-codex",
name: "GPT-5.1 Codex",
@@ -2468,9 +2558,9 @@ export const MODELS = {
input: ["text", "image"],
cost: {
input: 1.25,
- output: 10,
+ output: 5,
cacheRead: 0.125,
- cacheWrite: 0,
+ cacheWrite: 1.25,
},
contextWindow: 400000,
maxTokens: 128000,
@@ -2493,24 +2583,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"azure-openai-responses">,
- "gpt-5.1-codex-mini": {
- id: "gpt-5.1-codex-mini",
- name: "GPT-5.1 Codex mini",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 0.25,
- output: 2,
- cacheRead: 0.025,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"azure-openai-responses">,
"gpt-5.2": {
id: "gpt-5.2",
name: "GPT-5.2",
@@ -2547,24 +2619,6 @@ export const MODELS = {
contextWindow: 128000,
maxTokens: 16384,
} satisfies Model<"azure-openai-responses">,
- "gpt-5.2-codex": {
- id: "gpt-5.2-codex",
- name: "GPT-5.2 Codex",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
- input: ["text", "image"],
- cost: {
- input: 1.75,
- output: 14,
- cacheRead: 0.175,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"azure-openai-responses">,
"gpt-5.2-pro": {
id: "gpt-5.2-pro",
name: "GPT-5.2 Pro",
@@ -2773,10 +2827,10 @@ export const MODELS = {
thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.1,
- cacheWrite: 1.25,
+ input: 0.2,
+ output: 1.2,
+ cacheRead: 0.02,
+ cacheWrite: 0.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -2809,10 +2863,10 @@ export const MODELS = {
thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 2,
+ output: 12,
+ cacheRead: 0.2,
+ cacheWrite: 2.5,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -2885,23 +2939,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"azure-openai-responses">,
- "o3-deep-research": {
- id: "o3-deep-research",
- name: "o3-deep-research",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 10,
- output: 40,
- cacheRead: 2.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"azure-openai-responses">,
"o3-mini": {
id: "o3-mini",
name: "o3-mini",
@@ -2953,23 +2990,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"azure-openai-responses">,
- "o4-mini-deep-research": {
- id: "o4-mini-deep-research",
- name: "o4-mini-deep-research",
- api: "azure-openai-responses",
- provider: "azure-openai-responses",
- baseUrl: "",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 2,
- output: 8,
- cacheRead: 0.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"azure-openai-responses">,
},
"cerebras": {
"gemma-4-31b": {
@@ -3267,16 +3287,34 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "claude-sonnet-4": {
- id: "claude-sonnet-4",
- name: "Claude Sonnet 4 (latest)",
+ "claude-opus-5": {
+ id: "claude-opus-5",
+ name: "Claude Opus 5",
api: "anthropic-messages",
provider: "cloudflare-ai-gateway",
baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
- input: 3,
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"anthropic-messages">,
+ "claude-sonnet-4": {
+ id: "claude-sonnet-4",
+ name: "Claude Sonnet 4 (latest)",
+ api: "anthropic-messages",
+ provider: "cloudflare-ai-gateway",
+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 3,
output: 15,
cacheRead: 0.3,
cacheWrite: 3.75,
@@ -4072,23 +4110,6 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 384000,
} satisfies Model<"anthropic-messages">,
- "accounts/fireworks/models/glm-5p1": {
- id: "accounts/fireworks/models/glm-5p1",
- name: "GLM 5.1",
- api: "anthropic-messages",
- provider: "fireworks",
- baseUrl: "https://api.fireworks.ai/inference",
- reasoning: true,
- input: ["text"],
- cost: {
- input: 1.4,
- output: 4.4,
- cacheRead: 0.26,
- cacheWrite: 0,
- },
- contextWindow: 202800,
- maxTokens: 131072,
- } satisfies Model<"anthropic-messages">,
"accounts/fireworks/models/glm-5p2": {
id: "accounts/fireworks/models/glm-5p2",
name: "GLM 5.2",
@@ -4174,6 +4195,24 @@ export const MODELS = {
contextWindow: 262000,
maxTokens: 262000,
} satisfies Model<"anthropic-messages">,
+ "accounts/fireworks/models/kimi-k3": {
+ id: "accounts/fireworks/models/kimi-k3",
+ name: "Kimi K3",
+ api: "anthropic-messages",
+ provider: "fireworks",
+ baseUrl: "https://api.fireworks.ai/inference",
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 3,
+ output: 15,
+ cacheRead: 0.3,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 131072,
+ } satisfies Model<"anthropic-messages">,
"accounts/fireworks/models/minimax-m2p7": {
id: "accounts/fireworks/models/minimax-m2p7",
name: "MiniMax-M2.7",
@@ -4198,7 +4237,7 @@ export const MODELS = {
provider: "fireworks",
baseUrl: "https://api.fireworks.ai/inference",
reasoning: true,
- input: ["text"],
+ input: ["text", "image"],
cost: {
input: 0.3,
output: 1.2,
@@ -4225,23 +4264,6 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 65536,
} satisfies Model<"anthropic-messages">,
- "accounts/fireworks/routers/glm-5p1-fast": {
- id: "accounts/fireworks/routers/glm-5p1-fast",
- name: "GLM 5.1 Fast",
- api: "anthropic-messages",
- provider: "fireworks",
- baseUrl: "https://api.fireworks.ai/inference",
- reasoning: true,
- input: ["text"],
- cost: {
- input: 2.8,
- output: 8.8,
- cacheRead: 0.52,
- cacheWrite: 0,
- },
- contextWindow: 202800,
- maxTokens: 131072,
- } satisfies Model<"anthropic-messages">,
"accounts/fireworks/routers/glm-5p2-fast": {
id: "accounts/fireworks/routers/glm-5p2-fast",
name: "GLM 5.2 Fast",
@@ -4310,16 +4332,33 @@ export const MODELS = {
contextWindow: 262000,
maxTokens: 262000,
} satisfies Model<"anthropic-messages">,
+ "accounts/fireworks/routers/kimi-k3-fast": {
+ id: "accounts/fireworks/routers/kimi-k3-fast",
+ name: "Kimi K3 Fast",
+ api: "anthropic-messages",
+ provider: "fireworks",
+ baseUrl: "https://api.fireworks.ai/inference",
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 4.5,
+ output: 22.5,
+ cacheRead: 0.45,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 131072,
+ } satisfies Model<"anthropic-messages">,
},
"github-copilot": {
"claude-fable-5": {
id: "claude-fable-5",
name: "Claude Fable 5",
- api: "openai-completions",
+ api: "anthropic-messages",
provider: "github-copilot",
baseUrl: "https://api.individual.githubcopilot.com",
headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
reasoning: true,
thinkingLevelMap: {"off":null,"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -4331,7 +4370,7 @@ export const MODELS = {
},
contextWindow: 1000000,
maxTokens: 128000,
- } satisfies Model<"openai-completions">,
+ } satisfies Model<"anthropic-messages">,
"claude-haiku-4.5": {
id: "claude-haiku-4.5",
name: "Claude Haiku 4.5 (latest)",
@@ -4426,6 +4465,25 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 64000,
} satisfies Model<"anthropic-messages">,
+ "claude-opus-5": {
+ id: "claude-opus-5",
+ name: "Claude Opus 5",
+ api: "anthropic-messages",
+ provider: "github-copilot",
+ baseUrl: "https://api.individual.githubcopilot.com",
+ headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 64000,
+ } satisfies Model<"anthropic-messages">,
"claude-sonnet-4": {
id: "claude-sonnet-4",
name: "Claude Sonnet 4 (latest)",
@@ -4486,11 +4544,10 @@ export const MODELS = {
"claude-sonnet-5": {
id: "claude-sonnet-5",
name: "Claude Sonnet 5",
- api: "openai-completions",
+ api: "anthropic-messages",
provider: "github-copilot",
baseUrl: "https://api.individual.githubcopilot.com",
headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
reasoning: true,
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
@@ -4502,7 +4559,7 @@ export const MODELS = {
},
contextWindow: 1000000,
maxTokens: 128000,
- } satisfies Model<"openai-completions">,
+ } satisfies Model<"anthropic-messages">,
"gemini-2.5-pro": {
id: "gemini-2.5-pro",
name: "Gemini 2.5 Pro",
@@ -4764,7 +4821,7 @@ export const MODELS = {
input: 1,
output: 6,
cacheRead: 0.1,
- cacheWrite: 0,
+ cacheWrite: 1.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -4783,7 +4840,7 @@ export const MODELS = {
input: 5,
output: 30,
cacheRead: 0.5,
- cacheWrite: 0,
+ cacheWrite: 6.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -4802,7 +4859,7 @@ export const MODELS = {
input: 2.5,
output: 15,
cacheRead: 0.25,
- cacheWrite: 0,
+ cacheWrite: 3.125,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -5058,6 +5115,42 @@ export const MODELS = {
contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"google-generative-ai">,
+ "gemini-3.5-flash-lite": {
+ id: "gemini-3.5-flash-lite",
+ name: "Gemini 3.5 Flash Lite",
+ api: "google-generative-ai",
+ provider: "google",
+ baseUrl: "https://generativelanguage.googleapis.com/v1beta",
+ reasoning: true,
+ thinkingLevelMap: {"off":null},
+ input: ["text", "image"],
+ cost: {
+ input: 0.3,
+ output: 2.5,
+ cacheRead: 0.03,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"google-generative-ai">,
+ "gemini-3.6-flash": {
+ id: "gemini-3.6-flash",
+ name: "Gemini 3.6 Flash",
+ api: "google-generative-ai",
+ provider: "google",
+ baseUrl: "https://generativelanguage.googleapis.com/v1beta",
+ reasoning: true,
+ thinkingLevelMap: {"off":null},
+ input: ["text", "image"],
+ cost: {
+ input: 1.5,
+ output: 7.5,
+ cacheRead: 0.15,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"google-generative-ai">,
"gemini-flash-latest": {
id: "gemini-flash-latest",
name: "Gemini Flash Latest",
@@ -5092,6 +5185,23 @@ export const MODELS = {
contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"google-generative-ai">,
+ "gemini-robotics-er-1.6-preview": {
+ id: "gemini-robotics-er-1.6-preview",
+ name: "Gemini Robotics-ER 1.6 Preview",
+ api: "google-generative-ai",
+ provider: "google",
+ baseUrl: "https://generativelanguage.googleapis.com/v1beta",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 1,
+ output: 5,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 131072,
+ maxTokens: 65536,
+ } satisfies Model<"google-generative-ai">,
"gemma-4-26b-a4b-it": {
id: "gemma-4-26b-a4b-it",
name: "Gemma 4 26B A4B IT",
@@ -5857,6 +5967,24 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 4096,
} satisfies Model<"openai-completions">,
+ "XiaomiMiMo/MiMo-V2.5": {
+ id: "XiaomiMiMo/MiMo-V2.5",
+ name: "MiMo-V2.5",
+ api: "openai-completions",
+ provider: "huggingface",
+ baseUrl: "https://router.huggingface.co/v1",
+ compat: {"supportsDeveloperRole":false},
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.4,
+ output: 2,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 131072,
+ } satisfies Model<"openai-completions">,
"XiaomiMiMo/MiMo-V2.5-Pro": {
id: "XiaomiMiMo/MiMo-V2.5-Pro",
name: "MiMo-V2.5-Pro",
@@ -6127,6 +6255,25 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 262144,
} satisfies Model<"openai-completions">,
+ "moonshotai/Kimi-K3": {
+ id: "moonshotai/Kimi-K3",
+ name: "Kimi K3",
+ api: "openai-completions",
+ provider: "huggingface",
+ baseUrl: "https://router.huggingface.co/v1",
+ compat: {"supportsDeveloperRole":false},
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 3,
+ output: 15,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 1000000,
+ maxTokens: 131072,
+ } satisfies Model<"openai-completions">,
"openai/gpt-oss-120b": {
id: "openai/gpt-oss-120b",
name: "GPT OSS 120B",
@@ -6199,6 +6346,42 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 256000,
} satisfies Model<"openai-completions">,
+ "tencent/Hy3": {
+ id: "tencent/Hy3",
+ name: "Hy3",
+ api: "openai-completions",
+ provider: "huggingface",
+ baseUrl: "https://router.huggingface.co/v1",
+ compat: {"supportsDeveloperRole":false},
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.14,
+ output: 0.58,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 64000,
+ } satisfies Model<"openai-completions">,
+ "thinkingmachines/Inkling": {
+ id: "thinkingmachines/Inkling",
+ name: "Inkling",
+ api: "openai-completions",
+ provider: "huggingface",
+ baseUrl: "https://router.huggingface.co/v1",
+ compat: {"supportsDeveloperRole":false},
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 1,
+ output: 4.05,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 1048576,
+ } satisfies Model<"openai-completions">,
"zai-org/GLM-4.5": {
id: "zai-org/GLM-4.5",
name: "GLM-4.5",
@@ -6363,14 +6546,15 @@ export const MODELS = {
} satisfies Model<"openai-completions">,
},
"kimi-coding": {
- "k2p7": {
- id: "k2p7",
- name: "Kimi K2.7 Code",
+ "k3": {
+ id: "k3",
+ name: "Kimi K3",
api: "anthropic-messages",
provider: "kimi-coding",
baseUrl: "https://api.kimi.com/coding",
headers: {"User-Agent":"KimiCLI/1.5"},
reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
input: ["text", "image"],
cost: {
input: 0,
@@ -6378,12 +6562,12 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 262144,
- maxTokens: 32768,
+ contextWindow: 1048576,
+ maxTokens: 131072,
} satisfies Model<"anthropic-messages">,
- "k3": {
- id: "k3",
- name: "Kimi K3",
+ "k3-256k": {
+ id: "k3-256k",
+ name: "Kimi K3-256K",
api: "anthropic-messages",
provider: "kimi-coding",
baseUrl: "https://api.kimi.com/coding",
@@ -6397,9 +6581,27 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 262144,
maxTokens: 131072,
} satisfies Model<"anthropic-messages">,
+ "kimi-for-coding": {
+ id: "kimi-for-coding",
+ name: "Kimi K2.7 Code",
+ api: "anthropic-messages",
+ provider: "kimi-coding",
+ baseUrl: "https://api.kimi.com/coding",
+ headers: {"User-Agent":"KimiCLI/1.5"},
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 32768,
+ } satisfies Model<"anthropic-messages">,
"kimi-for-coding-highspeed": {
id: "kimi-for-coding-highspeed",
name: "Kimi For Coding HighSpeed",
@@ -7576,9 +7778,9 @@ export const MODELS = {
contextWindow: 128000,
maxTokens: 16384,
} satisfies Model<"openai-responses">,
- "gpt-5-codex": {
- id: "gpt-5-codex",
- name: "GPT-5-Codex",
+ "gpt-5-mini": {
+ id: "gpt-5-mini",
+ name: "GPT-5 Mini",
api: "openai-responses",
provider: "openai",
baseUrl: "https://api.openai.com/v1",
@@ -7586,27 +7788,9 @@ export const MODELS = {
thinkingLevelMap: {"off":null},
input: ["text", "image"],
cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"openai-responses">,
- "gpt-5-mini": {
- id: "gpt-5-mini",
- name: "GPT-5 Mini",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 0.25,
- output: 2,
- cacheRead: 0.025,
+ input: 0.25,
+ output: 2,
+ cacheRead: 0.025,
cacheWrite: 0,
},
contextWindow: 400000,
@@ -7666,24 +7850,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"openai-responses">,
- "gpt-5.1-chat-latest": {
- id: "gpt-5.1-chat-latest",
- name: "GPT-5.1 Chat",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 16384,
- } satisfies Model<"openai-responses">,
"gpt-5.1-codex": {
id: "gpt-5.1-codex",
name: "GPT-5.1 Codex",
@@ -7695,9 +7861,9 @@ export const MODELS = {
input: ["text", "image"],
cost: {
input: 1.25,
- output: 10,
+ output: 5,
cacheRead: 0.125,
- cacheWrite: 0,
+ cacheWrite: 1.25,
},
contextWindow: 400000,
maxTokens: 128000,
@@ -7720,24 +7886,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"openai-responses">,
- "gpt-5.1-codex-mini": {
- id: "gpt-5.1-codex-mini",
- name: "GPT-5.1 Codex mini",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- thinkingLevelMap: {"off":null},
- input: ["text", "image"],
- cost: {
- input: 0.25,
- output: 2,
- cacheRead: 0.025,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"openai-responses">,
"gpt-5.2": {
id: "gpt-5.2",
name: "GPT-5.2",
@@ -7774,24 +7922,6 @@ export const MODELS = {
contextWindow: 128000,
maxTokens: 16384,
} satisfies Model<"openai-responses">,
- "gpt-5.2-codex": {
- id: "gpt-5.2-codex",
- name: "GPT-5.2 Codex",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
- input: ["text", "image"],
- cost: {
- input: 1.75,
- output: 14,
- cacheRead: 0.175,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"openai-responses">,
"gpt-5.2-pro": {
id: "gpt-5.2-pro",
name: "GPT-5.2 Pro",
@@ -8000,10 +8130,10 @@ export const MODELS = {
thinkingLevelMap: {"off":"none","xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.1,
- cacheWrite: 1.25,
+ input: 0.2,
+ output: 1.2,
+ cacheRead: 0.02,
+ cacheWrite: 0.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -8036,10 +8166,10 @@ export const MODELS = {
thinkingLevelMap: {"off":"none","xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 2,
+ output: 12,
+ cacheRead: 0.2,
+ cacheWrite: 2.5,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -8112,23 +8242,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"openai-responses">,
- "o3-deep-research": {
- id: "o3-deep-research",
- name: "o3-deep-research",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 10,
- output: 40,
- cacheRead: 2.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"openai-responses">,
"o3-mini": {
id: "o3-mini",
name: "o3-mini",
@@ -8180,23 +8293,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"openai-responses">,
- "o4-mini-deep-research": {
- id: "o4-mini-deep-research",
- name: "o4-mini-deep-research",
- api: "openai-responses",
- provider: "openai",
- baseUrl: "https://api.openai.com/v1",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 2,
- output: 8,
- cacheRead: 0.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"openai-responses">,
},
"openai-codex": {
"gpt-5.1": {
@@ -8573,6 +8669,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
+ "claude-opus-5": {
+ id: "claude-opus-5",
+ name: "Claude Opus 5",
+ api: "anthropic-messages",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"anthropic-messages">,
"claude-sonnet-4": {
id: "claude-sonnet-4",
name: "Claude Sonnet 4",
@@ -8664,7 +8778,7 @@ export const MODELS = {
} satisfies Model<"openai-completions">,
"deepseek-v4-flash-free": {
id: "deepseek-v4-flash-free",
- name: "DeepSeek V4 Flash Free",
+ name: "DeepSeek V4 Flash Free (New)",
api: "openai-completions",
provider: "opencode",
baseUrl: "https://opencode.ai/zen/v1",
@@ -8754,6 +8868,42 @@ export const MODELS = {
contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"google-generative-ai">,
+ "gemini-3.5-flash-lite": {
+ id: "gemini-3.5-flash-lite",
+ name: "Gemini 3.5 Flash Lite",
+ api: "google-generative-ai",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen/v1",
+ reasoning: true,
+ thinkingLevelMap: {"off":null},
+ input: ["text", "image"],
+ cost: {
+ input: 0.3,
+ output: 2.5,
+ cacheRead: 0.03,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"google-generative-ai">,
+ "gemini-3.6-flash": {
+ id: "gemini-3.6-flash",
+ name: "Gemini 3.6 Flash",
+ api: "google-generative-ai",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen/v1",
+ reasoning: true,
+ thinkingLevelMap: {"off":null},
+ input: ["text", "image"],
+ cost: {
+ input: 1.5,
+ output: 7.5,
+ cacheRead: 0.15,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"google-generative-ai">,
"glm-5": {
id: "glm-5",
name: "GLM-5",
@@ -9103,10 +9253,10 @@ export const MODELS = {
thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.1,
- cacheWrite: 1.25,
+ input: 0.2,
+ output: 1.2,
+ cacheRead: 0.02,
+ cacheWrite: 0.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -9150,7 +9300,7 @@ export const MODELS = {
"grok-4.5": {
id: "grok-4.5",
name: "Grok 4.5",
- api: "openai-completions",
+ api: "openai-responses",
provider: "opencode",
baseUrl: "https://opencode.ai/zen/v1",
reasoning: true,
@@ -9163,7 +9313,7 @@ export const MODELS = {
},
contextWindow: 500000,
maxTokens: 500000,
- } satisfies Model<"openai-completions">,
+ } satisfies Model<"openai-responses">,
"grok-build-0.1": {
id: "grok-build-0.1",
name: "Grok Build 0.1",
@@ -9181,23 +9331,6 @@ export const MODELS = {
contextWindow: 256000,
maxTokens: 256000,
} satisfies Model<"openai-completions">,
- "hy3-free": {
- id: "hy3-free",
- name: "Hy3 Free",
- api: "openai-completions",
- provider: "opencode",
- baseUrl: "https://opencode.ai/zen/v1",
- reasoning: true,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 190000,
- maxTokens: 64000,
- } satisfies Model<"openai-completions">,
"kimi-k2.5": {
id: "kimi-k2.5",
name: "Kimi K2.5",
@@ -9249,6 +9382,58 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 262144,
} satisfies Model<"openai-completions">,
+ "kimi-k3": {
+ id: "kimi-k3",
+ name: "Kimi K3",
+ api: "openai-completions",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen/v1",
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 3,
+ output: 15,
+ cacheRead: 0.3,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 131072,
+ } satisfies Model<"openai-completions">,
+ "laguna-s-2.1-free": {
+ id: "laguna-s-2.1-free",
+ name: "Laguna S 2.1 Free",
+ api: "openai-completions",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen/v1",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 256000,
+ maxTokens: 32000,
+ } satisfies Model<"openai-completions">,
+ "ling-3.0-flash-free": {
+ id: "ling-3.0-flash-free",
+ name: "Ling-3.0-flash Free",
+ api: "openai-completions",
+ provider: "opencode",
+ baseUrl: "https://opencode.ai/zen/v1",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 32768,
+ } satisfies Model<"openai-completions">,
"mimo-v2.5-free": {
id: "mimo-v2.5-free",
name: "MiMo V2.5 Free",
@@ -9389,7 +9574,7 @@ export const MODELS = {
"opencode-go": {
"deepseek-v4-flash": {
id: "deepseek-v4-flash",
- name: "DeepSeek V4 Flash",
+ name: "DeepSeek V4 Flash (New)",
api: "openai-completions",
provider: "opencode-go",
baseUrl: "https://opencode.ai/zen/go/v1",
@@ -9398,9 +9583,9 @@ export const MODELS = {
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
input: ["text"],
cost: {
- input: 0.435,
- output: 0.87,
- cacheRead: 0.003625,
+ input: 0.14,
+ output: 0.28,
+ cacheRead: 0.0028,
cacheWrite: 0,
},
contextWindow: 1000000,
@@ -9459,10 +9644,28 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
+ "gpt-5.6-luna": {
+ id: "gpt-5.6-luna",
+ name: "GPT-5.6 Luna (2x usage)",
+ api: "openai-responses",
+ provider: "opencode-go",
+ baseUrl: "https://opencode.ai/zen/go/v1",
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 0.1,
+ output: 0.6,
+ cacheRead: 0.01,
+ cacheWrite: 0.125,
+ },
+ contextWindow: 1050000,
+ maxTokens: 128000,
+ } satisfies Model<"openai-responses">,
"grok-4.5": {
id: "grok-4.5",
name: "Grok 4.5",
- api: "openai-completions",
+ api: "openai-responses",
provider: "opencode-go",
baseUrl: "https://opencode.ai/zen/go/v1",
reasoning: true,
@@ -9475,6 +9678,23 @@ export const MODELS = {
},
contextWindow: 500000,
maxTokens: 500000,
+ } satisfies Model<"openai-responses">,
+ "hy3": {
+ id: "hy3",
+ name: "Hy3",
+ api: "openai-completions",
+ provider: "opencode-go",
+ baseUrl: "https://opencode.ai/zen/go/v1",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.14,
+ output: 0.58,
+ cacheRead: 0.035,
+ cacheWrite: 0,
+ },
+ contextWindow: 256000,
+ maxTokens: 64000,
} satisfies Model<"openai-completions">,
"kimi-k2.6": {
id: "kimi-k2.6",
@@ -9996,6 +10216,42 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
+ "anthropic/claude-opus-5": {
+ id: "anthropic/claude-opus-5",
+ name: "Claude Opus 5",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"openai-completions">,
+ "anthropic/claude-opus-5-fast": {
+ id: "anthropic/claude-opus-5-fast",
+ name: "Claude Opus 5 (Fast)",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 10,
+ output: 50,
+ cacheRead: 1,
+ cacheWrite: 12.5,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"openai-completions">,
"anthropic/claude-sonnet-4": {
id: "anthropic/claude-sonnet-4",
name: "Anthropic: Claude Sonnet 4",
@@ -10075,13 +10331,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.25,
- output: 0.7999999999999999,
+ input: 0.22,
+ output: 0.85,
cacheRead: 0.06,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 80000,
+ maxTokens: 262144,
} satisfies Model<"openai-completions">,
"arcee-ai/virtuoso-large": {
id: "arcee-ai/virtuoso-large",
@@ -10245,12 +10501,12 @@ export const MODELS = {
reasoning: false,
input: ["text"],
cost: {
- input: 0.20020000000000002,
- output: 0.8000999999999999,
+ input: 0.2574,
+ output: 1.0287,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 163840,
maxTokens: 16000,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-chat-v3-0324": {
@@ -10335,7 +10591,7 @@ export const MODELS = {
cacheRead: 0.135,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 163840,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-v3.2": {
@@ -10383,13 +10639,32 @@ export const MODELS = {
thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
input: ["text"],
cost: {
- input: 0.098,
- output: 0.196,
- cacheRead: 0.0196,
+ input: 0.14,
+ output: 0.28,
+ cacheRead: 0.028,
cacheWrite: 0,
},
contextWindow: 1048576,
- maxTokens: 4096,
+ maxTokens: 393216,
+ } satisfies Model<"openai-completions">,
+ "deepseek/deepseek-v4-flash-0731": {
+ id: "deepseek/deepseek-v4-flash-0731",
+ name: "DeepSeek: DeepSeek V4 Flash 0731",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
+ reasoning: true,
+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
+ input: ["text"],
+ cost: {
+ input: 0.14,
+ output: 0.28,
+ cacheRead: 0.0028,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 384000,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-v4-pro": {
id: "deepseek/deepseek-v4-pro",
@@ -10526,7 +10801,7 @@ export const MODELS = {
cacheRead: 0.19999999999999998,
cacheWrite: 0.375,
},
- contextWindow: 65536,
+ contextWindow: 131072,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"google/gemini-3.1-flash-lite": {
@@ -10594,7 +10869,7 @@ export const MODELS = {
cacheRead: 0.19999999999999998,
cacheWrite: 0.375,
},
- contextWindow: 1048756,
+ contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
"google/gemini-3.5-flash": {
@@ -10614,6 +10889,40 @@ export const MODELS = {
contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
+ "google/gemini-3.5-flash-lite": {
+ id: "google/gemini-3.5-flash-lite",
+ name: "Google: Gemini 3.5 Flash Lite",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0.3,
+ output: 2.5,
+ cacheRead: 0.03,
+ cacheWrite: 0.08333333333333334,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"openai-completions">,
+ "google/gemini-3.6-flash": {
+ id: "google/gemini-3.6-flash",
+ name: "Google: Gemini 3.6 Flash",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 1.5,
+ output: 7.5,
+ cacheRead: 0.15,
+ cacheWrite: 0.08333333333333334,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"openai-completions">,
"google/gemma-3-12b-it": {
id: "google/gemma-3-12b-it",
name: "Google: Gemma 3 12B",
@@ -10640,13 +10949,13 @@ export const MODELS = {
reasoning: false,
input: ["text", "image"],
cost: {
- input: 0.09999999999999999,
- output: 0.3,
- cacheRead: 0,
+ input: 0.08,
+ output: 0.44999999999999996,
+ cacheRead: 0.04,
cacheWrite: 0,
},
- contextWindow: 131072,
- maxTokens: 4096,
+ contextWindow: 262144,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
"google/gemma-4-26b-a4b-it": {
id: "google/gemma-4-26b-a4b-it",
@@ -10657,13 +10966,13 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.09999999999999999,
- output: 0.3,
+ input: 0.07,
+ output: 0.33999999999999997,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 256000,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"google/gemma-4-26b-a4b-it:free": {
id: "google/gemma-4-26b-a4b-it:free",
@@ -10691,9 +11000,9 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.22,
- output: 0.55,
- cacheRead: 0.12,
+ input: 0.09999999999999999,
+ output: 0.33999999999999997,
+ cacheRead: 0.09999999999999999,
cacheWrite: 0,
},
contextWindow: 262144,
@@ -10784,6 +11093,23 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
+ "inclusionai/ling-3.0-flash:free": {
+ id: "inclusionai/ling-3.0-flash:free",
+ name: "Ling-3.0-flash (free)",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 32768,
+ } satisfies Model<"openai-completions">,
"inclusionai/ring-2.6-1t": {
id: "inclusionai/ring-2.6-1t",
name: "inclusionAI: Ring-2.6-1T",
@@ -10832,7 +11158,7 @@ export const MODELS = {
cacheRead: 0.06,
cacheWrite: 0,
},
- contextWindow: 256000,
+ contextWindow: 262144,
maxTokens: 80000,
} satisfies Model<"openai-completions">,
"kwaipilot/kat-coder-pro-v2.5": {
@@ -10852,6 +11178,23 @@ export const MODELS = {
contextWindow: 256000,
maxTokens: 80000,
} satisfies Model<"openai-completions">,
+ "meituan/longcat-2.0": {
+ id: "meituan/longcat-2.0",
+ name: "Meituan: LongCat 2.0",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.3,
+ output: 1.2,
+ cacheRead: 0.006,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048756,
+ maxTokens: 262144,
+ } satisfies Model<"openai-completions">,
"meta-llama/llama-3.1-70b-instruct": {
id: "meta-llama/llama-3.1-70b-instruct",
name: "Meta: Llama 3.1 70B Instruct",
@@ -10903,23 +11246,6 @@ export const MODELS = {
contextWindow: 131072,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
- "meta-llama/llama-3.3-70b-instruct:free": {
- id: "meta-llama/llama-3.3-70b-instruct:free",
- name: "Meta: Llama 3.3 70B Instruct (free)",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: false,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 131072,
- maxTokens: 4096,
- } satisfies Model<"openai-completions">,
"meta-llama/llama-4-maverick": {
id: "meta-llama/llama-4-maverick",
name: "Meta: Llama 4 Maverick",
@@ -10951,7 +11277,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 10000000,
+ contextWindow: 1310720,
maxTokens: 16384,
} satisfies Model<"openai-completions">,
"meta/muse-spark-1.1": {
@@ -11074,37 +11400,20 @@ export const MODELS = {
maxTokens: 512000,
} satisfies Model<"openai-completions">,
"mistralai/codestral-2508": {
- id: "mistralai/codestral-2508",
- name: "Mistral: Codestral 2508",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: false,
- input: ["text"],
- cost: {
- input: 0.3,
- output: 0.8999999999999999,
- cacheRead: 0.03,
- cacheWrite: 0,
- },
- contextWindow: 256000,
- maxTokens: 4096,
- } satisfies Model<"openai-completions">,
- "mistralai/devstral-2512": {
- id: "mistralai/devstral-2512",
- name: "Mistral: Devstral 2 2512",
+ id: "mistralai/codestral-2508",
+ name: "Mistral: Codestral 2508",
api: "openai-completions",
provider: "openrouter",
baseUrl: "https://openrouter.ai/api/v1",
reasoning: false,
input: ["text"],
cost: {
- input: 0.39999999999999997,
- output: 2,
- cacheRead: 0.04,
+ input: 0.3,
+ output: 0.8999999999999999,
+ cacheRead: 0.03,
cacheWrite: 0,
},
- contextWindow: 262144,
+ contextWindow: 256000,
maxTokens: 4096,
} satisfies Model<"openai-completions">,
"mistralai/ministral-14b-2512": {
@@ -11320,13 +11629,13 @@ export const MODELS = {
reasoning: false,
input: ["text", "image"],
cost: {
- input: 0.09999999999999999,
- output: 0.3,
- cacheRead: 0.01,
+ input: 0.075,
+ output: 0.19999999999999998,
+ cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
- maxTokens: 4096,
+ contextWindow: 256000,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"mistralai/mixtral-8x22b-instruct": {
id: "mistralai/mixtral-8x22b-instruct",
@@ -11407,11 +11716,11 @@ export const MODELS = {
cost: {
input: 0.6,
output: 2.5,
- cacheRead: 0,
+ cacheRead: 0.15,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 262144,
+ maxTokens: 100352,
} satisfies Model<"openai-completions">,
"moonshotai/kimi-k2.5": {
id: "moonshotai/kimi-k2.5",
@@ -11445,7 +11754,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 4096,
+ maxTokens: 262144,
} satisfies Model<"openai-completions">,
"moonshotai/kimi-k2.7-code": {
id: "moonshotai/kimi-k2.7-code",
@@ -11456,9 +11765,9 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.75,
+ input: 0.73,
output: 3.5,
- cacheRead: 0.16,
+ cacheRead: 0.15,
cacheWrite: 0,
},
contextWindow: 262144,
@@ -11527,11 +11836,11 @@ export const MODELS = {
cost: {
input: 0.049999999999999996,
output: 0.19999999999999998,
- cacheRead: 0,
+ cacheRead: 0.03,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 228000,
+ maxTokens: 262144,
} satisfies Model<"openai-completions">,
"nvidia/nemotron-3-nano-30b-a3b:free": {
id: "nvidia/nemotron-3-nano-30b-a3b:free",
@@ -11576,13 +11885,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.21,
- output: 0.45499999999999996,
- cacheRead: 0.06,
+ input: 0.08499999999999999,
+ output: 0.39999999999999997,
+ cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
- maxTokens: 4096,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"nvidia/nemotron-3-super-120b-a12b:free": {
id: "nvidia/nemotron-3-super-120b-a12b:free",
@@ -11598,7 +11907,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 1000000,
+ contextWindow: 262144,
maxTokens: 262144,
} satisfies Model<"openai-completions">,
"nvidia/nemotron-3-ultra-550b-a55b": {
@@ -11615,7 +11924,7 @@ export const MODELS = {
cacheRead: 0.19999999999999998,
cacheWrite: 0,
},
- contextWindow: 1000000,
+ contextWindow: 512288,
maxTokens: 4096,
} satisfies Model<"openai-completions">,
"nvidia/nemotron-3-ultra-550b-a55b:free": {
@@ -11941,23 +12250,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
- "openai/gpt-5-codex": {
- id: "openai/gpt-5-codex",
- name: "OpenAI: GPT-5 Codex",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"openai-completions">,
"openai/gpt-5-mini": {
id: "openai/gpt-5-mini",
name: "OpenAI: GPT-5 Mini",
@@ -12037,11 +12329,11 @@ export const MODELS = {
cost: {
input: 1.25,
output: 10,
- cacheRead: 0.125,
+ cacheRead: 0.13,
cacheWrite: 0,
},
contextWindow: 128000,
- maxTokens: 16384,
+ maxTokens: 32000,
} satisfies Model<"openai-completions">,
"openai/gpt-5.1-codex": {
id: "openai/gpt-5.1-codex",
@@ -12054,7 +12346,7 @@ export const MODELS = {
cost: {
input: 1.25,
output: 10,
- cacheRead: 0.125,
+ cacheRead: 0.13,
cacheWrite: 0,
},
contextWindow: 400000,
@@ -12088,11 +12380,11 @@ export const MODELS = {
cost: {
input: 0.25,
output: 2,
- cacheRead: 0.024999999999999998,
+ cacheRead: 0.03,
cacheWrite: 0,
},
contextWindow: 400000,
- maxTokens: 100000,
+ maxTokens: 128000,
} satisfies Model<"openai-completions">,
"openai/gpt-5.2": {
id: "openai/gpt-5.2",
@@ -12320,10 +12612,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.09999999999999999,
- cacheWrite: 1.25,
+ input: 0.09999999999999999,
+ output: 0.6000000000000001,
+ cacheRead: 0.01,
+ cacheWrite: 0.12500000000000003,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -12338,10 +12630,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.09999999999999999,
- cacheWrite: 1.25,
+ input: 0.09999999999999999,
+ output: 0.6000000000000001,
+ cacheRead: 0.01,
+ cacheWrite: 0.12500000000000003,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -12392,10 +12684,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 1.0000000000000002,
+ output: 6,
+ cacheRead: 0.09999999999999999,
+ cacheWrite: 1.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -12410,10 +12702,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 1.0000000000000002,
+ output: 6,
+ cacheRead: 0.09999999999999999,
+ cacheWrite: 1.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -12496,8 +12788,8 @@ export const MODELS = {
input: ["text"],
cost: {
input: 0.03,
- output: 0.13,
- cacheRead: 0.03,
+ output: 0.14,
+ cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 131072,
@@ -12571,23 +12863,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"openai-completions">,
- "openai/o3-deep-research": {
- id: "openai/o3-deep-research",
- name: "OpenAI: o3 Deep Research",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 10,
- output: 40,
- cacheRead: 2.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"openai-completions">,
"openai/o3-mini": {
id: "openai/o3-mini",
name: "OpenAI: o3 Mini",
@@ -12656,23 +12931,6 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"openai-completions">,
- "openai/o4-mini-deep-research": {
- id: "openai/o4-mini-deep-research",
- name: "OpenAI: o4 Mini Deep Research",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 2,
- output: 8,
- cacheRead: 0.5,
- cacheWrite: 0,
- },
- contextWindow: 200000,
- maxTokens: 100000,
- } satisfies Model<"openai-completions">,
"openai/o4-mini-high": {
id: "openai/o4-mini-high",
name: "OpenAI: o4 Mini High",
@@ -12699,8 +12957,25 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: -1000000,
- output: -1000000,
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 2000000,
+ maxTokens: 4096,
+ } satisfies Model<"openai-completions">,
+ "openrouter/auto-beta": {
+ id: "openrouter/auto-beta",
+ name: "Auto Router (Beta)",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0,
+ output: 0,
cacheRead: 0,
cacheWrite: 0,
},
@@ -12724,26 +12999,26 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 4096,
} satisfies Model<"openai-completions">,
- "poolside/laguna-m.1": {
- id: "poolside/laguna-m.1",
- name: "Poolside: Laguna M.1",
+ "poolside/laguna-s-2.1": {
+ id: "poolside/laguna-s-2.1",
+ name: "Poolside: Laguna S 2.1",
api: "openai-completions",
provider: "openrouter",
baseUrl: "https://openrouter.ai/api/v1",
reasoning: true,
input: ["text"],
cost: {
- input: 0.19999999999999998,
- output: 0.39999999999999997,
- cacheRead: 0.09999999999999999,
+ input: 0.09,
+ output: 0.18,
+ cacheRead: 0.009,
cacheWrite: 0,
},
- contextWindow: 262144,
- maxTokens: 32768,
+ contextWindow: 1048576,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
- "poolside/laguna-m.1:free": {
- id: "poolside/laguna-m.1:free",
- name: "Poolside: Laguna M.1 (free)",
+ "poolside/laguna-s-2.1:free": {
+ id: "poolside/laguna-s-2.1:free",
+ name: "Poolside: Laguna S 2.1 (free)",
api: "openai-completions",
provider: "openrouter",
baseUrl: "https://openrouter.ai/api/v1",
@@ -12806,7 +13081,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 32768,
maxTokens: 16384,
} satisfies Model<"openai-completions">,
"qwen/qwen-2.5-7b-instruct": {
@@ -12818,12 +13093,12 @@ export const MODELS = {
reasoning: false,
input: ["text"],
cost: {
- input: 0.04,
- output: 0.09999999999999999,
+ input: 0.09999999999999999,
+ output: 0.19999999999999998,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 32768,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen-plus": {
@@ -12869,10 +13144,10 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.26,
- output: 0.78,
+ input: 0.39999999999999997,
+ output: 1.2,
cacheRead: 0,
- cacheWrite: 0.325,
+ cacheWrite: 0.5,
},
contextWindow: 1000000,
maxTokens: 32768,
@@ -12886,13 +13161,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.12,
- output: 0.24,
+ input: 0.22749999999999998,
+ output: 0.9099999999999999,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131702,
- maxTokens: 16384,
+ contextWindow: 131072,
+ maxTokens: 8192,
} satisfies Model<"openai-completions">,
"qwen/qwen3-235b-a22b": {
id: "qwen/qwen3-235b-a22b",
@@ -12937,8 +13212,8 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.14950000000000002,
- output: 1.495,
+ input: 0.22999999999999998,
+ output: 2.3,
cacheRead: 0,
cacheWrite: 0,
},
@@ -12971,13 +13246,13 @@ export const MODELS = {
reasoning: false,
input: ["text"],
cost: {
- input: 0.09999999999999999,
- output: 0.3,
+ input: 0.04815,
+ output: 0.19305,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 4096,
+ maxTokens: 32000,
} satisfies Model<"openai-completions">,
"qwen/qwen3-30b-a3b-thinking-2507": {
id: "qwen/qwen3-30b-a3b-thinking-2507",
@@ -12988,12 +13263,12 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.13,
- output: 1.56,
+ input: 0.19999999999999998,
+ output: 2.4,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 81920,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-32b": {
@@ -13044,7 +13319,7 @@ export const MODELS = {
cacheRead: 0.09999999999999999,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 262144,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
"qwen/qwen3-coder-30b-a3b-instruct": {
@@ -13061,7 +13336,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 160000,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-coder-flash": {
@@ -13090,7 +13365,7 @@ export const MODELS = {
reasoning: false,
input: ["text"],
cost: {
- input: 0.11,
+ input: 0.12,
output: 0.7999999999999999,
cacheRead: 0.07,
cacheWrite: 0,
@@ -13115,23 +13390,6 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
- "qwen/qwen3-coder:free": {
- id: "qwen/qwen3-coder:free",
- name: "Qwen: Qwen3 Coder 480B A35B (free)",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: false,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 1048576,
- maxTokens: 262000,
- } satisfies Model<"openai-completions">,
"qwen/qwen3-max": {
id: "qwen/qwen3-max",
name: "Qwen: Qwen3 Max",
@@ -13147,7 +13405,7 @@ export const MODELS = {
cacheWrite: 0.975,
},
contextWindow: 262144,
- maxTokens: 32768,
+ maxTokens: 65536,
} satisfies Model<"openai-completions">,
"qwen/qwen3-max-thinking": {
id: "qwen/qwen3-max-thinking",
@@ -13164,7 +13422,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 32768,
+ maxTokens: 65536,
} satisfies Model<"openai-completions">,
"qwen/qwen3-next-80b-a3b-instruct": {
id: "qwen/qwen3-next-80b-a3b-instruct",
@@ -13183,23 +13441,6 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 262144,
} satisfies Model<"openai-completions">,
- "qwen/qwen3-next-80b-a3b-instruct:free": {
- id: "qwen/qwen3-next-80b-a3b-instruct:free",
- name: "Qwen: Qwen3 Next 80B A3B Instruct (free)",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: false,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 262144,
- maxTokens: 4096,
- } satisfies Model<"openai-completions">,
"qwen/qwen3-next-80b-a3b-thinking": {
id: "qwen/qwen3-next-80b-a3b-thinking",
name: "Qwen: Qwen3 Next 80B A3B Thinking",
@@ -13209,8 +13450,8 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.0975,
- output: 0.78,
+ input: 0.15,
+ output: 1.2,
cacheRead: 0,
cacheWrite: 0,
},
@@ -13231,7 +13472,7 @@ export const MODELS = {
cacheRead: 0.09999999999999999,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-235b-a22b-thinking": {
@@ -13243,8 +13484,8 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.26,
- output: 2.6,
+ input: 0.39999999999999997,
+ output: 4,
cacheRead: 0,
cacheWrite: 0,
},
@@ -13277,12 +13518,12 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.13,
- output: 1.56,
+ input: 0.19999999999999998,
+ output: 2.4,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-32b-instruct": {
@@ -13299,7 +13540,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 262144,
+ contextWindow: 131072,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-8b-instruct": {
@@ -13316,7 +13557,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 256000,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-8b-thinking": {
@@ -13328,12 +13569,12 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.117,
- output: 1.365,
+ input: 0.18,
+ output: 2.0999999999999996,
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 256000,
+ contextWindow: 131072,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3.5-122b-a10b": {
@@ -13481,9 +13722,9 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.44999999999999996,
- output: 2.7,
- cacheRead: 0,
+ input: 0.3,
+ output: 2,
+ cacheRead: 0.15,
cacheWrite: 0,
},
contextWindow: 262144,
@@ -13532,10 +13773,10 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 1.04,
- output: 6.24,
+ input: 1.0270000000000001,
+ output: 6.162,
cacheRead: 0,
- cacheWrite: 1.3,
+ cacheWrite: 1.28375,
},
contextWindow: 262144,
maxTokens: 65536,
@@ -13557,6 +13798,23 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
+ "qwen/qwen3.7-flash": {
+ id: "qwen/qwen3.7-flash",
+ name: "Qwen: Qwen3.7 Flash",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0.03,
+ output: 0.13,
+ cacheRead: 0.006,
+ cacheWrite: 0.038000000000000006,
+ },
+ contextWindow: 1000000,
+ maxTokens: 65536,
+ } satisfies Model<"openai-completions">,
"qwen/qwen3.7-max": {
id: "qwen/qwen3.7-max",
name: "Qwen: Qwen3.7 Max",
@@ -13572,7 +13830,7 @@ export const MODELS = {
cacheWrite: 1.84375,
},
contextWindow: 1000000,
- maxTokens: 65536,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
"qwen/qwen3.7-plus": {
id: "qwen/qwen3.7-plus",
@@ -13589,7 +13847,7 @@ export const MODELS = {
cacheWrite: 0.39999999999999997,
},
contextWindow: 1000000,
- maxTokens: 65536,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
"rekaai/reka-edge": {
id: "rekaai/reka-edge",
@@ -13690,7 +13948,7 @@ export const MODELS = {
cacheRead: 0.04,
cacheWrite: 0,
},
- contextWindow: 256000,
+ contextWindow: 262144,
maxTokens: 256000,
} satisfies Model<"openai-completions">,
"tencent/hy3": {
@@ -13702,13 +13960,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.19999999999999998,
- output: 0.7999999999999999,
- cacheRead: 0.049999999999999996,
+ input: 0.13199999999999998,
+ output: 0.5279999999999999,
+ cacheRead: 0.032999999999999995,
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 131072,
+ maxTokens: 128000,
} satisfies Model<"openai-completions">,
"tencent/hy3-preview": {
id: "tencent/hy3-preview",
@@ -13727,23 +13985,6 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 4096,
} satisfies Model<"openai-completions">,
- "tencent/hy3:free": {
- id: "tencent/hy3:free",
- name: "Tencent: Hy3 (free)",
- api: "openai-completions",
- provider: "openrouter",
- baseUrl: "https://openrouter.ai/api/v1",
- reasoning: true,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 262144,
- maxTokens: 262144,
- } satisfies Model<"openai-completions">,
"thedrummer/unslopnemo-12b": {
id: "thedrummer/unslopnemo-12b",
name: "TheDrummer: UnslopNemo 12B",
@@ -13758,9 +13999,26 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 32768,
+ contextWindow: 1024000,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
+ "thinkingmachines/inkling": {
+ id: "thinkingmachines/inkling",
+ name: "Thinking Machines: Inkling",
+ api: "openai-completions",
+ provider: "openrouter",
+ baseUrl: "https://openrouter.ai/api/v1",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 1,
+ output: 4.05,
+ cacheRead: 0.16999999999999998,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 4096,
+ } satisfies Model<"openai-completions">,
"upstage/solar-pro-3": {
id: "upstage/solar-pro-3",
name: "Upstage: Solar Pro 3",
@@ -13823,7 +14081,7 @@ export const MODELS = {
cost: {
input: 2,
output: 6,
- cacheRead: 0.5,
+ cacheRead: 0.3,
cacheWrite: 0,
},
contextWindow: 500000,
@@ -13860,7 +14118,7 @@ export const MODELS = {
cacheRead: 0.0028,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 1050000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"xiaomi/mimo-v2.5-pro": {
@@ -13877,7 +14135,7 @@ export const MODELS = {
cacheRead: 0.0036,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 1050000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.5": {
@@ -13945,7 +14203,7 @@ export const MODELS = {
cacheRead: 0.09999999999999999,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.6v": {
@@ -13979,7 +14237,7 @@ export const MODELS = {
cacheRead: 0.08,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.7-flash": {
@@ -13991,13 +14249,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.060500000000000005,
+ input: 0.06,
output: 0.39999999999999997,
- cacheRead: 0,
+ cacheRead: 0.01,
cacheWrite: 0,
},
- contextWindow: 200000,
- maxTokens: 131072,
+ contextWindow: 202752,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"z-ai/glm-5": {
id: "z-ai/glm-5",
@@ -14013,8 +14271,8 @@ export const MODELS = {
cacheRead: 0.119,
cacheWrite: 0,
},
- contextWindow: 202752,
- maxTokens: 202752,
+ contextWindow: 204800,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-5-turbo": {
id: "z-ai/glm-5-turbo",
@@ -14047,7 +14305,7 @@ export const MODELS = {
cacheRead: 0.1794,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
"z-ai/glm-5.2": {
@@ -14059,13 +14317,13 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.9281999999999999,
- output: 2.9172000000000002,
- cacheRead: 0.17238,
+ input: 1.12,
+ output: 3.52,
+ cacheRead: 0.20800000000000002,
cacheWrite: 0,
},
contextWindow: 1048576,
- maxTokens: 131072,
+ maxTokens: 128000,
} satisfies Model<"openai-completions">,
"z-ai/glm-5v-turbo": {
id: "z-ai/glm-5v-turbo",
@@ -14162,7 +14420,7 @@ export const MODELS = {
input: ["text", "image"],
cost: {
input: 1.5,
- output: 9,
+ output: 7.5,
cacheRead: 0.15,
cacheWrite: 0.08333333333333334,
},
@@ -14195,13 +14453,13 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 3,
- output: 15,
- cacheRead: 0.3,
+ input: 2.9000000000000004,
+ output: 14,
+ cacheRead: 0.29,
cacheWrite: 0,
},
contextWindow: 1048576,
- maxTokens: 4096,
+ maxTokens: 1048576,
} satisfies Model<"openai-completions">,
"~openai/gpt-latest": {
id: "~openai/gpt-latest",
@@ -14248,7 +14506,7 @@ export const MODELS = {
cost: {
input: 2,
output: 6,
- cacheRead: 0.5,
+ cacheRead: 0.3,
cacheWrite: 0,
},
contextWindow: 500000,
@@ -14391,6 +14649,25 @@ export const MODELS = {
maxTokens: 128000,
featured: true,
} satisfies Model<"openai-completions">,
+ "anthropic/claude-opus-5": {
+ id: "anthropic/claude-opus-5",
+ name: "Claude Opus 5",
+ api: "openai-completions",
+ provider: "prime-inference",
+ baseUrl: "https://api.pinference.ai/api/v1",
+ compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"openai-completions">,
"anthropic/claude-sonnet-4": {
id: "anthropic/claude-sonnet-4",
name: "Claude Sonnet 4",
@@ -14403,7 +14680,7 @@ export const MODELS = {
cost: {
input: 3,
output: 15,
- cacheRead: 0.3,
+ cacheRead: 0.30000000000000004,
cacheWrite: 3.75,
},
contextWindow: 200000,
@@ -14421,7 +14698,7 @@ export const MODELS = {
cost: {
input: 3,
output: 15,
- cacheRead: 0.3,
+ cacheRead: 0.30000000000000004,
cacheWrite: 3.75,
},
contextWindow: 200000,
@@ -14441,7 +14718,7 @@ export const MODELS = {
cost: {
input: 3,
output: 15,
- cacheRead: 0.3,
+ cacheRead: 0.30000000000000004,
cacheWrite: 3.75,
},
contextWindow: 1000000,
@@ -14468,24 +14745,6 @@ export const MODELS = {
maxTokens: 128000,
featured: true,
} satisfies Model<"openai-completions">,
- "arcee-ai/trinity-mini": {
- id: "arcee-ai/trinity-mini",
- name: "Trinity Mini",
- api: "openai-completions",
- provider: "prime-inference",
- baseUrl: "https://api.pinference.ai/api/v1",
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
- reasoning: false,
- input: ["text"],
- cost: {
- input: 0.045,
- output: 0.15,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 8192,
- } satisfies Model<"openai-completions">,
"deepseek/deepseek-chat": {
id: "deepseek/deepseek-chat",
name: "Deepseek Chat",
@@ -14501,7 +14760,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 163840,
maxTokens: 16000,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-chat-v3-0324": {
@@ -14555,7 +14814,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 163840,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-v3.2": {
@@ -14612,7 +14871,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 1048576,
- maxTokens: 8192,
+ maxTokens: 393216,
featured: true,
} satisfies Model<"openai-completions">,
"deepseek/deepseek-v4-pro": {
@@ -14743,6 +15002,24 @@ export const MODELS = {
contextWindow: 1048576,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
+ "google/gemini-3.6-flash": {
+ id: "google/gemini-3.6-flash",
+ name: "Gemini 3.6 Flash",
+ api: "openai-completions",
+ provider: "prime-inference",
+ baseUrl: "https://api.pinference.ai/api/v1",
+ compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 1.5,
+ output: 7.5,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 1048576,
+ maxTokens: 65536,
+ } satisfies Model<"openai-completions">,
"google/gemma-3-27b-it": {
id: "google/gemma-3-27b-it",
name: "Gemma 3 27B IT",
@@ -14758,8 +15035,8 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
- maxTokens: 8192,
+ contextWindow: 262144,
+ maxTokens: 131072,
} satisfies Model<"openai-completions">,
"meta-llama/Llama-3.2-1B-Instruct": {
id: "meta-llama/Llama-3.2-1B-Instruct",
@@ -14771,8 +15048,8 @@ export const MODELS = {
reasoning: false,
input: ["text"],
cost: {
- input: 0.027,
- output: 0.2,
+ input: 0.03,
+ output: 0.21,
cacheRead: 0,
cacheWrite: 0,
},
@@ -14975,8 +15252,8 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
- maxTokens: 8192,
+ contextWindow: 256000,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"mistralai/mixtral-8x22b-instruct": {
id: "mistralai/mixtral-8x22b-instruct",
@@ -15048,7 +15325,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 8192,
+ maxTokens: 262144,
} satisfies Model<"openai-completions">,
"moonshotai/kimi-k2.7-code": {
id: "moonshotai/kimi-k2.7-code",
@@ -15123,7 +15400,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 228000,
+ maxTokens: 262144,
featured: true,
} satisfies Model<"openai-completions">,
"nvidia/nemotron-3-super-120b-a12b": {
@@ -15253,42 +15530,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
- "openai/gpt-5-chat": {
- id: "openai/gpt-5-chat",
- name: "GPT 5 Chat",
- api: "openai-completions",
- provider: "prime-inference",
- baseUrl: "https://api.pinference.ai/api/v1",
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
- reasoning: false,
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 16384,
- } satisfies Model<"openai-completions">,
- "openai/gpt-5-codex": {
- id: "openai/gpt-5-codex",
- name: "GPT 5 Codex",
- api: "openai-completions",
- provider: "prime-inference",
- baseUrl: "https://api.pinference.ai/api/v1",
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
- reasoning: true,
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 400000,
- maxTokens: 128000,
- } satisfies Model<"openai-completions">,
"openai/gpt-5-mini": {
id: "openai/gpt-5-mini",
name: "GPT 5 Mini",
@@ -15688,24 +15929,6 @@ export const MODELS = {
contextWindow: 131072,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
- "poolside/laguna-m.1": {
- id: "poolside/laguna-m.1",
- name: "Laguna M.1",
- api: "openai-completions",
- provider: "prime-inference",
- baseUrl: "https://api.pinference.ai/api/v1",
- compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
- reasoning: true,
- input: ["text"],
- cost: {
- input: 0,
- output: 0,
- cacheRead: 0,
- cacheWrite: 0,
- },
- contextWindow: 262144,
- maxTokens: 32768,
- } satisfies Model<"openai-completions">,
"qwen/qwen3-235b-a22b-2507": {
id: "qwen/qwen3-235b-a22b-2507",
name: "QWEN3 235B A22B 2507",
@@ -15740,7 +15963,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 8192,
+ maxTokens: 32000,
featured: true,
} satisfies Model<"openai-completions">,
"qwen/qwen3-8b": {
@@ -15776,7 +15999,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 262144,
maxTokens: 65536,
} satisfies Model<"openai-completions">,
"qwen/qwen3-coder-next": {
@@ -15814,7 +16037,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 262144,
- maxTokens: 32768,
+ maxTokens: 65536,
featured: true,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-235b-a22b-instruct": {
@@ -15832,7 +16055,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 131072,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3-vl-235b-a22b-thinking": {
@@ -15845,8 +16068,8 @@ export const MODELS = {
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.784,
- output: 3.16,
+ input: 1,
+ output: 4,
cacheRead: 0,
cacheWrite: 0,
},
@@ -15887,7 +16110,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 256000,
+ contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"openai-completions">,
"qwen/qwen3.5-35b-a3b": {
@@ -15962,6 +16185,24 @@ export const MODELS = {
contextWindow: 262144,
maxTokens: 262144,
} satisfies Model<"openai-completions">,
+ "qwen/qwen3.7-flash": {
+ id: "qwen/qwen3.7-flash",
+ name: "QWEN3.7 Flash",
+ api: "openai-completions",
+ provider: "prime-inference",
+ baseUrl: "https://api.pinference.ai/api/v1",
+ compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false},
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0.03,
+ output: 0.13,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 1000000,
+ maxTokens: 65536,
+ } satisfies Model<"openai-completions">,
"x-ai/grok-4.20": {
id: "x-ai/grok-4.20",
name: "Grok 4.20",
@@ -16015,7 +16256,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 1050000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"xiaomi/mimo-v2.5-pro": {
@@ -16033,7 +16274,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 1048576,
+ contextWindow: 1050000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.5": {
@@ -16087,7 +16328,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.7": {
@@ -16105,7 +16346,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-4.7-flash": {
@@ -16123,8 +16364,8 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 200000,
- maxTokens: 131072,
+ contextWindow: 202752,
+ maxTokens: 16384,
} satisfies Model<"openai-completions">,
"z-ai/glm-5": {
id: "z-ai/glm-5",
@@ -16141,7 +16382,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 131072,
featured: true,
} satisfies Model<"openai-completions">,
@@ -16160,7 +16401,7 @@ export const MODELS = {
cacheRead: 0,
cacheWrite: 0,
},
- contextWindow: 202752,
+ contextWindow: 204800,
maxTokens: 128000,
featured: true,
} satisfies Model<"openai-completions">,
@@ -16180,7 +16421,7 @@ export const MODELS = {
cacheWrite: 0,
},
contextWindow: 1048576,
- maxTokens: 131072,
+ maxTokens: 128000,
featured: true,
} satisfies Model<"openai-completions">,
},
@@ -16559,6 +16800,23 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 64000,
} satisfies Model<"anthropic-messages">,
+ "alibaba/qwen3.7-flash": {
+ id: "alibaba/qwen3.7-flash",
+ name: "Qwen 3.7 Flash",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0.03,
+ output: 0.13,
+ cacheRead: 0.006,
+ cacheWrite: 0.038000000000000006,
+ },
+ contextWindow: 991000,
+ maxTokens: 64000,
+ } satisfies Model<"anthropic-messages">,
"alibaba/qwen3.7-max": {
id: "alibaba/qwen3.7-max",
name: "Qwen 3.7 Max",
@@ -16568,10 +16826,10 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 1.25,
- output: 3.75,
- cacheRead: 0.25,
- cacheWrite: 1.5625,
+ input: 2.5,
+ output: 7.5,
+ cacheRead: 0.5,
+ cacheWrite: 3.125,
},
contextWindow: 991000,
maxTokens: 64000,
@@ -16800,9 +17058,9 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "anthropic/claude-opus-4.7-fast": {
- id: "anthropic/claude-opus-4.7-fast",
- name: "Claude Opus 4.7 (Fast)",
+ "anthropic/claude-opus-4.8": {
+ id: "anthropic/claude-opus-4.8",
+ name: "Claude Opus 4.8",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
@@ -16810,17 +17068,35 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
- input: 30,
- output: 150,
- cacheRead: 3,
- cacheWrite: 37.5,
+ input: 5,
+ output: 25,
+ cacheRead: 0.5,
+ cacheWrite: 6.25,
},
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "anthropic/claude-opus-4.8": {
- id: "anthropic/claude-opus-4.8",
- name: "Claude Opus 4.8",
+ "anthropic/claude-opus-4.8-fast": {
+ id: "anthropic/claude-opus-4.8-fast",
+ name: "Claude Opus 4.8 (Fast)",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ thinkingLevelMap: {"xhigh":"xhigh","max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 10,
+ output: 50,
+ cacheRead: 1,
+ cacheWrite: 12.5,
+ },
+ contextWindow: 1000000,
+ maxTokens: 128000,
+ } satisfies Model<"anthropic-messages">,
+ "anthropic/claude-opus-5": {
+ id: "anthropic/claude-opus-5",
+ name: "Claude Opus 5",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
@@ -16836,9 +17112,9 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "anthropic/claude-opus-4.8-fast": {
- id: "anthropic/claude-opus-4.8-fast",
- name: "Claude Opus 4.8 (Fast)",
+ "anthropic/claude-opus-5-fast": {
+ id: "anthropic/claude-opus-5-fast",
+ name: "Claude Opus 5 (Fast)",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
@@ -17120,8 +17396,8 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.14,
- output: 0.28,
+ input: 0.13799999999999998,
+ output: 0.275,
cacheRead: 0.028,
cacheWrite: 0,
},
@@ -17213,77 +17489,77 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 65000,
} satisfies Model<"anthropic-messages">,
- "google/gemini-3-pro-preview": {
- id: "google/gemini-3-pro-preview",
- name: "Gemini 3 Pro Preview",
+ "google/gemini-3.1-flash-lite": {
+ id: "google/gemini-3.1-flash-lite",
+ name: "Gemini 3.1 Flash Lite",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
reasoning: true,
input: ["text", "image"],
cost: {
- input: 2,
- output: 12,
- cacheRead: 0.19999999999999998,
+ input: 0.25,
+ output: 1.5,
+ cacheRead: 0.03,
cacheWrite: 0,
},
contextWindow: 1000000,
- maxTokens: 64000,
+ maxTokens: 65000,
} satisfies Model<"anthropic-messages">,
- "google/gemini-3.1-flash-lite": {
- id: "google/gemini-3.1-flash-lite",
- name: "Gemini 3.1 Flash Lite",
+ "google/gemini-3.1-pro-preview": {
+ id: "google/gemini-3.1-pro-preview",
+ name: "Gemini 3.1 Pro Preview",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.25,
- output: 1.5,
- cacheRead: 0.03,
+ input: 2,
+ output: 12,
+ cacheRead: 0.19999999999999998,
cacheWrite: 0,
},
contextWindow: 1000000,
- maxTokens: 65000,
+ maxTokens: 64000,
} satisfies Model<"anthropic-messages">,
- "google/gemini-3.1-flash-lite-preview": {
- id: "google/gemini-3.1-flash-lite-preview",
- name: "Gemini 3.1 Flash Lite Preview",
+ "google/gemini-3.5-flash": {
+ id: "google/gemini-3.5-flash",
+ name: "Gemini 3.5 Flash",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
reasoning: true,
input: ["text", "image"],
cost: {
- input: 0.25,
- output: 1.5,
- cacheRead: 0.03,
+ input: 1.5,
+ output: 9,
+ cacheRead: 0.15,
cacheWrite: 0,
},
contextWindow: 1000000,
- maxTokens: 65000,
+ maxTokens: 64000,
} satisfies Model<"anthropic-messages">,
- "google/gemini-3.1-pro-preview": {
- id: "google/gemini-3.1-pro-preview",
- name: "Gemini 3.1 Pro Preview",
+ "google/gemini-3.5-flash-lite": {
+ id: "google/gemini-3.5-flash-lite",
+ name: "Gemini 3.5 Flash Lite",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
reasoning: true,
input: ["text", "image"],
cost: {
- input: 2,
- output: 12,
- cacheRead: 0.19999999999999998,
+ input: 0.3,
+ output: 2.5,
+ cacheRead: 0.03,
cacheWrite: 0,
},
contextWindow: 1000000,
- maxTokens: 64000,
+ maxTokens: 65000,
} satisfies Model<"anthropic-messages">,
- "google/gemini-3.5-flash": {
- id: "google/gemini-3.5-flash",
- name: "Gemini 3.5 Flash",
+ "google/gemini-3.6-flash": {
+ id: "google/gemini-3.6-flash",
+ name: "Gemini 3.6 Flash",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
@@ -17291,7 +17567,7 @@ export const MODELS = {
input: ["text", "image"],
cost: {
input: 1.5,
- output: 9,
+ output: 7.5,
cacheRead: 0.15,
cacheWrite: 0,
},
@@ -17366,6 +17642,23 @@ export const MODELS = {
contextWindow: 32000,
maxTokens: 16384,
} satisfies Model<"anthropic-messages">,
+ "inclusionai/ling-3.0-flash-free": {
+ id: "inclusionai/ling-3.0-flash-free",
+ name: "Ling 3.0 Flash",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 256000,
+ maxTokens: 256000,
+ } satisfies Model<"anthropic-messages">,
"interfaze/interfaze-beta": {
id: "interfaze/interfaze-beta",
name: "Interfaze Beta",
@@ -17640,7 +17933,7 @@ export const MODELS = {
} satisfies Model<"anthropic-messages">,
"minimax/minimax-m2.7": {
id: "minimax/minimax-m2.7",
- name: "MiniMax M2.7",
+ name: "Minimax M2.7",
api: "anthropic-messages",
provider: "vercel-ai-gateway",
baseUrl: "https://ai-gateway.vercel.sh",
@@ -18047,6 +18340,24 @@ export const MODELS = {
contextWindow: 1000000,
maxTokens: 131072,
} satisfies Model<"anthropic-messages">,
+ "moonshotai/kimi-k3-fast": {
+ id: "moonshotai/kimi-k3-fast",
+ name: "Kimi K3 Fast",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":null,"xhigh":null,"max":"max"},
+ input: ["text", "image"],
+ cost: {
+ input: 4.5,
+ output: 22.5,
+ cacheRead: 0.44999999999999996,
+ cacheWrite: 0,
+ },
+ contextWindow: 1000000,
+ maxTokens: 131072,
+ } satisfies Model<"anthropic-messages">,
"nvidia/nemotron-3-nano-30b-a3b": {
id: "nvidia/nemotron-3-nano-30b-a3b",
name: "Nemotron 3 Nano 30B A3B",
@@ -18268,23 +18579,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "openai/gpt-5-chat": {
- id: "openai/gpt-5-chat",
- name: "GPT 5 Chat",
- api: "anthropic-messages",
- provider: "vercel-ai-gateway",
- baseUrl: "https://ai-gateway.vercel.sh",
- reasoning: false,
- input: ["text", "image"],
- cost: {
- input: 1.25,
- output: 10,
- cacheRead: 0.125,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 16384,
- } satisfies Model<"anthropic-messages">,
"openai/gpt-5-codex": {
id: "openai/gpt-5-codex",
name: "GPT-5-Codex",
@@ -18296,7 +18590,7 @@ export const MODELS = {
cost: {
input: 1.25,
output: 10,
- cacheRead: 0.125,
+ cacheRead: 0.13,
cacheWrite: 0,
},
contextWindow: 400000,
@@ -18364,7 +18658,7 @@ export const MODELS = {
cost: {
input: 1.25,
output: 10,
- cacheRead: 0.125,
+ cacheRead: 0.13,
cacheWrite: 0,
},
contextWindow: 400000,
@@ -18398,7 +18692,7 @@ export const MODELS = {
cost: {
input: 0.25,
output: 2,
- cacheRead: 0.024999999999999998,
+ cacheRead: 0.03,
cacheWrite: 0,
},
contextWindow: 400000,
@@ -18415,7 +18709,7 @@ export const MODELS = {
cost: {
input: 1.25,
output: 10,
- cacheRead: 0.125,
+ cacheRead: 0.13,
cacheWrite: 0,
},
contextWindow: 128000,
@@ -18456,24 +18750,6 @@ export const MODELS = {
contextWindow: 400000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
- "openai/gpt-5.2-chat": {
- id: "openai/gpt-5.2-chat",
- name: "GPT 5.2 Chat",
- api: "anthropic-messages",
- provider: "vercel-ai-gateway",
- baseUrl: "https://ai-gateway.vercel.sh",
- reasoning: false,
- thinkingLevelMap: {"xhigh":"xhigh"},
- input: ["text", "image"],
- cost: {
- input: 1.75,
- output: 14,
- cacheRead: 0.175,
- cacheWrite: 0,
- },
- contextWindow: 128000,
- maxTokens: 16384,
- } satisfies Model<"anthropic-messages">,
"openai/gpt-5.2-codex": {
id: "openai/gpt-5.2-codex",
name: "GPT 5.2 Codex",
@@ -18664,10 +18940,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 1,
- output: 6,
- cacheRead: 0.09999999999999999,
- cacheWrite: 1.25,
+ input: 0.19999999999999998,
+ output: 1.2,
+ cacheRead: 0.02,
+ cacheWrite: 0.25,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -18700,10 +18976,10 @@ export const MODELS = {
thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},
input: ["text", "image"],
cost: {
- input: 2.5,
- output: 15,
- cacheRead: 0.25,
- cacheWrite: 3.125,
+ input: 2,
+ output: 12,
+ cacheRead: 0.19999999999999998,
+ cacheWrite: 2.5,
},
contextWindow: 1050000,
maxTokens: 128000,
@@ -18861,6 +19137,40 @@ export const MODELS = {
contextWindow: 200000,
maxTokens: 100000,
} satisfies Model<"anthropic-messages">,
+ "poolside/laguna-s-2.1": {
+ id: "poolside/laguna-s-2.1",
+ name: "Laguna S 2.1",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.09999999999999999,
+ output: 0.19999999999999998,
+ cacheRead: 0.01,
+ cacheWrite: 0,
+ },
+ contextWindow: 1000000,
+ maxTokens: 131072,
+ } satisfies Model<"anthropic-messages">,
+ "poolside/laguna-s-2.1-free": {
+ id: "poolside/laguna-s-2.1-free",
+ name: "Laguna S 2.1 Free",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0,
+ output: 0,
+ cacheRead: 0,
+ cacheWrite: 0,
+ },
+ contextWindow: 256000,
+ maxTokens: 32768,
+ } satisfies Model<"anthropic-messages">,
"sakana/fugu-ultra": {
id: "sakana/fugu-ultra",
name: "Fugu Ultra",
@@ -18912,6 +19222,23 @@ export const MODELS = {
contextWindow: 256000,
maxTokens: 256000,
} satisfies Model<"anthropic-messages">,
+ "tencent/hy3": {
+ id: "tencent/hy3",
+ name: "Hy3",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text"],
+ cost: {
+ input: 0.14,
+ output: 0.58,
+ cacheRead: 0.035,
+ cacheWrite: 0,
+ },
+ contextWindow: 262144,
+ maxTokens: 262144,
+ } satisfies Model<"anthropic-messages">,
"thinkingmachines/inkling": {
id: "thinkingmachines/inkling",
name: "Inkling",
@@ -18929,6 +19256,23 @@ export const MODELS = {
contextWindow: 256000,
maxTokens: 256000,
} satisfies Model<"anthropic-messages">,
+ "thinkingmachines/inkling-small": {
+ id: "thinkingmachines/inkling-small",
+ name: "Inkling Small",
+ api: "anthropic-messages",
+ provider: "vercel-ai-gateway",
+ baseUrl: "https://ai-gateway.vercel.sh",
+ reasoning: true,
+ input: ["text", "image"],
+ cost: {
+ input: 0.5,
+ output: 1.2,
+ cacheRead: 0.09999999999999999,
+ cacheWrite: 0,
+ },
+ contextWindow: 1000000,
+ maxTokens: 1000000,
+ } satisfies Model<"anthropic-messages">,
"xai/grok-4.1-fast-non-reasoning": {
id: "xai/grok-4.1-fast-non-reasoning",
name: "Grok 4.1 Fast Non-Reasoning",
@@ -19093,7 +19437,7 @@ export const MODELS = {
cost: {
input: 2,
output: 6,
- cacheRead: 0.5,
+ cacheRead: 0.3,
cacheWrite: 0,
},
contextWindow: 500000,
@@ -19312,9 +19656,9 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 0.95,
- output: 3.15,
- cacheRead: 0.19999999999999998,
+ input: 1,
+ output: 3.1999999999999997,
+ cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 202800,
@@ -19346,8 +19690,8 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 1.3,
- output: 4.300000000000001,
+ input: 1.4,
+ output: 4.4,
cacheRead: 0.26,
cacheWrite: 0,
},
@@ -19363,12 +19707,12 @@ export const MODELS = {
reasoning: true,
input: ["text"],
cost: {
- input: 1.4,
- output: 4.4,
- cacheRead: 0.26,
+ input: 1.1,
+ output: 3.851,
+ cacheRead: 0.275,
cacheWrite: 0,
},
- contextWindow: 1040000,
+ contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"anthropic-messages">,
"zai/glm-5.2-fast": {
@@ -19469,7 +19813,7 @@ export const MODELS = {
cost: {
input: 2,
output: 6,
- cacheRead: 0.5,
+ cacheRead: 0.3,
cacheWrite: 0,
},
contextWindow: 500000,
diff --git a/packages/ai/src/providers/amazon-bedrock.ts b/packages/ai/src/providers/amazon-bedrock.ts
index 49d17c53b5..aa8624f02e 100644
--- a/packages/ai/src/providers/amazon-bedrock.ts
+++ b/packages/ai/src/providers/amazon-bedrock.ts
@@ -503,6 +503,7 @@ function supportsAdaptiveThinking(modelId: string, modelName?: string): boolean
s.includes("opus-4-6") ||
s.includes("opus-4-7") ||
s.includes("opus-4-8") ||
+ s.includes("opus-5") ||
s.includes("sonnet-4-6") ||
s.includes("sonnet-5") ||
s.includes("fable-5") ||
diff --git a/packages/ai/src/providers/anthropic.ts b/packages/ai/src/providers/anthropic.ts
index 4dcffb03b6..9e8a8a2d4c 100644
--- a/packages/ai/src/providers/anthropic.ts
+++ b/packages/ai/src/providers/anthropic.ts
@@ -754,6 +754,7 @@ function supportsAdaptiveThinking(modelId: string): boolean {
return (
modelId.includes("opus-4-6") ||
modelId.includes("opus-4.6") ||
+ modelId.includes("opus-5") ||
modelId.includes("opus-4-7") ||
modelId.includes("opus-4.7") ||
modelId.includes("opus-4-8") ||
diff --git a/packages/ai/test/prime-inference-models.test.ts b/packages/ai/test/prime-inference-models.test.ts
index 3d7c75838f..81845a382b 100644
--- a/packages/ai/test/prime-inference-models.test.ts
+++ b/packages/ai/test/prime-inference-models.test.ts
@@ -24,6 +24,7 @@ describe("Prime Inference models", () => {
expect.arrayContaining([
"anthropic/claude-opus-4.7",
"anthropic/claude-opus-4.8",
+ "anthropic/claude-opus-5",
"anthropic/claude-sonnet-5",
"deepseek/deepseek-v4-pro",
"google/gemini-2.5-pro",
@@ -34,7 +35,6 @@ describe("Prime Inference models", () => {
"nvidia/nemotron-3-super-120b-a12b",
"openai/gpt-5.4",
"openai/gpt-5.5",
- "poolside/laguna-m.1",
"qwen/qwen3-coder-next",
"qwen/qwen3-vl-235b-a22b-thinking",
"x-ai/grok-4.20",