A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
chore(ai): refresh the generated model catalog from live provider catalogs (#1445)
Sebastian Müller2c34b82f86dd
diff --git a/packages/ai/src/models.generated.ts b/packages/ai/src/models.generated.tsindex aef5451787..9e95310f29 100644--- a/packages/ai/src/models.generated.ts+++ b/packages/ai/src/models.generated.ts@@ -1396,7 +1396,7 @@ export const MODELS = {cacheRead: 0.022,cacheWrite: 0.275,},- contextWindow: 272000,+ contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"bedrock-converse-stream">,"openai.gpt-5.6-sol": {@@ -1412,9 +1412,9 @@ export const MODELS = {input: 5.5,output: 33,cacheRead: 0.55,- cacheWrite: 6.88,+ cacheWrite: 6.875,},- contextWindow: 272000,+ contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"bedrock-converse-stream">,"openai.gpt-5.6-terra": {@@ -1432,7 +1432,7 @@ export const MODELS = {cacheRead: 0.22,cacheWrite: 2.75,},- contextWindow: 272000,+ contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"bedrock-converse-stream">,"openai.gpt-oss-120b": {@@ -2057,40 +2057,6 @@ export const MODELS = {contextWindow: 200000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,- "claude-opus-4-1": {- id: "claude-opus-4-1",- name: "Claude Opus 4.1 (latest)",- api: "anthropic-messages",- provider: "anthropic",- baseUrl: "https://api.anthropic.com",- reasoning: true,- input: ["text", "image"],- cost: {- input: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,- "claude-opus-4-1-20250805": {- id: "claude-opus-4-1-20250805",- name: "Claude Opus 4.1",- api: "anthropic-messages",- provider: "anthropic",- baseUrl: "https://api.anthropic.com",- reasoning: true,- input: ["text", "image"],- cost: {- input: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,"claude-opus-4-5": {id: "claude-opus-4-5",name: "Claude Opus 4.5 (latest)",@@ -3045,108 +3011,6 @@ export const MODELS = {} satisfies Model<"openai-completions">,},"cloudflare-ai-gateway": {- "claude-3-5-haiku": {- id: "claude-3-5-haiku",- name: "Claude Haiku 3.5 (latest)",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 0.8,- output: 4,- cacheRead: 0.08,- cacheWrite: 1,- },- contextWindow: 200000,- maxTokens: 8192,- } satisfies Model<"anthropic-messages">,- "claude-3-haiku": {- id: "claude-3-haiku",- name: "Claude Haiku 3",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 0.25,- output: 1.25,- cacheRead: 0.03,- cacheWrite: 0.3,- },- contextWindow: 200000,- maxTokens: 4096,- } satisfies Model<"anthropic-messages">,- "claude-3-opus": {- id: "claude-3-opus",- name: "Claude Opus 3",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 4096,- } satisfies Model<"anthropic-messages">,- "claude-3-sonnet": {- id: "claude-3-sonnet",- name: "Claude Sonnet 3",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 3,- output: 15,- cacheRead: 0.3,- cacheWrite: 0.3,- },- contextWindow: 200000,- maxTokens: 4096,- } satisfies Model<"anthropic-messages">,- "claude-3.5-haiku": {- id: "claude-3.5-haiku",- name: "Claude Haiku 3.5 (latest)",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 0.8,- output: 4,- cacheRead: 0.08,- cacheWrite: 1,- },- contextWindow: 200000,- maxTokens: 8192,- } satisfies Model<"anthropic-messages">,- "claude-3.5-sonnet": {- id: "claude-3.5-sonnet",- name: "Claude Sonnet 3.5 v2",- api: "anthropic-messages",- provider: "cloudflare-ai-gateway",- baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",- reasoning: false,- input: ["text", "image"],- cost: {- input: 3,- output: 15,- cacheRead: 0.3,- cacheWrite: 3.75,- },- contextWindow: 200000,- maxTokens: 8192,- } satisfies Model<"anthropic-messages">,"claude-fable-5": {id: "claude-fable-5",name: "Claude Fable 5",@@ -3182,40 +3046,6 @@ export const MODELS = {contextWindow: 200000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,- "claude-opus-4": {- id: "claude-opus-4",- name: "Claude Opus 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: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,- "claude-opus-4-1": {- id: "claude-opus-4-1",- name: "Claude Opus 4.1 (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: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,"claude-opus-4-5": {id: "claude-opus-4-5",name: "Claude Opus 4.5 (latest)",@@ -3235,7 +3065,7 @@ export const MODELS = {} satisfies Model<"anthropic-messages">,"claude-opus-4-6": {id: "claude-opus-4-6",- name: "Claude Opus 4.6 (latest)",+ name: "Claude Opus 4.6",api: "anthropic-messages",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",@@ -3305,23 +3135,6 @@ export const MODELS = {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,- },- contextWindow: 200000,- maxTokens: 64000,- } satisfies Model<"anthropic-messages">,"claude-sonnet-4-5": {id: "claude-sonnet-4-5",name: "Claude Sonnet 4.5 (latest)",@@ -3336,7 +3149,7 @@ export const MODELS = {cacheRead: 0.3,cacheWrite: 3.75,},- contextWindow: 200000,+ contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,"claude-sonnet-4-6": {@@ -3355,7 +3168,7 @@ export const MODELS = {cacheWrite: 3.75,},contextWindow: 1000000,- maxTokens: 64000,+ maxTokens: 128000,} satisfies Model<"anthropic-messages">,"claude-sonnet-5": {id: "claude-sonnet-5",@@ -3409,6 +3222,57 @@ export const MODELS = {contextWindow: 128000,maxTokens: 4096,} satisfies Model<"openai-responses">,+ "gpt-4.1": {+ id: "gpt-4.1",+ name: "GPT-4.1",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: false,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 8,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 1047576,+ maxTokens: 32768,+ } satisfies Model<"openai-responses">,+ "gpt-4.1-mini": {+ id: "gpt-4.1-mini",+ name: "GPT-4.1 mini",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: false,+ input: ["text", "image"],+ cost: {+ input: 0.4,+ output: 1.6,+ cacheRead: 0.1,+ cacheWrite: 0,+ },+ contextWindow: 1047576,+ maxTokens: 32768,+ } satisfies Model<"openai-responses">,+ "gpt-4.1-nano": {+ id: "gpt-4.1-nano",+ name: "GPT-4.1 nano",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: false,+ input: ["text", "image"],+ cost: {+ input: 0.1,+ output: 0.4,+ cacheRead: 0.025,+ cacheWrite: 0,+ },+ contextWindow: 1047576,+ maxTokens: 32768,+ } satisfies Model<"openai-responses">,"gpt-4o": {id: "gpt-4o",name: "GPT-4o",@@ -3437,15 +3301,15 @@ export const MODELS = {cost: {input: 0.15,output: 0.6,- cacheRead: 0.08,+ cacheRead: 0.075,cacheWrite: 0,},contextWindow: 128000,maxTokens: 16384,} satisfies Model<"openai-responses">,- "gpt-5.1": {- id: "gpt-5.1",- name: "GPT-5.1",+ "gpt-5": {+ id: "gpt-5",+ name: "GPT-5",api: "openai-responses",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",@@ -3455,15 +3319,15 @@ export const MODELS = {cost: {input: 1.25,output: 10,- cacheRead: 0.13,+ cacheRead: 0.125,cacheWrite: 0,},contextWindow: 400000,maxTokens: 128000,} satisfies Model<"openai-responses">,- "gpt-5.1-codex": {- id: "gpt-5.1-codex",- name: "GPT-5.1 Codex",+ "gpt-5-mini": {+ id: "gpt-5-mini",+ name: "GPT-5 Mini",api: "openai-responses",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",@@ -3471,35 +3335,89 @@ export const MODELS = {thinkingLevelMap: {"off":null},input: ["text", "image"],cost: {- input: 1.25,- output: 10,- cacheRead: 0.125,+ 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",+ "gpt-5-nano": {+ id: "gpt-5-nano",+ name: "GPT-5 Nano",api: "openai-responses",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",reasoning: true,- thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ thinkingLevelMap: {"off":null},input: ["text", "image"],cost: {- input: 1.75,- output: 14,- cacheRead: 0.175,+ input: 0.05,+ output: 0.4,+ cacheRead: 0.005,cacheWrite: 0,},contextWindow: 400000,maxTokens: 128000,} satisfies Model<"openai-responses">,- "gpt-5.2-codex": {- id: "gpt-5.2-codex",- name: "GPT-5.2 Codex",+ "gpt-5-pro": {+ id: "gpt-5-pro",+ name: "GPT-5 Pro",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null},+ input: ["text", "image"],+ cost: {+ input: 15,+ output: 120,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 400000,+ maxTokens: 272000,+ } satisfies Model<"openai-responses">,+ "gpt-5.1": {+ id: "gpt-5.1",+ name: "GPT-5.1",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ 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<"openai-responses">,+ "gpt-5.2": {+ id: "gpt-5.2",+ name: "GPT-5.2",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ 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-chat-latest": {+ id: "gpt-5.2-chat-latest",+ name: "GPT-5.2 Chat",api: "openai-responses",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",@@ -3512,9 +3430,45 @@ export const MODELS = {cacheRead: 0.175,cacheWrite: 0,},+ contextWindow: 128000,+ maxTokens: 16384,+ } satisfies Model<"openai-responses">,+ "gpt-5.2-pro": {+ id: "gpt-5.2-pro",+ name: "GPT-5.2 Pro",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 21,+ output: 168,+ cacheRead: 0,+ cacheWrite: 0,+ },contextWindow: 400000,maxTokens: 128000,} satisfies Model<"openai-responses">,+ "gpt-5.3-chat-latest": {+ id: "gpt-5.3-chat-latest",+ name: "GPT-5.3 Chat (latest)",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: false,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 1.75,+ output: 14,+ cacheRead: 0.175,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 16384,+ } satisfies Model<"openai-responses">,"gpt-5.3-codex": {id: "gpt-5.3-codex",name: "GPT-5.3 Codex",@@ -3533,6 +3487,24 @@ export const MODELS = {contextWindow: 400000,maxTokens: 128000,} satisfies Model<"openai-responses">,+ "gpt-5.3-codex-spark": {+ id: "gpt-5.3-codex-spark",+ name: "GPT-5.3 Codex Spark",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 1.75,+ output: 14,+ cacheRead: 0.175,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 32000,+ } satisfies Model<"openai-responses">,"gpt-5.4": {id: "gpt-5.4",name: "GPT-5.4",@@ -3551,6 +3523,60 @@ export const MODELS = {contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"openai-responses">,+ "gpt-5.4-mini": {+ id: "gpt-5.4-mini",+ name: "GPT-5.4 mini",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 0.75,+ output: 4.5,+ cacheRead: 0.075,+ cacheWrite: 0,+ },+ contextWindow: 400000,+ maxTokens: 128000,+ } satisfies Model<"openai-responses">,+ "gpt-5.4-nano": {+ id: "gpt-5.4-nano",+ name: "GPT-5.4 nano",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 0.2,+ output: 1.25,+ cacheRead: 0.02,+ cacheWrite: 0,+ },+ contextWindow: 400000,+ maxTokens: 128000,+ } satisfies Model<"openai-responses">,+ "gpt-5.4-pro": {+ id: "gpt-5.4-pro",+ name: "GPT-5.4 Pro",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 30,+ output: 180,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1050000,+ maxTokens: 128000,+ } satisfies Model<"openai-responses">,"gpt-5.5": {id: "gpt-5.5",name: "GPT-5.5",@@ -3569,6 +3595,42 @@ export const MODELS = {contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"openai-responses">,+ "gpt-5.5-pro": {+ id: "gpt-5.5-pro",+ name: "GPT-5.5 Pro",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh"},+ input: ["text", "image"],+ cost: {+ input: 30,+ output: 180,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1050000,+ maxTokens: 128000,+ } satisfies Model<"openai-responses">,+ "gpt-5.6": {+ id: "gpt-5.6",+ name: "GPT-5.6",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},+ input: ["text", "image"],+ cost: {+ input: 5,+ output: 30,+ cacheRead: 0.5,+ cacheWrite: 6.25,+ },+ contextWindow: 1050000,+ maxTokens: 128000,+ } satisfies Model<"openai-responses">,"gpt-5.6-luna": {id: "gpt-5.6-luna",name: "GPT-5.6 Luna",@@ -3579,10 +3641,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: 0,+ input: 0.2,+ output: 1.2,+ cacheRead: 0.02,+ cacheWrite: 0.25,},contextWindow: 1050000,maxTokens: 128000,@@ -3600,7 +3662,7 @@ export const MODELS = {input: 5,output: 30,cacheRead: 0.5,- cacheWrite: 0,+ cacheWrite: 6.25,},contextWindow: 1050000,maxTokens: 128000,@@ -3615,10 +3677,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: 0,+ input: 2,+ output: 12,+ cacheRead: 0.2,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -3640,6 +3702,23 @@ export const MODELS = {contextWindow: 200000,maxTokens: 100000,} satisfies Model<"openai-responses">,+ "o1-pro": {+ id: "o1-pro",+ name: "o1-pro",+ api: "openai-responses",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 150,+ output: 600,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 200000,+ maxTokens: 100000,+ } satisfies Model<"openai-responses">,"o3": {id: "o3",name: "o3",@@ -3702,15 +3781,15 @@ export const MODELS = {cost: {input: 1.1,output: 4.4,- cacheRead: 0.28,+ cacheRead: 0.275,cacheWrite: 0,},contextWindow: 200000,maxTokens: 100000,} satisfies Model<"openai-responses">,- "workers-ai/@cf/moonshotai/kimi-k2.5": {- id: "workers-ai/@cf/moonshotai/kimi-k2.5",- name: "Kimi K2.5",+ "workers-ai/@cf/google/gemma-4-26b-a4b-it": {+ id: "workers-ai/@cf/google/gemma-4-26b-a4b-it",+ name: "Gemma 4 26B A4B IT",api: "openai-completions",provider: "cloudflare-ai-gateway",baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",@@ -3718,13 +3797,85 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 0.6,- output: 3,- cacheRead: 0.1,+ input: 0.1,+ output: 0.3,+ cacheRead: 0,cacheWrite: 0,},contextWindow: 256000,- maxTokens: 256000,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/ibm-granite/granite-4.0-h-micro": {+ id: "workers-ai/@cf/ibm-granite/granite-4.0-h-micro",+ name: "Granite 4.0 H Micro",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.017,+ output: 0.112,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 131000,+ maxTokens: 131000,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast": {+ id: "workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast",+ name: "Llama 3.3 70B Instruct fp8 Fast",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.293,+ output: 2.253,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 24000,+ maxTokens: 24000,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": {+ id: "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct",+ name: "Llama 4 Scout 17B 16E Instruct",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: false,+ input: ["text", "image"],+ cost: {+ input: 0.27,+ output: 0.85,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 131000,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": {+ id: "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct",+ name: "Mistral Small 3.1 24B Instruct",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.351,+ output: 0.555,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 128000,} satisfies Model<"openai-completions">,"workers-ai/@cf/moonshotai/kimi-k2.6": {id: "workers-ai/@cf/moonshotai/kimi-k2.6",@@ -3741,9 +3892,27 @@ export const MODELS = {cacheRead: 0.16,cacheWrite: 0,},- contextWindow: 256000,+ contextWindow: 262144,maxTokens: 256000,} satisfies Model<"openai-completions">,+ "workers-ai/@cf/moonshotai/kimi-k2.7-code": {+ id: "workers-ai/@cf/moonshotai/kimi-k2.7-code",+ name: "Kimi K2.7 Code",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.95,+ output: 4,+ cacheRead: 0.19,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,"workers-ai/@cf/nvidia/nemotron-3-120b-a12b": {id: "workers-ai/@cf/nvidia/nemotron-3-120b-a12b",name: "Nemotron 3 Super 120B",@@ -3762,6 +3931,60 @@ export const MODELS = {contextWindow: 256000,maxTokens: 256000,} satisfies Model<"openai-completions">,+ "workers-ai/@cf/openai/gpt-oss-120b": {+ id: "workers-ai/@cf/openai/gpt-oss-120b",+ name: "GPT OSS 120B",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.35,+ output: 0.75,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/openai/gpt-oss-20b": {+ id: "workers-ai/@cf/openai/gpt-oss-20b",+ name: "GPT OSS 20B",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.2,+ output: 0.3,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,+ "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8": {+ id: "workers-ai/@cf/qwen/qwen3-30b-a3b-fp8",+ name: "Qwen3 30B A3b fp8",+ api: "openai-completions",+ provider: "cloudflare-ai-gateway",+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",+ compat: {"sendSessionAffinityHeaders":true},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.0509,+ output: 0.335,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 32768,+ maxTokens: 32768,+ } satisfies Model<"openai-completions">,"workers-ai/@cf/zai-org/glm-4.7-flash": {id: "workers-ai/@cf/zai-org/glm-4.7-flash",name: "GLM-4.7-Flash",@@ -3772,7 +3995,7 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0.06,+ input: 0.0605,output: 0.4,cacheRead: 0,cacheWrite: 0,@@ -3796,10 +4019,48 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 262144,- maxTokens: 262144,+ maxTokens: 256000,} satisfies Model<"openai-completions">,},"cloudflare-workers-ai": {+ "@cf/deepseek-ai/deepseek-v4-flash-0731": {+ id: "@cf/deepseek-ai/deepseek-v4-flash-0731",+ name: "DeepSeek V4 Flash 0731",+ api: "openai-completions",+ provider: "cloudflare-workers-ai",+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",+ compat: {"sendSessionAffinityHeaders":true,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},+ input: ["text"],+ cost: {+ input: 0.44,+ output: 1.32,+ cacheRead: 0.014,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 1048576,+ } satisfies Model<"openai-completions">,+ "@cf/deepseek-ai/deepseek-v4-pro-0813": {+ id: "@cf/deepseek-ai/deepseek-v4-pro-0813",+ name: "DeepSeek V4 Pro 0813",+ api: "openai-completions",+ provider: "cloudflare-workers-ai",+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",+ compat: {"sendSessionAffinityHeaders":true,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},+ input: ["text"],+ cost: {+ input: 1.32,+ output: 3.96,+ cacheRead: 0.044,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 1048576,+ } satisfies Model<"openai-completions">,"@cf/google/gemma-4-26b-a4b-it": {id: "@cf/google/gemma-4-26b-a4b-it",name: "Gemma 4 26B A4B IT",@@ -4032,7 +4293,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 262144,- maxTokens: 262144,+ maxTokens: 256000,} satisfies Model<"openai-completions">,},"deepseek": {@@ -4044,7 +4305,7 @@ export const MODELS = {baseUrl: "https://api.deepseek.com",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0.14,@@ -4063,7 +4324,7 @@ export const MODELS = {baseUrl: "https://api.deepseek.com",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0.435,@@ -4127,6 +4388,23 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 384000,} satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/deepseek-v4-pro-0813": {+ id: "accounts/fireworks/models/deepseek-v4-pro-0813",+ name: "DeepSeek V4 Pro 0813",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 1.32,+ output: 3.96,+ cacheRead: 0.044,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 384000,+ } satisfies Model<"anthropic-messages">,"accounts/fireworks/models/glm-5p2": {id: "accounts/fireworks/models/glm-5p2",name: "GLM 5.2",@@ -4178,6 +4456,23 @@ export const MODELS = {contextWindow: 131072,maxTokens: 32768,} satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/inkling": {+ id: "accounts/fireworks/models/inkling",+ name: "Inkling",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 1,+ output: 4.05,+ cacheRead: 0.17,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 1048576,+ } satisfies Model<"anthropic-messages">,"accounts/fireworks/models/kimi-k2p6": {id: "accounts/fireworks/models/kimi-k2p6",name: "Kimi K2.6",@@ -4264,6 +4559,57 @@ export const MODELS = {contextWindow: 512000,maxTokens: 512000,} satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/muse-glimmer-30b": {+ id: "accounts/fireworks/models/muse-glimmer-30b",+ name: "Muse Glimmer 30B",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.35,+ output: 1.5,+ cacheRead: 0.04,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 131072,+ } satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/nemotron-3-ultra-nvfp4": {+ id: "accounts/fireworks/models/nemotron-3-ultra-nvfp4",+ name: "Nemotron 3 Ultra 550B A55B",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.6,+ output: 2.4,+ cacheRead: 0.119,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 128000,+ } satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b": {+ id: "accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b",+ name: "Nemotron 3.5 Lightning 30B A3B",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.05,+ output: 0.2,+ cacheRead: 0.01,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 262144,+ } satisfies Model<"anthropic-messages">,"accounts/fireworks/models/qwen3p7-plus": {id: "accounts/fireworks/models/qwen3p7-plus",name: "Qwen 3.7 Plus",@@ -4281,6 +4627,23 @@ export const MODELS = {contextWindow: 262144,maxTokens: 65536,} satisfies Model<"anthropic-messages">,+ "accounts/fireworks/models/qwen3p8-max": {+ id: "accounts/fireworks/models/qwen3p8-max",+ name: "Qwen3.8 Max",+ api: "anthropic-messages",+ provider: "fireworks",+ baseUrl: "https://api.fireworks.ai/inference",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 131072,+ } satisfies Model<"anthropic-messages">,"accounts/fireworks/routers/glm-5p2-fast": {id: "accounts/fireworks/routers/glm-5p2-fast",name: "GLM 5.2 Fast",@@ -4577,9 +4940,9 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 128000,} satisfies Model<"anthropic-messages">,- "gemini-2.5-pro": {- id: "gemini-2.5-pro",- name: "Gemini 2.5 Pro",+ "gemini-3.1-pro-preview": {+ id: "gemini-3.1-pro-preview",+ name: "Gemini 3.1 Pro Preview",api: "openai-completions",provider: "github-copilot",baseUrl: "https://api.individual.githubcopilot.com",@@ -4588,17 +4951,17 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 1.25,- output: 10,- cacheRead: 0.125,+ input: 2,+ output: 12,+ cacheRead: 0.2,cacheWrite: 0,},- contextWindow: 128000,+ contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"openai-completions">,- "gemini-3-flash-preview": {- id: "gemini-3-flash-preview",- name: "Gemini 3 Flash Preview",+ "gemini-3.5-flash": {+ id: "gemini-3.5-flash",+ name: "Gemini 3.5 Flash",api: "openai-completions",provider: "github-copilot",baseUrl: "https://api.individual.githubcopilot.com",@@ -4607,17 +4970,17 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 0.5,- output: 3,- cacheRead: 0.05,+ input: 1.5,+ output: 9,+ cacheRead: 0.15,cacheWrite: 0,},- contextWindow: 128000,+ contextWindow: 200000,maxTokens: 64000,} satisfies Model<"openai-completions">,- "gemini-3.1-pro-preview": {- id: "gemini-3.1-pro-preview",- name: "Gemini 3.1 Pro Preview",+ "gemini-3.6-flash": {+ id: "gemini-3.6-flash",+ name: "Gemini 3.6 Flash",api: "openai-completions",provider: "github-copilot",baseUrl: "https://api.individual.githubcopilot.com",@@ -4626,17 +4989,17 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 2,- output: 12,- cacheRead: 0.2,+ input: 1.5,+ output: 7.5,+ cacheRead: 0.15,cacheWrite: 0,},contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"openai-completions">,- "gemini-3.5-flash": {- id: "gemini-3.5-flash",- name: "Gemini 3.5 Flash",+ "gemini-3.7-flash": {+ id: "gemini-3.7-flash",+ name: "Gemini 3.7 Flash",api: "openai-completions",provider: "github-copilot",baseUrl: "https://api.individual.githubcopilot.com",@@ -4645,12 +5008,12 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 1.5,- output: 9,- cacheRead: 0.15,+ input: 0.75,+ output: 3.75,+ cacheRead: 0.075,cacheWrite: 0,},- contextWindow: 200000,+ contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"openai-completions">,"gpt-4.1": {@@ -4835,10 +5198,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,},contextWindow: 1050000,maxTokens: 128000,@@ -4873,14 +5236,52 @@ 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: 0,},contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"openai-responses">,+ "grok-4.5": {+ id: "grok-4.5",+ name: "Grok 4.5",+ api: "openai-completions",+ 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,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 128000,+ } satisfies Model<"openai-completions">,+ "grok-4.6": {+ id: "grok-4.6",+ name: "Grok 4.6",+ api: "openai-completions",+ 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,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 128000,+ } satisfies Model<"openai-completions">,"kimi-k2.7-code": {id: "kimi-k2.7-code",name: "Kimi K2.7 Code",@@ -4900,6 +5301,26 @@ export const MODELS = {contextWindow: 256000,maxTokens: 32000,} satisfies Model<"openai-completions">,+ "kimi-k3": {+ id: "kimi-k3",+ name: "Kimi K3",+ api: "openai-completions",+ 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,"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">,"mai-code-1-flash-picker": {id: "mai-code-1-flash-picker",name: "MAI-Code-1-Flash",@@ -4919,42 +5340,27 @@ export const MODELS = {contextWindow: 256000,maxTokens: 128000,} satisfies Model<"openai-completions">,- },- "google": {- "gemini-2.0-flash": {- id: "gemini-2.0-flash",- name: "Gemini 2.0 Flash",- api: "google-generative-ai",- provider: "google",- baseUrl: "https://generativelanguage.googleapis.com/v1beta",- reasoning: false,- input: ["text", "image"],- cost: {- input: 0.1,- output: 0.4,- cacheRead: 0.025,- cacheWrite: 0,- },- contextWindow: 1048576,- maxTokens: 8192,- } satisfies Model<"google-generative-ai">,- "gemini-2.0-flash-lite": {- id: "gemini-2.0-flash-lite",- name: "Gemini 2.0 Flash-Lite",- api: "google-generative-ai",- provider: "google",- baseUrl: "https://generativelanguage.googleapis.com/v1beta",- reasoning: false,+ "mai-code-1.1-flash": {+ id: "mai-code-1.1-flash",+ name: "MAI-Code-1.1-Flash",+ api: "openai-completions",+ 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,input: ["text", "image"],cost: {- input: 0.075,- output: 0.3,- cacheRead: 0,+ input: 0.2,+ output: 1.2,+ cacheRead: 0.02,cacheWrite: 0,},- contextWindow: 1048576,- maxTokens: 8192,- } satisfies Model<"google-generative-ai">,+ contextWindow: 256000,+ maxTokens: 128000,+ } satisfies Model<"openai-completions">,+ },+ "google": {"gemini-2.5-flash": {id: "gemini-2.5-flash",name: "Gemini 2.5 Flash",@@ -5017,26 +5423,8 @@ export const MODELS = {input: ["text", "image"],cost: {input: 0.5,- output: 3,- cacheRead: 0.05,- cacheWrite: 0,- },- contextWindow: 1048576,- maxTokens: 65536,- } satisfies Model<"google-generative-ai">,- "gemini-3-pro-preview": {- id: "gemini-3-pro-preview",- name: "Gemini 3 Pro Preview",- api: "google-generative-ai",- provider: "google",- baseUrl: "https://generativelanguage.googleapis.com/v1beta",- reasoning: true,- thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},- input: ["text", "image"],- cost: {- input: 2,- output: 12,- cacheRead: 0.2,+ output: 3,+ cacheRead: 0.05,cacheWrite: 0,},contextWindow: 1048576,@@ -5168,6 +5556,24 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 65536,} satisfies Model<"google-generative-ai">,+ "gemini-3.7-flash": {+ id: "gemini-3.7-flash",+ name: "Gemini 3.7 Flash",+ api: "google-generative-ai",+ provider: "google",+ baseUrl: "https://generativelanguage.googleapis.com/v1beta",+ reasoning: true,+ thinkingLevelMap: {"off":null},+ input: ["text", "image"],+ cost: {+ input: 0.75,+ output: 3.75,+ cacheRead: 0.075,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 65536,+ } satisfies Model<"google-generative-ai">,"gemini-flash-latest": {id: "gemini-flash-latest",name: "Gemini Flash Latest",@@ -5518,23 +5924,6 @@ export const MODELS = {contextWindow: 131072,maxTokens: 32768,} satisfies Model<"openai-completions">,- "meta-llama/llama-4-scout-17b-16e-instruct": {- id: "meta-llama/llama-4-scout-17b-16e-instruct",- name: "Llama 4 Scout 17B 16E",- api: "openai-completions",- provider: "groq",- baseUrl: "https://api.groq.com/openai/v1",- reasoning: false,- input: ["text", "image"],- cost: {- input: 0.11,- output: 0.34,- cacheRead: 0,- cacheWrite: 0,- },- contextWindow: 131072,- maxTokens: 8192,- } satisfies Model<"openai-completions">,"openai/gpt-oss-120b": {id: "openai/gpt-oss-120b",name: "GPT OSS 120B",@@ -5586,23 +5975,22 @@ export const MODELS = {contextWindow: 131072,maxTokens: 65536,} satisfies Model<"openai-completions">,- "qwen/qwen3-32b": {- id: "qwen/qwen3-32b",- name: "Qwen3-32B",+ "qwen/qwen3.6-27b": {+ id: "qwen/qwen3.6-27b",+ name: "Qwen3.6 27B",api: "openai-completions",provider: "groq",baseUrl: "https://api.groq.com/openai/v1",reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"default"},- input: ["text"],+ input: ["text", "image"],cost: {- input: 0.29,- output: 0.59,- cacheRead: 0,+ input: 0.6,+ output: 3,+ cacheRead: 0.3,cacheWrite: 0,},contextWindow: 131072,- maxTokens: 40960,+ maxTokens: 16384,} satisfies Model<"openai-completions">,},"huggingface": {@@ -5696,6 +6084,24 @@ export const MODELS = {contextWindow: 524288,maxTokens: 128000,} satisfies Model<"openai-completions">,+ "Qwen/Qwen2.5-Coder-32B-Instruct": {+ id: "Qwen/Qwen2.5-Coder-32B-Instruct",+ name: "Qwen2.5-Coder-32B-Instruct",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.06,+ output: 0.2,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 8192,+ } satisfies Model<"openai-completions">,"Qwen/Qwen3-235B-A22B": {id: "Qwen/Qwen3-235B-A22B",name: "Qwen3 235B-A22B",@@ -5714,6 +6120,24 @@ export const MODELS = {contextWindow: 40960,maxTokens: 16384,} satisfies Model<"openai-completions">,+ "Qwen/Qwen3-235B-A22B-Instruct-2507": {+ id: "Qwen/Qwen3-235B-A22B-Instruct-2507",+ name: "Qwen3 235B-A22B Instruct 2507",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.855,+ output: 2.565,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,"Qwen/Qwen3-235B-A22B-Thinking-2507": {id: "Qwen/Qwen3-235B-A22B-Thinking-2507",name: "Qwen3-235B-A22B-Thinking-2507",@@ -5732,6 +6156,24 @@ export const MODELS = {contextWindow: 262144,maxTokens: 131072,} satisfies Model<"openai-completions">,+ "Qwen/Qwen3-30B-A3B": {+ id: "Qwen/Qwen3-30B-A3B",+ name: "Qwen3 30B A3B",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.12,+ output: 0.5,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 40960,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,"Qwen/Qwen3-32B": {id: "Qwen/Qwen3-32B",name: "Qwen3 32B",@@ -6056,6 +6498,60 @@ export const MODELS = {contextWindow: 163840,maxTokens: 163840,} satisfies Model<"openai-completions">,+ "deepseek-ai/DeepSeek-V3": {+ id: "deepseek-ai/DeepSeek-V3",+ name: "DeepSeek-V3",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.4,+ output: 1.3,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 64000,+ maxTokens: 8192,+ } satisfies Model<"openai-completions">,+ "deepseek-ai/DeepSeek-V3-0324": {+ id: "deepseek-ai/DeepSeek-V3-0324",+ name: "DeepSeek V3 0324",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.27,+ output: 1.12,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 163840,+ maxTokens: 163840,+ } satisfies Model<"openai-completions">,+ "deepseek-ai/DeepSeek-V3.1": {+ id: "deepseek-ai/DeepSeek-V3.1",+ name: "DeepSeek-V3.1",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.27,+ output: 1,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 8192,+ } satisfies Model<"openai-completions">,"deepseek-ai/DeepSeek-V3.2": {id: "deepseek-ai/DeepSeek-V3.2",name: "DeepSeek-V3.2",@@ -6092,6 +6588,24 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 384000,} satisfies Model<"openai-completions">,+ "deepseek-ai/DeepSeek-V4-Flash-0731": {+ id: "deepseek-ai/DeepSeek-V4-Flash-0731",+ name: "DeepSeek V4 Flash 0731",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.14,+ output: 0.28,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 384000,+ } satisfies Model<"openai-completions">,"deepseek-ai/DeepSeek-V4-Pro": {id: "deepseek-ai/DeepSeek-V4-Pro",name: "DeepSeek V4 Pro",@@ -6110,6 +6624,24 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 393216,} satisfies Model<"openai-completions">,+ "deepseek-ai/DeepSeek-V4-Pro-0813": {+ id: "deepseek-ai/DeepSeek-V4-Pro-0813",+ name: "DeepSeek V4 Pro 0813",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 1.32,+ output: 3.96,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 384000,+ } satisfies Model<"openai-completions">,"google/gemma-4-26B-A4B-it": {id: "google/gemma-4-26B-A4B-it",name: "Gemma 4 26B A4B IT",@@ -6146,6 +6678,24 @@ export const MODELS = {contextWindow: 262144,maxTokens: 32768,} satisfies Model<"openai-completions">,+ "meta-llama/Llama-3.1-8B-Instruct": {+ id: "meta-llama/Llama-3.1-8B-Instruct",+ name: "Llama-3.1-8B-Instruct",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.06,+ output: 0.06,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 4096,+ } satisfies Model<"openai-completions">,"meta-llama/Llama-3.3-70B-Instruct": {id: "meta-llama/Llama-3.3-70B-Instruct",name: "Llama-3.3-70B-Instruct",@@ -6399,6 +6949,24 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 1048576,} satisfies Model<"openai-completions">,+ "thinkingmachines/Inkling-Small": {+ id: "thinkingmachines/Inkling-Small",+ name: "Inkling Small",+ api: "openai-completions",+ provider: "huggingface",+ baseUrl: "https://router.huggingface.co/v1",+ compat: {"supportsDeveloperRole":false},+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.5,+ output: 1.2,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 524288,+ maxTokens: 1048576,+ } satisfies Model<"openai-completions">,"zai-org/GLM-4.5": {id: "zai-org/GLM-4.5",name: "GLM-4.5",@@ -7221,6 +7789,23 @@ export const MODELS = {contextWindow: 128000,maxTokens: 128000,} satisfies Model<"mistral-conversations">,+ "voxtral-small-latest": {+ id: "voxtral-small-latest",+ name: "Voxtral Small (latest)",+ api: "mistral-conversations",+ provider: "mistral",+ baseUrl: "https://api.mistral.ai",+ reasoning: false,+ input: ["text"],+ cost: {+ input: 0.1,+ output: 0.3,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 32000,+ maxTokens: 32000,+ } satisfies Model<"mistral-conversations">,},"moonshotai": {"kimi-k2-0711-preview": {@@ -8598,23 +9183,6 @@ export const MODELS = {contextWindow: 200000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,- "claude-opus-4-1": {- id: "claude-opus-4-1",- name: "Claude Opus 4.1",- api: "anthropic-messages",- provider: "opencode",- baseUrl: "https://opencode.ai/zen",- reasoning: true,- input: ["text", "image"],- cost: {- input: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,"claude-opus-4-5": {id: "claude-opus-4-5",name: "Claude Opus 4.5",@@ -8782,7 +9350,7 @@ export const MODELS = {baseUrl: "https://opencode.ai/zen/v1",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0.14,@@ -8795,13 +9363,13 @@ export const MODELS = {} satisfies Model<"openai-completions">,"deepseek-v4-flash-free": {id: "deepseek-v4-flash-free",- name: "DeepSeek V4 Flash Free (New)",+ name: "DeepSeek V4 Flash Free",api: "openai-completions",provider: "opencode",baseUrl: "https://opencode.ai/zen/v1",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0,@@ -8820,7 +9388,7 @@ export const MODELS = {baseUrl: "https://opencode.ai/zen/v1",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 1.74,@@ -8921,6 +9489,24 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 65536,} satisfies Model<"google-generative-ai">,+ "gemini-3.7-flash": {+ id: "gemini-3.7-flash",+ name: "Gemini 3.7 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",@@ -9314,9 +9900,26 @@ export const MODELS = {contextWindow: 1050000,maxTokens: 128000,} satisfies Model<"openai-responses">,- "grok-4.5": {- id: "grok-4.5",- name: "Grok 4.5",+ "grok-4.5": {+ id: "grok-4.5",+ name: "Grok 4.5",+ api: "openai-responses",+ provider: "opencode",+ baseUrl: "https://opencode.ai/zen/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 500000,+ } satisfies Model<"openai-responses">,+ "grok-4.6": {+ id: "grok-4.6",+ name: "Grok 4.6",api: "openai-responses",provider: "opencode",baseUrl: "https://opencode.ai/zen/v1",@@ -9334,7 +9937,7 @@ export const MODELS = {"grok-build-0.1": {id: "grok-build-0.1",name: "Grok Build 0.1",- api: "openai-completions",+ api: "openai-responses",provider: "opencode",baseUrl: "https://opencode.ai/zen/v1",reasoning: true,@@ -9347,6 +9950,23 @@ export const MODELS = {},contextWindow: 256000,maxTokens: 256000,+ } satisfies Model<"openai-responses">,+ "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",@@ -9434,23 +10054,6 @@ export const MODELS = {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",@@ -9519,6 +10122,23 @@ export const MODELS = {contextWindow: 512000,maxTokens: 128000,} satisfies Model<"openai-completions">,+ "muse-spark-1.2": {+ id: "muse-spark-1.2",+ name: "Muse Spark 1.2",+ api: "openai-responses",+ provider: "opencode",+ baseUrl: "https://opencode.ai/zen/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 1.25,+ output: 4.25,+ cacheRead: 0.15,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 131072,+ } satisfies Model<"openai-responses">,"nemotron-3-ultra-free": {id: "nemotron-3-ultra-free",name: "Nemotron 3 Ultra Free",@@ -9536,9 +10156,9 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 128000,} satisfies Model<"openai-completions">,- "north-mini-code-free": {- id: "north-mini-code-free",- name: "North Mini Code Free",+ "nemotron-3.5-lightning-free": {+ id: "nemotron-3.5-lightning-free",+ name: "Nemotron 3.5 Lightning Free",api: "openai-completions",provider: "opencode",baseUrl: "https://opencode.ai/zen/v1",@@ -9550,8 +10170,8 @@ export const MODELS = {cacheRead: 0,cacheWrite: 0,},- contextWindow: 256000,- maxTokens: 64000,+ contextWindow: 262144,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"qwen3.5-plus": {id: "qwen3.5-plus",@@ -9591,13 +10211,13 @@ export const MODELS = {"opencode-go": {"deepseek-v4-flash": {id: "deepseek-v4-flash",- name: "DeepSeek V4 Flash (New)",+ name: "DeepSeek V4 Flash",api: "openai-completions",provider: "opencode-go",baseUrl: "https://opencode.ai/zen/go/v1",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0.14,@@ -9610,13 +10230,13 @@ export const MODELS = {} satisfies Model<"openai-completions">,"deepseek-v4-pro": {id: "deepseek-v4-pro",- name: "DeepSeek V4 Pro",+ name: "DeepSeek V4 Pro (New)",api: "openai-completions",provider: "opencode-go",baseUrl: "https://opencode.ai/zen/go/v1",compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},reasoning: true,- thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {input: 0.435,@@ -9661,6 +10281,23 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 131072,} satisfies Model<"openai-completions">,+ "glm-5.3": {+ id: "glm-5.3",+ name: "GLM-5.3",+ api: "openai-completions",+ provider: "opencode-go",+ baseUrl: "https://opencode.ai/zen/go/v1",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 1.4,+ output: 4.4,+ cacheRead: 0.26,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,"gpt-5.6-luna": {id: "gpt-5.6-luna",name: "GPT-5.6 Luna (2x usage)",@@ -9854,9 +10491,9 @@ export const MODELS = {"qwen3.7-max": {id: "qwen3.7-max",name: "Qwen3.7 Max",- api: "anthropic-messages",+ api: "openai-completions",provider: "opencode-go",- baseUrl: "https://opencode.ai/zen/go",+ baseUrl: "https://opencode.ai/zen/go/v1",reasoning: true,input: ["text"],cost: {@@ -9867,13 +10504,13 @@ export const MODELS = {},contextWindow: 1000000,maxTokens: 65536,- } satisfies Model<"anthropic-messages">,+ } satisfies Model<"openai-completions">,"qwen3.7-plus": {id: "qwen3.7-plus",name: "Qwen3.7 Plus",- api: "anthropic-messages",+ api: "openai-completions",provider: "opencode-go",- baseUrl: "https://opencode.ai/zen/go",+ baseUrl: "https://opencode.ai/zen/go/v1",reasoning: true,input: ["text", "image"],cost: {@@ -9884,7 +10521,24 @@ export const MODELS = {},contextWindow: 1000000,maxTokens: 65536,- } satisfies Model<"anthropic-messages">,+ } satisfies Model<"openai-completions">,+ "qwen3.8-max": {+ id: "qwen3.8-max",+ name: "Qwen3.8 Max",+ api: "openai-completions",+ provider: "opencode-go",+ baseUrl: "https://opencode.ai/zen/go/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 2.5,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,},"openrouter": {"ai21/jamba-large-1.7": {@@ -10450,6 +11104,43 @@ export const MODELS = {contextWindow: 262144,maxTokens: 32768,} satisfies Model<"openai-completions">,+ "bytedance-seed/seed-2-1-turbo": {+ id: "bytedance-seed/seed-2-1-turbo",+ name: "ByteDance Seed: Seed 2.1 Turbo",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text", "image"],+ cost: {+ input: 0.5,+ output: 2.5,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,+ "bytedance-seed/seed-2.0-code": {+ id: "bytedance-seed/seed-2.0-code",+ name: "ByteDance Seed: Seed-2.0-Code",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},+ input: ["text", "image"],+ cost: {+ input: 0.5,+ output: 3,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,"bytedance-seed/seed-2.0-lite": {id: "bytedance-seed/seed-2.0-lite",name: "ByteDance Seed: Seed-2.0-Lite",@@ -10608,7 +11299,7 @@ export const MODELS = {cacheRead: 0,cacheWrite: 0,},- contextWindow: 163840,+ contextWindow: 64000,maxTokens: 16000,} satisfies Model<"openai-completions">,"deepseek/deepseek-r1-0528": {@@ -10642,8 +11333,8 @@ export const MODELS = {input: ["text"],cost: {input: 0.27,- output: 1,- cacheRead: 0.135,+ output: 0.95,+ cacheRead: 0.13,cacheWrite: 0,},contextWindow: 163840,@@ -10689,7 +11380,7 @@ export const MODELS = {} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-flash": {id: "deepseek/deepseek-v4-flash",- name: "DeepSeek: DeepSeek V4 Flash",+ name: "DeepSeek: DeepSeek V4 Flash 0423",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -10698,13 +11389,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {- input: 0.14,- output: 0.28,- cacheRead: 0.028,+ input: 0.061459999999999994,+ output: 0.12291999999999999,+ cacheRead: 0.012292,cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 393216,+ maxTokens: 384000,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-flash-0731": {id: "deepseek/deepseek-v4-flash-0731",@@ -10717,13 +11408,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {- input: 0.09,- output: 0.18,- cacheRead: 0.018,+ input: 0.14,+ output: 0.28,+ cacheRead: 0.028,cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 65536,+ maxTokens: 393216,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-pro": {id: "deepseek/deepseek-v4-pro",@@ -10735,6 +11426,25 @@ export const MODELS = {reasoning: true,thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],+ cost: {+ input: 1.1680000000000001,+ output: 2.3360000000000003,+ cacheRead: 0.09855000000000001,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 393216,+ } satisfies Model<"openai-completions">,+ "deepseek/deepseek-v4-pro-0813": {+ id: "deepseek/deepseek-v4-pro-0813",+ name: "DeepSeek: DeepSeek V4 Pro 0813",+ 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","max":null},+ input: ["text"],cost: {input: 0.435,output: 0.87,@@ -10744,6 +11454,25 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 384000,} satisfies Model<"openai-completions">,+ "dots-studio/dots-3-note-preview:free": {+ id: "dots-studio/dots-3-note-preview:free",+ name: "Dots Studio: Dots3-Note Preview (free)",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 512000,+ maxTokens: 512000,+ } satisfies Model<"openai-completions">,"google/gemini-2.5-flash": {id: "google/gemini-2.5-flash",name: "Google: Gemini 2.5 Flash",@@ -10758,7 +11487,7 @@ export const MODELS = {input: 0.3,output: 2.5,cacheRead: 0.03,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65535,@@ -10777,7 +11506,7 @@ export const MODELS = {input: 0.09999999999999999,output: 0.39999999999999997,cacheRead: 0.01,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65535,@@ -10852,10 +11581,10 @@ export const MODELS = {input: 0.5,output: 3,cacheRead: 0.049999999999999996,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,- maxTokens: 65535,+ maxTokens: 65536,} satisfies Model<"openai-completions">,"google/gemini-3-pro-image": {id: "google/gemini-3-pro-image",@@ -10889,7 +11618,7 @@ export const MODELS = {input: 0.25,output: 1.5,cacheRead: 0.024999999999999998,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -10907,7 +11636,7 @@ export const MODELS = {input: 0.25,output: 1.5,cacheRead: 0.024999999999999998,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -10961,7 +11690,7 @@ export const MODELS = {input: 1.5,output: 9,cacheRead: 0.15,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -10979,7 +11708,7 @@ export const MODELS = {input: 0.3,output: 2.5,cacheRead: 0.03,- cacheWrite: 0.08333333333333334,+ cacheWrite: 0.0833333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -10994,10 +11723,28 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 1.5,- output: 7.5,- cacheRead: 0.15,- cacheWrite: 0.08333333333333334,+ input: 0.75,+ output: 3.75,+ cacheRead: 0.075,+ cacheWrite: 0.0416666666666667,+ },+ contextWindow: 1048576,+ maxTokens: 65536,+ } satisfies Model<"openai-completions">,+ "google/gemini-3.7-flash": {+ id: "google/gemini-3.7-flash",+ name: "Google: Gemini 3.7 Flash",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},+ input: ["text", "image"],+ cost: {+ input: 0.375,+ output: 1.875,+ cacheRead: 0.0375,+ cacheWrite: 0.0208333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -11047,13 +11794,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.07,- output: 0.33999999999999997,- cacheRead: 0,+ input: 0.12,+ output: 0.39999999999999997,+ cacheRead: 0.049999999999999996,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 16384,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"google/gemma-4-26b-a4b-it:free": {id: "google/gemma-4-26b-a4b-it:free",@@ -11181,18 +11928,20 @@ 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)",+ "inclusionai/ling-3.0-flash": {+ id: "inclusionai/ling-3.0-flash",+ name: "Ling-3.0-flash",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0,- output: 0,- cacheRead: 0,+ input: 0.020999999999999998,+ output: 0.063,+ cacheRead: 0.004200000000000001,cacheWrite: 0,},contextWindow: 262144,@@ -11267,6 +12016,25 @@ export const MODELS = {contextWindow: 256000,maxTokens: 80000,} satisfies Model<"openai-completions">,+ "liquid/lfm-2.5-2.6b:free": {+ id: "liquid/lfm-2.5-2.6b:free",+ name: "LiquidAI: LFM2.5-2.6B (free)",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 128000,+ maxTokens: 8192,+ } satisfies Model<"openai-completions">,"meituan/longcat-2.0": {id: "meituan/longcat-2.0",name: "Meituan: LongCat 2.0",@@ -11329,13 +12097,13 @@ export const MODELS = {reasoning: false,input: ["text"],cost: {- input: 0.13,- output: 0.39999999999999997,+ input: 0.09999999999999999,+ output: 0.32,cacheRead: 0,cacheWrite: 0,},contextWindow: 131072,- maxTokens: 128000,+ maxTokens: 16384,} satisfies Model<"openai-completions">,"meta-llama/llama-4-maverick": {id: "meta-llama/llama-4-maverick",@@ -11354,26 +12122,62 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 16384,} satisfies Model<"openai-completions">,- "meta-llama/llama-4-scout": {- id: "meta-llama/llama-4-scout",- name: "Meta: Llama 4 Scout",+ "meta-llama/llama-4-scout": {+ id: "meta-llama/llama-4-scout",+ name: "Meta: Llama 4 Scout",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: false,+ input: ["text", "image"],+ cost: {+ input: 0.09999999999999999,+ output: 0.3,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1310720,+ maxTokens: 16384,+ } satisfies Model<"openai-completions">,+ "meta/muse-glimmer-30b": {+ id: "meta/muse-glimmer-30b",+ name: "Meta: Muse Glimmer 30B",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},+ input: ["text", "image"],+ cost: {+ input: 0.35,+ output: 1.5,+ cacheRead: 0.04,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 4096,+ } satisfies Model<"openai-completions">,+ "meta/muse-spark-1.1": {+ id: "meta/muse-spark-1.1",+ name: "Meta: Muse Spark 1.1",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",- reasoning: false,+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},input: ["text", "image"],cost: {- input: 0.09999999999999999,- output: 0.3,- cacheRead: 0,+ input: 1.25,+ output: 4.25,+ cacheRead: 0.15,cacheWrite: 0,},- contextWindow: 1310720,- maxTokens: 16384,+ contextWindow: 1048576,+ maxTokens: 4096,} satisfies Model<"openai-completions">,- "meta/muse-spark-1.1": {- id: "meta/muse-spark-1.1",- name: "Meta: Muse Spark 1.1",+ "meta/muse-spark-1.2": {+ id: "meta/muse-spark-1.2",+ name: "Meta: Muse Spark 1.2",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -11457,7 +12261,7 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.15,+ input: 0.22,output: 0.8999999999999999,cacheRead: 0.049999999999999996,cacheWrite: 0,@@ -11476,9 +12280,9 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.25,- output: 1,- cacheRead: 0.049999999999999996,+ input: 0.3,+ output: 1.2,+ cacheRead: 0.06,cacheWrite: 0,},contextWindow: 204800,@@ -11735,8 +12539,8 @@ export const MODELS = {reasoning: false,input: ["text", "image"],cost: {- input: 0.075,- output: 0.19999999999999998,+ input: 0.09375,+ output: 0.25,cacheRead: 0,cacheWrite: 0,},@@ -11860,9 +12664,9 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.6,- output: 3.41,- cacheRead: 0.19999999999999998,+ input: 0.5415,+ output: 2.2800000000000002,+ cacheRead: 0.09119999999999999,cacheWrite: 0,},contextWindow: 262144,@@ -11879,7 +12683,7 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.73,+ input: 0.71,output: 3.5,cacheRead: 0.15,cacheWrite: 0,@@ -11956,11 +12760,11 @@ export const MODELS = {cost: {input: 0.049999999999999996,output: 0.19999999999999998,- cacheRead: 0.03,+ cacheRead: 0.024999999999999998,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 262144,+ maxTokens: 228000,} satisfies Model<"openai-completions">,"nvidia/nemotron-3-nano-30b-a3b:free": {id: "nvidia/nemotron-3-nano-30b-a3b:free",@@ -12072,6 +12876,44 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 65536,} satisfies Model<"openai-completions">,+ "nvidia/nemotron-3.5-lightning": {+ id: "nvidia/nemotron-3.5-lightning",+ name: "NVIDIA: Nemotron 3.5 Lightning",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text"],+ cost: {+ input: 0.09999999999999999,+ output: 0.25,+ cacheRead: 0.049999999999999996,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,+ "nvidia/nemotron-3.5-lightning:free": {+ id: "nvidia/nemotron-3.5-lightning:free",+ name: "NVIDIA: Nemotron 3.5 Lightning (free)",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 65536,+ } satisfies Model<"openai-completions">,"nvidia/nemotron-nano-12b-v2-vl:free": {id: "nvidia/nemotron-nano-12b-v2-vl:free",name: "NVIDIA: Nemotron Nano 12B 2 VL (free)",@@ -12543,7 +13385,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 128000,- maxTokens: 16384,+ maxTokens: 32000,} satisfies Model<"openai-completions">,"openai/gpt-5.2-codex": {id: "openai/gpt-5.2-codex",@@ -12581,24 +13423,6 @@ export const MODELS = {contextWindow: 400000,maxTokens: 128000,} satisfies Model<"openai-completions">,- "openai/gpt-5.3-chat": {- id: "openai/gpt-5.3-chat",- name: "OpenAI: GPT-5.3 Chat",- api: "openai-completions",- provider: "openrouter",- baseUrl: "https://openrouter.ai/api/v1",- 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<"openai-completions">,"openai/gpt-5.3-codex": {id: "openai/gpt-5.3-codex",name: "OpenAI: GPT-5.3-Codex",@@ -12736,9 +13560,9 @@ export const MODELS = {input: ["text", "image"],cost: {input: 0.09999999999999999,- output: 0.6000000000000001,+ output: 0.6,cacheRead: 0.01,- cacheWrite: 0.12500000000000003,+ cacheWrite: 0.125,},contextWindow: 1050000,maxTokens: 128000,@@ -12754,9 +13578,9 @@ export const MODELS = {input: ["text", "image"],cost: {input: 0.09999999999999999,- output: 0.6000000000000001,+ output: 0.6,cacheRead: 0.01,- cacheWrite: 0.12500000000000003,+ cacheWrite: 0.125,},contextWindow: 1050000,maxTokens: 128000,@@ -12807,7 +13631,7 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},input: ["text", "image"],cost: {- input: 1.0000000000000002,+ input: 1,output: 6,cacheRead: 0.09999999999999999,cacheWrite: 1.25,@@ -12825,7 +13649,7 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},input: ["text", "image"],cost: {- input: 1.0000000000000002,+ input: 1,output: 6,cacheRead: 0.09999999999999999,cacheWrite: 1.25,@@ -12894,9 +13718,9 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.037,+ input: 0.03,output: 0.16999999999999998,- cacheRead: 0,+ cacheRead: 0.03,cacheWrite: 0,},contextWindow: 131072,@@ -13294,10 +14118,10 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.39999999999999997,- output: 1.2,+ input: 0.26,+ output: 0.78,cacheRead: 0,- cacheWrite: 0.5,+ cacheWrite: 0,},contextWindow: 1000000,maxTokens: 32768,@@ -13313,13 +14137,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.22749999999999998,- output: 0.9099999999999999,+ input: 0.12,+ output: 0.24,cacheRead: 0,cacheWrite: 0,},contextWindow: 131072,- maxTokens: 8192,+ maxTokens: 16384,} satisfies Model<"openai-completions">,"qwen/qwen3-235b-a22b": {id: "qwen/qwen3-235b-a22b",@@ -13387,13 +14211,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.12,- output: 0.5,+ input: 0.13,+ output: 0.52,cacheRead: 0,cacheWrite: 0,},contextWindow: 131072,- maxTokens: 16384,+ maxTokens: 8192,} satisfies Model<"openai-completions">,"qwen/qwen3-30b-a3b-instruct-2507": {id: "qwen/qwen3-30b-a3b-instruct-2507",@@ -13635,9 +14459,9 @@ export const MODELS = {reasoning: false,input: ["text", "image"],cost: {- input: 0.21,- output: 1.9,- cacheRead: 0.09999999999999999,+ input: 0.26,+ output: 1.04,+ cacheRead: 0,cacheWrite: 0,},contextWindow: 262144,@@ -13762,13 +14586,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.26,- output: 2.08,+ input: 0.29,+ output: 2.4,cacheRead: 0,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 65536,+ maxTokens: 81920,} satisfies Model<"openai-completions">,"qwen/qwen3.5-27b": {id: "qwen/qwen3.5-27b",@@ -13800,13 +14624,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.14,- output: 1,- cacheRead: 0,+ input: 0.22499999999999998,+ output: 1.7999999999999998,+ cacheRead: 0.22499999999999998,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 262144,+ maxTokens: 65536,} satisfies Model<"openai-completions">,"qwen/qwen3.5-397b-a17b": {id: "qwen/qwen3.5-397b-a17b",@@ -13914,13 +14738,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.3,- output: 2,- cacheRead: 0.15,+ input: 0.6,+ output: 3.5999999999999996,+ cacheRead: 0.12,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 65536,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"qwen/qwen3.6-35b-a3b": {id: "qwen/qwen3.6-35b-a3b",@@ -13933,9 +14757,9 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.14,+ input: 0.15,output: 1,- cacheRead: 0,+ cacheRead: 0.049999999999999996,cacheWrite: 0,},contextWindow: 262144,@@ -14055,6 +14879,60 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 131072,} satisfies Model<"openai-completions">,+ "qwen/qwen3.8-2.4t-a95b": {+ id: "qwen/qwen3.8-2.4t-a95b",+ name: "Qwen: Qwen3.8 2.4T A95B",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},+ input: ["text"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,+ "qwen/qwen3.8-27b": {+ id: "qwen/qwen3.8-27b",+ name: "Qwen: Qwen3.8 27B",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},+ input: ["text", "image"],+ cost: {+ input: 0.44999999999999996,+ output: 3.1999999999999997,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,+ "qwen/qwen3.8-max": {+ id: "qwen/qwen3.8-max",+ name: "Qwen: Qwen3.8 Max",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 2.5,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,"rekaai/reka-edge": {id: "rekaai/reka-edge",name: "Reka Edge",@@ -14107,6 +14985,24 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 128000,} satisfies Model<"openai-completions">,+ "sakana/sakana-namazu": {+ id: "sakana/sakana-namazu",+ name: "Sakana: Sakana Namazu",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text", "image"],+ cost: {+ input: 0.95,+ output: 4,+ cacheRead: 0.15,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 65536,+ } satisfies Model<"openai-completions">,"sao10k/l3.1-euryale-70b": {id: "sao10k/l3.1-euryale-70b",name: "Sao10K: Llama 3.1 Euryale 70B v2.2",@@ -14189,9 +15085,9 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.063,- output: 0.21,- cacheRead: 0.020999999999999998,+ input: 0.18,+ output: 0.6,+ cacheRead: 0.06,cacheWrite: 0,},contextWindow: 262144,@@ -14212,7 +15108,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1024000,- maxTokens: 32768,+ maxTokens: 1024000,} satisfies Model<"openai-completions">,"thinkingmachines/inkling": {id: "thinkingmachines/inkling",@@ -14224,13 +15120,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},input: ["text", "image"],cost: {- input: 1,+ input: 0.95,output: 4.05,- cacheRead: 0.16999999999999998,+ cacheRead: 0.16,cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 4096,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"thinkingmachines/inkling-small": {id: "thinkingmachines/inkling-small",@@ -14242,13 +15138,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},input: ["text", "image"],cost: {- input: 0.5,+ input: 0.44999999999999996,output: 1.2,cacheRead: 0.09999999999999999,cacheWrite: 0,},contextWindow: 524288,- maxTokens: 4096,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"upstage/solar-pro-3": {id: "upstage/solar-pro-3",@@ -14266,12 +15162,31 @@ export const MODELS = {cacheRead: 0.015,cacheWrite: 0,},- contextWindow: 128000,- maxTokens: 4096,+ contextWindow: 131072,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,+ "upstage/solar-pro4": {+ id: "upstage/solar-pro4",+ name: "Upstage: Solar Pro 4",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ compat: {"supportsReasoningEffort":false},+ reasoning: true,+ thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},+ input: ["text"],+ cost: {+ input: 0.03,+ output: 0.12,+ cacheRead: 0.006,+ cacheWrite: 0,+ },+ contextWindow: 524288,+ maxTokens: 131072,} satisfies Model<"openai-completions">,"x-ai/grok-4.20": {id: "x-ai/grok-4.20",- name: "xAI: Grok 4.20",+ name: "SpaceXAI: Grok 4.20",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -14290,7 +15205,7 @@ export const MODELS = {} satisfies Model<"openai-completions">,"x-ai/grok-4.3": {id: "x-ai/grok-4.3",- name: "xAI: Grok 4.3",+ name: "SpaceXAI: Grok 4.3",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -14308,7 +15223,7 @@ export const MODELS = {} satisfies Model<"openai-completions">,"x-ai/grok-4.5": {id: "x-ai/grok-4.5",- name: "xAI: Grok 4.5",+ name: "SpaceXAI: Grok 4.5",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -14324,9 +15239,27 @@ export const MODELS = {contextWindow: 500000,maxTokens: 4096,} satisfies Model<"openai-completions">,+ "x-ai/grok-4.6": {+ id: "x-ai/grok-4.6",+ name: "SpaceXAI: Grok 4.6",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 4096,+ } satisfies Model<"openai-completions">,"x-ai/grok-build-0.1": {id: "x-ai/grok-build-0.1",- name: "xAI: Grok Build 0.1",+ name: "SpaceXAI: Grok Build 0.1",api: "openai-completions",provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",@@ -14449,9 +15382,9 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.5,- output: 2,- cacheRead: 0.09999999999999999,+ input: 0.55,+ output: 2.2,+ cacheRead: 0.11,cacheWrite: 0,},contextWindow: 204800,@@ -14531,7 +15464,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 204800,- maxTokens: 131072,+ maxTokens: 128000,} satisfies Model<"openai-completions">,"z-ai/glm-5-turbo": {id: "z-ai/glm-5-turbo",@@ -14581,13 +15514,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"xhigh","max":null},input: ["text"],cost: {- input: 0.2842,- output: 0.8932,- cacheRead: 0.05278,+ input: 0.308,+ output: 0.9680000000000001,+ cacheRead: 0.0572,cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 131072,+ maxTokens: 128000,} satisfies Model<"openai-completions">,"z-ai/glm-5v-turbo": {id: "z-ai/glm-5v-turbo",@@ -14692,13 +15625,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {- input: 0.09,- output: 0.18,- cacheRead: 0.018,+ input: 0.063,+ output: 0.126,+ cacheRead: 0.0126,cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 65536,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"~google/gemini-flash-latest": {id: "~google/gemini-flash-latest",@@ -14707,13 +15640,13 @@ export const MODELS = {provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",reasoning: true,- thinkingLevelMap: {"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 1.5,- output: 7.5,- cacheRead: 0.15,- cacheWrite: 0.08333333333333334,+ input: 0.375,+ output: 1.875,+ cacheRead: 0.0375,+ cacheWrite: 0.0208333333333333,},contextWindow: 1048576,maxTokens: 65536,@@ -14746,7 +15679,7 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},input: ["text", "image"],cost: {- input: 2.9000000000000004,+ input: 2.8,output: 14,cacheRead: 0.29,cacheWrite: 0,@@ -14797,12 +15730,12 @@ export const MODELS = {provider: "openrouter",baseUrl: "https://openrouter.ai/api/v1",reasoning: true,- thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},input: ["text", "image"],cost: {input: 2,output: 6,- cacheRead: 0.3,+ cacheRead: 0.5,cacheWrite: 0,},contextWindow: 500000,@@ -15176,7 +16109,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 393216,+ maxTokens: 384000,featured: true,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-flash-0731": {@@ -15196,7 +16129,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 384000,+ maxTokens: 393216,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-pro": {id: "deepseek/deepseek-v4-pro",@@ -15439,7 +16372,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 8192,+ maxTokens: 16384,} satisfies Model<"openai-completions">,"minimax/minimax-m2.5": {id: "minimax/minimax-m2.5",@@ -16425,7 +17358,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 262144,- maxTokens: 16384,+ maxTokens: 32768,} satisfies Model<"openai-completions">,"qwen/qwen3-vl-8b-instruct": {id: "qwen/qwen3-vl-8b-instruct",@@ -16462,7 +17395,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 262144,- maxTokens: 262144,+ maxTokens: 65536,} satisfies Model<"openai-completions">,"qwen/qwen3.5-397b-a17b": {id: "qwen/qwen3.5-397b-a17b",@@ -16770,7 +17703,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 204800,- maxTokens: 131072,+ maxTokens: 128000,featured: true,} satisfies Model<"openai-completions">,"z-ai/glm-5.2": {@@ -16790,7 +17723,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 131072,+ maxTokens: 128000,featured: true,} satisfies Model<"openai-completions">,},@@ -17220,6 +18153,40 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,+ "alibaba/qwen3.8-2.4t-a95b": {+ id: "alibaba/qwen3.8-2.4t-a95b",+ name: "Qwen3.8 2.4T A95B",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 131072,+ } satisfies Model<"anthropic-messages">,+ "alibaba/qwen3.8-max": {+ id: "alibaba/qwen3.8-max",+ name: "Qwen 3.8 Max",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.25,+ cacheWrite: 2.5,+ },+ contextWindow: 1000000,+ maxTokens: 128000,+ } satisfies Model<"anthropic-messages">,"amazon/nova-2-lite": {id: "amazon/nova-2-lite",name: "Nova 2 Lite",@@ -17357,23 +18324,6 @@ export const MODELS = {contextWindow: 200000,maxTokens: 8192,} satisfies Model<"anthropic-messages">,- "anthropic/claude-opus-4.1": {- id: "anthropic/claude-opus-4.1",- name: "Claude Opus 4.1",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text", "image"],- cost: {- input: 15,- output: 75,- cacheRead: 1.5,- cacheWrite: 18.75,- },- contextWindow: 200000,- maxTokens: 32000,- } satisfies Model<"anthropic-messages">,"anthropic/claude-opus-4.5": {id: "anthropic/claude-opus-4.5",name: "Claude Opus 4.5",@@ -17765,9 +18715,9 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0.14,- output: 0.28,- cacheRead: 0.0028,+ input: 0.19999999999999998,+ output: 0.39999999999999997,+ cacheRead: 0.04,cacheWrite: 0,},contextWindow: 1000000,@@ -17782,9 +18732,9 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0.13,- output: 0.26,- cacheRead: 0.028,+ input: 0.19999999999999998,+ output: 0.39999999999999997,+ cacheRead: 0.04,cacheWrite: 0,},contextWindow: 1000000,@@ -17799,9 +18749,26 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0.435,- output: 0.87,- cacheRead: 0.0036,+ input: 1.74,+ output: 3.48,+ cacheRead: 0.14,+ cacheWrite: 0,+ },+ contextWindow: 1048600,+ maxTokens: 1048600,+ } satisfies Model<"anthropic-messages">,+ "deepseek/deepseek-v4-pro-0813": {+ id: "deepseek/deepseek-v4-pro-0813",+ name: "DeepSeek V4 Pro 0813",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 1.32,+ output: 3.9600000000000004,+ cacheRead: 0.13199999999999998,cacheWrite: 0,},contextWindow: 1000000,@@ -17960,9 +18927,26 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 64000,} satisfies Model<"anthropic-messages">,+ "google/gemini-3.7-flash": {+ id: "google/gemini-3.7-flash",+ name: "Gemini 3.7 Flash",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.75,+ output: 3.75,+ cacheRead: 0.075,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 65536,+ } satisfies Model<"anthropic-messages">,"google/gemma-4-26b-a4b-it": {id: "google/gemma-4-26b-a4b-it",- name: "Gemma 4 26B A4B IT",+ name: "Google Gemma 4 26B A4B",api: "anthropic-messages",provider: "vercel-ai-gateway",baseUrl: "https://ai-gateway.vercel.sh",@@ -18028,8 +19012,8 @@ export const MODELS = {contextWindow: 32000,maxTokens: 16384,} satisfies Model<"anthropic-messages">,- "inclusionai/ling-3.0-flash-free": {- id: "inclusionai/ling-3.0-flash-free",+ "inclusionai/ling-3.0-flash": {+ id: "inclusionai/ling-3.0-flash",name: "Ling 3.0 Flash",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -18037,13 +19021,13 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0,- output: 0,- cacheRead: 0,+ input: 0.06,+ output: 0.18,+ cacheRead: 0.012,cacheWrite: 0,},contextWindow: 256000,- maxTokens: 256000,+ maxTokens: 32000,} satisfies Model<"anthropic-messages">,"interfaze/interfaze-beta": {id: "interfaze/interfaze-beta",@@ -18215,6 +19199,23 @@ export const MODELS = {contextWindow: 128000,maxTokens: 8192,} satisfies Model<"anthropic-messages">,+ "meta/muse-glimmer-30b": {+ id: "meta/muse-glimmer-30b",+ name: "Muse Glimmer 30B",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.35,+ output: 1.5,+ cacheRead: 0.04,+ cacheWrite: 0,+ },+ contextWindow: 131072,+ maxTokens: 131072,+ } satisfies Model<"anthropic-messages">,"meta/muse-spark-1.1": {id: "meta/muse-spark-1.1",name: "Muse Spark 1.1",@@ -18232,6 +19233,40 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 1048576,} satisfies Model<"anthropic-messages">,+ "meta/muse-spark-1.2": {+ id: "meta/muse-spark-1.2",+ name: "Muse Spark 1.2",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 1.25,+ output: 4.25,+ cacheRead: 0.15,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 1048576,+ } satisfies Model<"anthropic-messages">,+ "meta/muse-spark-1.2-contributor": {+ id: "meta/muse-spark-1.2-contributor",+ name: "Muse Spark 1.2 Contributor",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.09999999999999999,+ output: 0.19999999999999998,+ cacheRead: 0.002,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 1048576,+ } satisfies Model<"anthropic-messages">,"minimax/minimax-m2": {id: "minimax/minimax-m2",name: "MiniMax M2",@@ -19084,23 +20119,6 @@ export const MODELS = {contextWindow: 400000,maxTokens: 128000,} satisfies Model<"anthropic-messages">,- "openai/gpt-5.1-instant": {- id: "openai/gpt-5.1-instant",- name: "GPT-5.1 Instant",- 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.13,- cacheWrite: 0,- },- contextWindow: 128000,- maxTokens: 16384,- } satisfies Model<"anthropic-messages">,"openai/gpt-5.1-thinking": {id: "openai/gpt-5.1-thinking",name: "GPT 5.1 Thinking",@@ -19172,24 +20190,6 @@ export const MODELS = {contextWindow: 400000,maxTokens: 128000,} satisfies Model<"anthropic-messages">,- "openai/gpt-5.3-chat": {- id: "openai/gpt-5.3-chat",- name: "GPT-5.3 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.3-codex": {id: "openai/gpt-5.3-codex",name: "GPT 5.3 Codex",@@ -19574,6 +20574,23 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 1000000,} satisfies Model<"anthropic-messages">,+ "sakana/namazu": {+ id: "sakana/namazu",+ name: "Sakana Namazu",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.95,+ output: 4,+ cacheRead: 0.15,+ cacheWrite: 0,+ },+ contextWindow: 256000,+ maxTokens: 256000,+ } satisfies Model<"anthropic-messages">,"stepfun/step-3.5-flash": {id: "stepfun/step-3.5-flash",name: "StepFun 3.5 Flash",@@ -19829,6 +20846,23 @@ export const MODELS = {contextWindow: 500000,maxTokens: 500000,} satisfies Model<"anthropic-messages">,+ "xai/grok-4.6": {+ id: "xai/grok-4.6",+ name: "Grok 4.6",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 500000,+ } satisfies Model<"anthropic-messages">,"xai/grok-build-0.1": {id: "xai/grok-build-0.1",name: "Grok Build 0.1",@@ -20081,8 +21115,8 @@ export const MODELS = {cacheRead: 0.26,cacheWrite: 0,},- contextWindow: 202000,- maxTokens: 202000,+ contextWindow: 202800,+ maxTokens: 64000,} satisfies Model<"anthropic-messages">,"zai/glm-5.2": {id: "zai/glm-5.2",@@ -20205,6 +21239,23 @@ export const MODELS = {contextWindow: 500000,maxTokens: 500000,} satisfies Model<"openai-completions">,+ "grok-4.6": {+ id: "grok-4.6",+ name: "Grok 4.6",+ api: "openai-completions",+ provider: "xai",+ baseUrl: "https://api.x.ai/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 2,+ output: 6,+ cacheRead: 0.5,+ cacheWrite: 0,+ },+ contextWindow: 500000,+ maxTokens: 500000,+ } satisfies Model<"openai-completions">,"grok-build-0.1": {id: "grok-build-0.1",name: "Grok Build 0.1",@@ -20729,5 +21780,23 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 131072,} satisfies Model<"openai-completions">,+ "glm-5.3": {+ id: "glm-5.3",+ name: "GLM-5.3",+ api: "openai-completions",+ provider: "zai",+ baseUrl: "https://api.z.ai/api/coding/paas/v4",+ compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,},} as const;