A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
chore(ai): regenerate the model catalog from live provider catalogs (#1632)
eliee319a66d7351
diff --git a/packages/ai/.changes/regenerate-model-catalog.md b/packages/ai/.changes/regenerate-model-catalog.mdnew file mode 100644index 0000000000..207a9d7de0--- /dev/null+++ b/packages/ai/.changes/regenerate-model-catalog.md@@ -0,0 +1 @@+- Refreshed the generated model catalog from live provider catalogs: added GLM 5.3 (OpenRouter, Prime Inference), DeepSeek V4 Flash Vision Exp, and Inkling free routes; followed the Vercel AI Gateway `xai/` to `spacexai/` grok rename; picked up repricing for gpt-5.6-sol, Gemini 3.6 Flash, and others.diff --git a/packages/ai/src/models.generated.ts b/packages/ai/src/models.generated.tsindex 47f153211f..3403f5fec7 100644--- a/packages/ai/src/models.generated.ts+++ b/packages/ai/src/models.generated.ts@@ -5289,10 +5289,10 @@ export const MODELS = {thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},input: ["text", "image"],cost: {- input: 5,- output: 30,- cacheRead: 0.5,- cacheWrite: 6.25,+ input: 2.5,+ output: 15,+ cacheRead: 0.25,+ cacheWrite: 3.125,},contextWindow: 1050000,maxTokens: 128000,@@ -5620,9 +5620,9 @@ export const MODELS = {thinkingLevelMap: {"off":null},input: ["text", "image"],cost: {- input: 1.5,- output: 7.5,- cacheRead: 0.15,+ input: 0.75,+ output: 3.75,+ cacheRead: 0.075,cacheWrite: 0,},contextWindow: 1048576,@@ -5655,9 +5655,9 @@ 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: 1048576,@@ -5672,9 +5672,9 @@ export const MODELS = {reasoning: true,input: ["text", "image"],cost: {- input: 0.25,- output: 1.5,- cacheRead: 0.025,+ input: 0.3,+ output: 2.5,+ cacheRead: 0.03,cacheWrite: 0,},contextWindow: 1048576,@@ -9505,25 +9505,6 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 384000,} satisfies Model<"openai-completions">,- "deepseek-v4-flash-free": {- id: "deepseek-v4-flash-free",- 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","max":null},- input: ["text"],- cost: {- input: 0,- output: 0,- cacheRead: 0,- cacheWrite: 0,- },- contextWindow: 200000,- maxTokens: 128000,- } satisfies Model<"openai-completions">,"deepseek-v4-pro": {id: "deepseek-v4-pro",name: "DeepSeek V4 Pro",@@ -10018,10 +9999,10 @@ export const MODELS = {thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"max":"max"},input: ["text", "image"],cost: {- input: 2.5,- output: 15,- cacheRead: 0.25,- cacheWrite: 3.125,+ input: 2,+ output: 10,+ cacheRead: 0.2,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -10351,6 +10332,23 @@ export const MODELS = {contextWindow: 262144,maxTokens: 65536,} satisfies Model<"anthropic-messages">,+ "x-preview-f-free": {+ id: "x-preview-f-free",+ name: "Ox Alpha Free (Unlimited)",+ api: "openai-completions",+ provider: "opencode",+ baseUrl: "https://opencode.ai/zen/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,},"opencode-go": {"deepseek-v4-flash": {@@ -10372,6 +10370,25 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 384000,} satisfies Model<"openai-completions">,+ "deepseek-v4-flash-vision-exp": {+ id: "deepseek-v4-flash-vision-exp",+ name: "DeepSeek V4 Flash Vision Exp",+ 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","max":null},+ input: ["text", "image"],+ cost: {+ input: 0.22,+ output: 0.66,+ cacheRead: 0.007,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 384000,+ } satisfies Model<"openai-completions">,"deepseek-v4-pro": {id: "deepseek-v4-pro",name: "DeepSeek V4 Pro (New)",@@ -10631,6 +10648,23 @@ export const MODELS = {contextWindow: 1048576,maxTokens: 131072,} satisfies Model<"openai-responses">,+ "ox-alpha-free": {+ id: "ox-alpha-free",+ name: "Ox Alpha Free (Unlimited)",+ api: "openai-completions",+ provider: "opencode-go",+ baseUrl: "https://opencode.ai/zen/go/v1",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,"qwen3.6-plus": {id: "qwen3.6-plus",name: "Qwen3.6 Plus",@@ -11478,11 +11512,11 @@ export const MODELS = {cost: {input: 0.27,output: 1,- cacheRead: 0,+ cacheRead: 0.135,cacheWrite: 0,},contextWindow: 163840,- maxTokens: 163840,+ maxTokens: 32768,} satisfies Model<"openai-completions">,"deepseek/deepseek-v3.2": {id: "deepseek/deepseek-v3.2",@@ -11533,9 +11567,9 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max","max":null},input: ["text"],cost: {- input: 0.0868,- output: 0.1736,- cacheRead: 0.01736,+ input: 0.08106,+ output: 0.16212,+ cacheRead: 0.016212,cacheWrite: 0,},contextWindow: 1048576,@@ -11552,13 +11586,32 @@ 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.08,+ output: 0.18,+ cacheRead: 0.016,cacheWrite: 0,},contextWindow: 1310720,- maxTokens: 393216,+ maxTokens: 384000,+ } satisfies Model<"openai-completions">,+ "deepseek/deepseek-v4-flash-vision-exp": {+ id: "deepseek/deepseek-v4-flash-vision-exp",+ name: "DeepSeek: DeepSeek V4 Flash Vision Exp",+ 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", "image"],+ cost: {+ input: 0.22,+ output: 0.66,+ cacheRead: 0.007,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 384000,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-pro": {id: "deepseek/deepseek-v4-pro",@@ -11976,13 +12029,13 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.09,+ input: 0.09999999999999999,output: 0.33999999999999997,- cacheRead: 0.049999999999999996,+ cacheRead: 0.09999999999999999,cacheWrite: 0,},contextWindow: 262144,- maxTokens: 16384,+ maxTokens: 262144,} satisfies Model<"openai-completions">,"google/gemma-4-31b-it:free": {id: "google/gemma-4-31b-it:free",@@ -12176,7 +12229,7 @@ export const MODELS = {cacheRead: 0,cacheWrite: 0,},- contextWindow: 128000,+ contextWindow: 65536,maxTokens: 8192,} satisfies Model<"openai-completions">,"meituan/longcat-2.0": {@@ -12293,13 +12346,13 @@ export const MODELS = {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,+ input: 0.3,+ output: 1.1,cacheRead: 0.04,cacheWrite: 0,},contextWindow: 131072,- maxTokens: 4096,+ maxTokens: 131072,} satisfies Model<"openai-completions">,"meta/muse-spark-1.1": {id: "meta/muse-spark-1.1",@@ -12405,13 +12458,13 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text"],cost: {- input: 0.22499999999999998,- output: 0.8999999999999999,- cacheRead: 0.06,+ input: 0.27,+ output: 0.95,+ cacheRead: 0.03,cacheWrite: 0,},contextWindow: 204800,- maxTokens: 4096,+ maxTokens: 32768,} satisfies Model<"openai-completions">,"minimax/minimax-m2.7": {id: "minimax/minimax-m2.7",@@ -12683,12 +12736,12 @@ export const MODELS = {reasoning: false,input: ["text", "image"],cost: {- input: 0.09375,- output: 0.25,+ input: 0.075,+ output: 0.19999999999999998,cacheRead: 0,cacheWrite: 0,},- contextWindow: 256000,+ contextWindow: 131072,maxTokens: 16384,} satisfies Model<"openai-completions">,"mistralai/mixtral-8x22b-instruct": {@@ -12827,9 +12880,9 @@ export const MODELS = {thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},input: ["text", "image"],cost: {- input: 0.71,- output: 3.5,- cacheRead: 0.15,+ input: 0.67,+ output: 3.4,+ cacheRead: 0.16999999999999998,cacheWrite: 0,},contextWindow: 262144,@@ -13739,10 +13792,10 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},input: ["text", "image"],cost: {- input: 2.5,- output: 15,- cacheRead: 0.25,- cacheWrite: 3.125,+ input: 2,+ output: 10,+ cacheRead: 0.19999999999999998,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -13757,10 +13810,10 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},input: ["text", "image"],cost: {- input: 2.5,- output: 15,- cacheRead: 0.25,- cacheWrite: 3.125,+ input: 2,+ output: 10,+ cacheRead: 0.19999999999999998,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -15039,7 +15092,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1048576,- maxTokens: 262144,+ maxTokens: 131072,} satisfies Model<"openai-completions">,"qwen/qwen3.8-27b": {id: "qwen/qwen3.8-27b",@@ -15164,6 +15217,24 @@ export const MODELS = {contextWindow: 131072,maxTokens: 16384,} satisfies Model<"openai-completions">,+ "stealth/ox-alpha": {+ id: "stealth/ox-alpha",+ name: "Ox Alpha",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,"stepfun/step-3.5-flash": {id: "stepfun/step-3.5-flash",name: "StepFun: Step 3.5 Flash",@@ -15287,7 +15358,43 @@ export const MODELS = {cacheRead: 0.09999999999999999,cacheWrite: 0,},- contextWindow: 524288,+ contextWindow: 1048576,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,+ "thinkingmachines/inkling-small:free": {+ id: "thinkingmachines/inkling-small:free",+ name: "Thinking Machines: Inkling Small (free)",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,+ maxTokens: 262144,+ } satisfies Model<"openai-completions">,+ "thinkingmachines/inkling:free": {+ id: "thinkingmachines/inkling:free",+ name: "Thinking Machines: Inkling (free)",+ api: "openai-completions",+ provider: "openrouter",+ baseUrl: "https://openrouter.ai/api/v1",+ reasoning: true,+ thinkingLevelMap: {"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},+ input: ["text", "image"],+ cost: {+ input: 0,+ output: 0,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 262144,maxTokens: 262144,} satisfies Model<"openai-completions">,"upstage/solar-pro-3": {@@ -15806,12 +15913,12 @@ export const MODELS = {input: ["text"],cost: {input: 0.065,- output: 0.14,- cacheRead: 0.014,+ output: 0.18,+ cacheRead: 0.02,cacheWrite: 0,},contextWindow: 1310720,- maxTokens: 262144,+ maxTokens: 1048576,} satisfies Model<"openai-completions">,"~google/gemini-flash-latest": {id: "~google/gemini-flash-latest",@@ -15877,10 +15984,10 @@ export const MODELS = {thinkingLevelMap: {"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},input: ["text", "image"],cost: {- input: 2.5,- output: 15,- cacheRead: 0.25,- cacheWrite: 3.125,+ input: 2,+ output: 10,+ cacheRead: 0.19999999999999998,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -16249,7 +16356,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 163840,- maxTokens: 163840,+ maxTokens: 32768,} satisfies Model<"openai-completions">,"deepseek/deepseek-v3.2": {id: "deepseek/deepseek-v3.2",@@ -16327,7 +16434,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 1310720,- maxTokens: 393216,+ maxTokens: 384000,} satisfies Model<"openai-completions">,"deepseek/deepseek-v4-pro": {id: "deepseek/deepseek-v4-pro",@@ -16589,7 +16696,7 @@ export const MODELS = {cacheWrite: 0,},contextWindow: 204800,- maxTokens: 8192,+ maxTokens: 32768,} satisfies Model<"openai-completions">,"minimax/minimax-m2.7": {id: "minimax/minimax-m2.7",@@ -17924,6 +18031,25 @@ export const MODELS = {maxTokens: 131072,featured: true,} satisfies Model<"openai-completions">,+ "z-ai/glm-5.3": {+ id: "z-ai/glm-5.3",+ name: "GLM 5.3",+ api: "openai-completions",+ provider: "prime-inference",+ baseUrl: "https://api.pinference.ai/api/v1",+ compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"zai"},+ reasoning: true,+ thinkingLevelMap: {"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},+ input: ["text"],+ cost: {+ input: 1.4,+ output: 4.4,+ cacheRead: 0,+ cacheWrite: 0,+ },+ contextWindow: 1048576,+ maxTokens: 131072,+ } satisfies Model<"openai-completions">,},"vercel-ai-gateway": {"alibaba/qwen-3-14b": {@@ -18358,7 +18484,7 @@ export const MODELS = {provider: "vercel-ai-gateway",baseUrl: "https://ai-gateway.vercel.sh",reasoning: true,- input: ["text"],+ input: ["text", "image"],cost: {input: 2,output: 6,@@ -18947,9 +19073,26 @@ export const MODELS = {reasoning: true,input: ["text"],cost: {- input: 0.13,- output: 0.26,- cacheRead: 0.028,+ input: 0.07600000000000001,+ output: 0.153,+ cacheRead: 0.014,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 384000,+ } satisfies Model<"anthropic-messages">,+ "deepseek/deepseek-v4-flash-vision-exp": {+ id: "deepseek/deepseek-v4-flash-vision-exp",+ name: "DeepSeek V4 Flash Vision Exp",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.22,+ output: 0.66,+ cacheRead: 0.007,cacheWrite: 0,},contextWindow: 1000000,@@ -20820,10 +20963,10 @@ export const MODELS = {thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},input: ["text", "image"],cost: {- input: 2.5,- output: 15,- cacheRead: 0.25,- cacheWrite: 3.125,+ input: 2,+ output: 10,+ cacheRead: 0.19999999999999998,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -20838,10 +20981,10 @@ export const MODELS = {thinkingLevelMap: {"xhigh":"xhigh","minimal":null,"max":"max"},input: ["text", "image"],cost: {- input: 5,- output: 30,- cacheRead: 0.5,- cacheWrite: 3.125,+ input: 4,+ output: 20,+ cacheRead: 0.39999999999999997,+ cacheWrite: 2.5,},contextWindow: 1050000,maxTokens: 128000,@@ -21137,93 +21280,8 @@ export const MODELS = {contextWindow: 256000,maxTokens: 256000,} satisfies Model<"anthropic-messages">,- "stepfun/step-3.5-flash": {- id: "stepfun/step-3.5-flash",- name: "StepFun 3.5 Flash",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text", "image"],- cost: {- input: 0.09,- output: 0.3,- cacheRead: 0.02,- cacheWrite: 0,- },- contextWindow: 262114,- maxTokens: 262114,- } satisfies Model<"anthropic-messages">,- "stepfun/step-3.7-flash": {- id: "stepfun/step-3.7-flash",- name: "Step 3.7 Flash",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text", "image"],- cost: {- input: 0.19999999999999998,- output: 1.15,- cacheRead: 0.04,- cacheWrite: 0,- },- contextWindow: 256000,- maxTokens: 256000,- } satisfies Model<"anthropic-messages">,- "tencent/hy3": {- id: "tencent/hy3",- name: "Hy3",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text"],- cost: {- input: 0.14,- output: 0.58,- cacheRead: 0.035,- cacheWrite: 0,- },- contextWindow: 262144,- maxTokens: 262144,- } satisfies Model<"anthropic-messages">,- "thinkingmachines/inkling": {- id: "thinkingmachines/inkling",- name: "Inkling",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text", "image"],- cost: {- input: 1,- output: 4.05,- cacheRead: 0.16999999999999998,- cacheWrite: 0,- },- contextWindow: 256000,- maxTokens: 256000,- } satisfies Model<"anthropic-messages">,- "thinkingmachines/inkling-small": {- id: "thinkingmachines/inkling-small",- name: "Inkling Small",- api: "anthropic-messages",- provider: "vercel-ai-gateway",- baseUrl: "https://ai-gateway.vercel.sh",- reasoning: true,- input: ["text", "image"],- cost: {- input: 0.5,- output: 1.2,- cacheRead: 0.09999999999999999,- cacheWrite: 0,- },- contextWindow: 1000000,- maxTokens: 1000000,- } satisfies Model<"anthropic-messages">,- "xai/grok-4.1-fast-non-reasoning": {- id: "xai/grok-4.1-fast-non-reasoning",+ "spacexai/grok-4.1-fast-non-reasoning": {+ id: "spacexai/grok-4.1-fast-non-reasoning",name: "Grok 4.1 Fast Non-Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21239,8 +21297,8 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 1000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.1-fast-reasoning": {- id: "xai/grok-4.1-fast-reasoning",+ "spacexai/grok-4.1-fast-reasoning": {+ id: "spacexai/grok-4.1-fast-reasoning",name: "Grok 4.1 Fast Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21256,8 +21314,8 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 1000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-multi-agent": {- id: "xai/grok-4.20-multi-agent",+ "spacexai/grok-4.20-multi-agent": {+ id: "spacexai/grok-4.20-multi-agent",name: "Grok 4.20 Multi-Agent",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21273,8 +21331,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-multi-agent-beta": {- id: "xai/grok-4.20-multi-agent-beta",+ "spacexai/grok-4.20-multi-agent-beta": {+ id: "spacexai/grok-4.20-multi-agent-beta",name: "Grok 4.20 Multi Agent Beta",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21290,8 +21348,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-non-reasoning": {- id: "xai/grok-4.20-non-reasoning",+ "spacexai/grok-4.20-non-reasoning": {+ id: "spacexai/grok-4.20-non-reasoning",name: "Grok 4.20 Non-Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21307,8 +21365,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-non-reasoning-beta": {- id: "xai/grok-4.20-non-reasoning-beta",+ "spacexai/grok-4.20-non-reasoning-beta": {+ id: "spacexai/grok-4.20-non-reasoning-beta",name: "Grok 4.20 Beta Non-Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21324,8 +21382,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-reasoning": {- id: "xai/grok-4.20-reasoning",+ "spacexai/grok-4.20-reasoning": {+ id: "spacexai/grok-4.20-reasoning",name: "Grok 4.20 Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21341,8 +21399,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.20-reasoning-beta": {- id: "xai/grok-4.20-reasoning-beta",+ "spacexai/grok-4.20-reasoning-beta": {+ id: "spacexai/grok-4.20-reasoning-beta",name: "Grok 4.20 Beta Reasoning",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21358,8 +21416,8 @@ export const MODELS = {contextWindow: 2000000,maxTokens: 2000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.3": {- id: "xai/grok-4.3",+ "spacexai/grok-4.3": {+ id: "spacexai/grok-4.3",name: "Grok 4.3",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21375,8 +21433,8 @@ export const MODELS = {contextWindow: 1000000,maxTokens: 1000000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.5": {- id: "xai/grok-4.5",+ "spacexai/grok-4.5": {+ id: "spacexai/grok-4.5",name: "Grok 4.5",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21392,8 +21450,8 @@ export const MODELS = {contextWindow: 500000,maxTokens: 500000,} satisfies Model<"anthropic-messages">,- "xai/grok-4.6": {- id: "xai/grok-4.6",+ "spacexai/grok-4.6": {+ id: "spacexai/grok-4.6",name: "Grok 4.6",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21409,8 +21467,8 @@ export const MODELS = {contextWindow: 500000,maxTokens: 500000,} satisfies Model<"anthropic-messages">,- "xai/grok-build-0.1": {- id: "xai/grok-build-0.1",+ "spacexai/grok-build-0.1": {+ id: "spacexai/grok-build-0.1",name: "Grok Build 0.1",api: "anthropic-messages",provider: "vercel-ai-gateway",@@ -21426,6 +21484,91 @@ export const MODELS = {contextWindow: 256000,maxTokens: 256000,} satisfies Model<"anthropic-messages">,+ "stepfun/step-3.5-flash": {+ id: "stepfun/step-3.5-flash",+ name: "StepFun 3.5 Flash",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.09,+ output: 0.3,+ cacheRead: 0.02,+ cacheWrite: 0,+ },+ contextWindow: 262114,+ maxTokens: 262114,+ } satisfies Model<"anthropic-messages">,+ "stepfun/step-3.7-flash": {+ id: "stepfun/step-3.7-flash",+ name: "Step 3.7 Flash",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.19999999999999998,+ output: 1.15,+ cacheRead: 0.04,+ cacheWrite: 0,+ },+ contextWindow: 256000,+ maxTokens: 256000,+ } satisfies Model<"anthropic-messages">,+ "tencent/hy3": {+ id: "tencent/hy3",+ name: "Hy3",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text"],+ cost: {+ input: 0.13199999999999998,+ output: 0.5279999999999999,+ cacheRead: 0.032999999999999995,+ cacheWrite: 0,+ },+ contextWindow: 256000,+ maxTokens: 128000,+ } satisfies Model<"anthropic-messages">,+ "thinkingmachines/inkling": {+ id: "thinkingmachines/inkling",+ name: "Inkling",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 1,+ output: 4.05,+ cacheRead: 0.16999999999999998,+ cacheWrite: 0,+ },+ contextWindow: 256000,+ maxTokens: 256000,+ } satisfies Model<"anthropic-messages">,+ "thinkingmachines/inkling-small": {+ id: "thinkingmachines/inkling-small",+ name: "Inkling Small",+ api: "anthropic-messages",+ provider: "vercel-ai-gateway",+ baseUrl: "https://ai-gateway.vercel.sh",+ reasoning: true,+ input: ["text", "image"],+ cost: {+ input: 0.5,+ output: 1.2,+ cacheRead: 0.09999999999999999,+ cacheWrite: 0,+ },+ contextWindow: 1000000,+ maxTokens: 1000000,+ } satisfies Model<"anthropic-messages">,"xiaomi/mimo-v2.5": {id: "xiaomi/mimo-v2.5",name: "MiMo M2.5",