🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
đź’„ style: update batch of models (#14070)
Zhijie He6a7eb17cd2ea
diff --git a/packages/model-bank/src/aiModels/baichuan.ts b/packages/model-bank/src/aiModels/baichuan.tsindex 5c15005dfa1..4ce3d4a131e 100644--- a/packages/model-bank/src/aiModels/baichuan.ts+++ b/packages/model-bank/src/aiModels/baichuan.ts@@ -1,6 +1,97 @@import type { AIChatModelCard } from '../types/aiModel';const baichuanChatModels: AIChatModelCard[] = [+ {+ abilities: {+ reasoning: true,+ search: true,+ },+ contextWindowTokens: 32_768,+ description:+ 'We introduce Baichuan-M3, a new-generation medical-enhanced large language model designed to support clinical-grade medical assistance. In contrast to prior approaches that primarily focus on static question answering or superficial role-playing, Baichuan-M3 is trained to explicitly model the clinical decision-making process, aiming to improve usability and reliability in real-world medical practice. Rather than merely producing plausible-sounding answers, fluent doctor-like questioning, or high-frequency but vague recommendations such as “you should seek medical attention as soon as possible,” Baichuan-M3 is explicitly trained to proactively acquire critical clinical information, construct coherent medical reasoning pathways, and systematically constrain hallucination-prone behaviors throughout the decision process. This design endows the model with intrinsic medical-enhanced capabilities aligned with real clinical workflows. Across evaluations of clinical inquiry, medical hallucination robustness, HealthBench, and HealthBench-Hard, Baichuan-M3 surpasses the latest flagship model released by OpenAI, GPT-5.2, establishing a new state of the art in medical-enhanced language models.',+ displayName: 'Baichuan M3 Plus',+ id: 'Baichuan-M3-Plus',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ searchImpl: 'internal',+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 32_768,+ description:+ 'We introduce Baichuan-M3, a new-generation medical-enhanced large language model designed to support clinical-grade medical assistance. In contrast to prior approaches that primarily focus on static question answering or superficial role-playing, Baichuan-M3 is trained to explicitly model the clinical decision-making process, aiming to improve usability and reliability in real-world medical practice. Rather than merely producing plausible-sounding answers, fluent doctor-like questioning, or high-frequency but vague recommendations such as “you should seek medical attention as soon as possible,” Baichuan-M3 is explicitly trained to proactively acquire critical clinical information, construct coherent medical reasoning pathways, and systematically constrain hallucination-prone behaviors throughout the decision process. This design endows the model with intrinsic medical-enhanced capabilities aligned with real clinical workflows. Across evaluations of clinical inquiry, medical hallucination robustness, HealthBench, and HealthBench-Hard, Baichuan-M3 surpasses the latest flagship model released by OpenAI, GPT-5.2, establishing a new state of the art in medical-enhanced language models.',+ displayName: 'Baichuan M3',+ enabled: true,+ id: 'Baichuan-M3',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['reasoningBudgetToken'],+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ search: true,+ },+ contextWindowTokens: 32_768,+ description:+ "We introduce Baichuan-M2, a medically-enhanced reasoning model, designed for real-world medical reasoning tasks. We start from real-world medical questions and conduct reinforcement learning training based on a large-scale verifier system. While maintaining the model's general capabilities, the medical effectiveness of the Baichuan-M2 model has achieved a breakthrough improvement. Baichuan-M2 is the best open-source medical model in the world to date. It surpasses all open-source models, including gpt-oss-120b, as well as many cutting-edge closed-source models on the HealthBench Benchmark. It is the open-source model closest to GPT-5 in medical capabilities. Our practice demonstrates that a robust verifier is crucial for linking model capabilities to the real world and an end-to-end reinforcement learning approach fundamentally enhances the model's medical reasoning abilities. The release of Baichuan-M2 advances the cutting edge of technology in the field of medical artificial intelligence.",+ displayName: 'Baichuan M2 Plus',+ id: 'Baichuan-M2-Plus',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ searchImpl: 'internal',+ },+ type: 'chat',+ },+ {+ abilities: {+ reasoning: true,+ },+ contextWindowTokens: 32_768,+ description:+ "We introduce Baichuan-M2, a medically-enhanced reasoning model, designed for real-world medical reasoning tasks. We start from real-world medical questions and conduct reinforcement learning training based on a large-scale verifier system. While maintaining the model's general capabilities, the medical effectiveness of the Baichuan-M2 model has achieved a breakthrough improvement. Baichuan-M2 is the best open-source medical model in the world to date. It surpasses all open-source models, including gpt-oss-120b, as well as many cutting-edge closed-source models on the HealthBench Benchmark. It is the open-source model closest to GPT-5 in medical capabilities. Our practice demonstrates that a robust verifier is crucial for linking model capabilities to the real world and an end-to-end reinforcement learning approach fundamentally enhances the model's medical reasoning abilities. The release of Baichuan-M2 advances the cutting edge of technology in the field of medical artificial intelligence.",+ displayName: 'Baichuan M2',+ id: 'Baichuan-M2',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 20, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['reasoningBudgetToken'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,diff --git a/packages/model-bank/src/aiModels/bedrock.ts b/packages/model-bank/src/aiModels/bedrock.tsindex 19e58f9b0a3..ab3e80b5154 100644--- a/packages/model-bank/src/aiModels/bedrock.ts+++ b/packages/model-bank/src/aiModels/bedrock.ts@@ -1,6 +1,35 @@import type { AIChatModelCard } from '../types/aiModel';const bedrockChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ "Claude Opus 4.7 is Anthropic's most capable generally available model for complex reasoning and agentic coding.",+ displayName: 'Claude Opus 4.7',+ enabled: true,+ id: 'global.anthropic.claude-opus-4-7',+ maxOutput: 128_000,+ pricing: {+ units: [+ { name: 'textInput_cacheRead', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheWrite', rate: 6.25, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-04-16',+ settings: {+ disabledParams: ['temperature', 'top_p'],+ extendParams: ['disableContextCaching', 'enableAdaptiveThinking', 'opus47Effort'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -12,7 +41,6 @@ const bedrockChatModels: AIChatModelCard[] = [description:"Claude Opus 4.6 is Anthropic's most intelligent model for building agents and coding.",displayName: 'Claude Opus 4.6',- enabled: true,id: 'global.anthropic.claude-opus-4-6-v1',maxOutput: 128_000,pricing: {diff --git a/packages/model-bank/src/aiModels/index.ts b/packages/model-bank/src/aiModels/index.tsindex 747fcd74f81..667550607e2 100644--- a/packages/model-bank/src/aiModels/index.ts+++ b/packages/model-bank/src/aiModels/index.ts@@ -220,7 +220,7 @@ export { default as internlm } from './internlm';export { default as jina } from './jina';export { default as kimicodingplan } from './kimiCodingPlan';export { default as lmstudio } from './lmstudio';-export { default as lobehub } from './lobehub/index';+export { gptImage1Schema, default as lobehub } from './lobehub/index';export { default as longcat } from './longcat';export { default as minimax } from './minimax';export { default as minimaxcodingplan } from './minimaxCodingPlan';@@ -233,7 +233,7 @@ export { default as novita } from './novita';export { default as nvidia } from './nvidia';export { default as ollama } from './ollama';export { default as ollamacloud } from './ollamacloud';-export { gptImage1ParamsSchema, default as openai, openaiChatModels } from './openai';+export { default as openai, openaiChatModels } from './openai';export { default as opencodecodingplan } from './opencodeCodingPlan';export { default as opencodezen } from './opencodeZen';export { default as openrouter } from './openrouter';diff --git a/packages/model-bank/src/aiModels/longcat.ts b/packages/model-bank/src/aiModels/longcat.tsindex 29c5ee37cf9..fe66c6db152 100644--- a/packages/model-bank/src/aiModels/longcat.ts+++ b/packages/model-bank/src/aiModels/longcat.ts@@ -1,6 +1,26 @@import type { AIChatModelCard } from '../types/aiModel';const longcatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'The core features of LongCat-2.0-Preview are as follows: Designed for agent development scenarios, with native support for tool use, multi-step reasoning, and long-context tasks; Excels in code generation, automated workflows, and complex instruction execution; Deeply integrated with productivity tools such as Claude Code, OpenClaw, OpenCode, and Kilo Code.',+ displayName: 'LongCat-2.0-Preview',+ enabled: true,+ id: 'LongCat-2.0-Preview',+ maxOutput: 128_000,+ pricing: {+ units: [+ { name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-04-20',+ type: 'chat',+ },{abilities: {functionCall: true,@@ -11,6 +31,7 @@ const longcatModels: AIChatModelCard[] = [displayName: 'LongCat-Flash-Lite',enabled: true,id: 'LongCat-Flash-Lite',+ maxOutput: 262_144,pricing: {units: [{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },@@ -27,10 +48,11 @@ const longcatModels: AIChatModelCard[] = [},contextWindowTokens: 262_144,description:- 'The LongCat-Flash-Thinking-2601 model has been officially released. As an upgraded reasoning model built on a Mixture-of-Experts (MoE) architecture, it features a total of 560 billion parameters. While maintaining strong competitiveness across traditional reasoning benchmarks, it systematically enhances Agent-level reasoning capabilities through large-scale multi-environment reinforcement learning. Compared to the LongCat-Flash-Thinking model, the key upgrades are as follows: Extreme Robustness in Noisy Environments: Through systematic curriculum-style training targeting noise and uncertainty in real-world settings, the model demonstrates outstanding performance in Agent tool invocation, Agent-based search, and tool-integrated reasoning, with significantly improved generalization. Powerful Agent Capabilities: By constructing a tightly coupled dependency graph encompassing more than 60 tools, and scaling training through multi-environment expansion and large-scale exploratory learning, the model markedly improves its ability to generalize to complex and out-of-distribution real-world scenarios. Advanced Deep Thinking Mode: It expands the breadth of reasoning via parallel inference and deepens analytical capability through recursive feedback-driven summarization and abstraction mechanisms, effectively addressing highly challenging problems.',- displayName: 'LongCat-Flash-Thinking-2601',+ 'To ensure you receive top-tier reasoning performance, the LongCat API platform has unified and upgraded calls to the LongCat-Flash-Thinking model. All existing requests using `model=LongCat-Flash-Thinking` will be automatically routed to the latest version, LongCat-Flash-Thinking-2601, with no code changes required.',+ displayName: 'LongCat-Flash-Thinking',enabled: true,- id: 'LongCat-Flash-Thinking-2601',+ id: 'LongCat-Flash-Thinking',+ maxOutput: 262_144,pricing: {units: [{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },@@ -47,16 +69,17 @@ const longcatModels: AIChatModelCard[] = [},contextWindowTokens: 262_144,description:- 'LongCat-Flash-Thinking has been officially released and open-sourced simultaneously. It is a deep reasoning model that can be used for free conversations within LongCat Chat, or accessed via API by specifying model=LongCat-Flash-Thinking.',- displayName: 'LongCat-Flash-Thinking',- id: 'LongCat-Flash-Thinking',+ 'The LongCat-Flash-Thinking-2601 model has been officially released. As an upgraded reasoning model built on a Mixture-of-Experts (MoE) architecture, it features a total of 560 billion parameters. While maintaining strong competitiveness across traditional reasoning benchmarks, it systematically enhances Agent-level reasoning capabilities through large-scale multi-environment reinforcement learning. Compared to the LongCat-Flash-Thinking model, the key upgrades are as follows: Extreme Robustness in Noisy Environments: Through systematic curriculum-style training targeting noise and uncertainty in real-world settings, the model demonstrates outstanding performance in Agent tool invocation, Agent-based search, and tool-integrated reasoning, with significantly improved generalization. Powerful Agent Capabilities: By constructing a tightly coupled dependency graph encompassing more than 60 tools, and scaling training through multi-environment expansion and large-scale exploratory learning, the model markedly improves its ability to generalize to complex and out-of-distribution real-world scenarios. Advanced Deep Thinking Mode: It expands the breadth of reasoning via parallel inference and deepens analytical capability through recursive feedback-driven summarization and abstraction mechanisms, effectively addressing highly challenging problems.',+ displayName: 'LongCat-Flash-Thinking-2601',+ id: 'LongCat-Flash-Thinking-2601',+ maxOutput: 262_144,pricing: {units: [{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },],},- releasedAt: '2025-09-22',+ releasedAt: '2026-01-14',type: 'chat',},{@@ -69,6 +92,7 @@ const longcatModels: AIChatModelCard[] = [displayName: 'LongCat-Flash-Chat',enabled: true,id: 'LongCat-Flash-Chat',+ maxOutput: 262_144,pricing: {units: [{ name: 'textInput', rate: 0, strategy: 'fixed', unit: 'millionTokens' },diff --git a/packages/model-bank/src/aiModels/openai.ts b/packages/model-bank/src/aiModels/openai.tsindex 224aca3b0ac..43a1df6efde 100644--- a/packages/model-bank/src/aiModels/openai.ts+++ b/packages/model-bank/src/aiModels/openai.ts@@ -1,4 +1,3 @@-import { type ModelParamsSchema } from '../standard-parameters';import {type AIChatModelCard,type AIEmbeddingModelCard,@@ -8,16 +7,7 @@ import {type AITTSModelCard,type AIVideoModelCard,} from '../types/aiModel';-import { gptImage2Schema } from './lobehub';--export const gptImage1ParamsSchema: ModelParamsSchema = {- imageUrls: { default: [] },- prompt: { default: '' },- size: {- default: 'auto',- enum: ['auto', '1024x1024', '1536x1024', '1024x1536'],- },-};+import { gptImage1Schema, gptImage2Schema } from './lobehub';export const openaiChatModels: AIChatModelCard[] = [{@@ -1634,7 +1624,7 @@ export const openaiImageModels: AIImageModelCard[] = ['An enhanced GPT Image 1 model with 4× faster generation, more precise editing, and improved text rendering.',displayName: 'GPT Image 1.5',id: 'gpt-image-1.5',- parameters: gptImage1ParamsSchema,+ parameters: gptImage1Schema,pricing: {approximatePricePerImage: 0.034,units: [@@ -1653,7 +1643,7 @@ export const openaiImageModels: AIImageModelCard[] = [description: 'ChatGPT native multimodal image generation model.',displayName: 'GPT Image 1',id: 'gpt-image-1',- parameters: gptImage1ParamsSchema,+ parameters: gptImage1Schema,pricing: {approximatePricePerImage: 0.042,units: [@@ -1671,7 +1661,7 @@ export const openaiImageModels: AIImageModelCard[] = ['A lower-cost GPT Image 1 variant with native text and image input and image output.',displayName: 'GPT Image 1 Mini',id: 'gpt-image-1-mini',- parameters: gptImage1ParamsSchema,+ parameters: gptImage1Schema,pricing: {approximatePricePerImage: 0.011,units: [diff --git a/packages/model-bank/src/aiModels/qwen.ts b/packages/model-bank/src/aiModels/qwen.tsindex 3de9937c668..75bf2bedd03 100644--- a/packages/model-bank/src/aiModels/qwen.ts+++ b/packages/model-bank/src/aiModels/qwen.ts@@ -7,6 +7,30 @@ import {// https://help.aliyun.com/zh/model-studio/models?spm=a2c4g.11186623const qwenChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ vision: true,+ },+ contextWindowTokens: 262_144,+ description:+ "Kimi K2.6 is Kimi's latest and most capable model, delivering stronger long-horizon coding, instruction following, and self-correction while supporting text, image, and video inputs plus chat and agent tasks.",+ displayName: 'Kimi K2.6',+ id: 'kimi-k2.6',+ maxOutput: 32_768,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 6.5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 27, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -184,6 +208,56 @@ const qwenChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'DeepSeek V4 Flash is the cost-efficient member of the V4 family with a 1M context window and hybrid thinking. Thinking mode is on by default and can be toggled via the `thinking` parameter; non-thinking mode is optimized for latency-sensitive workflows.',+ displayName: 'DeepSeek V4 Flash',+ id: 'deepseek-v4-flash',+ maxOutput: 393_216,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['enableReasoning', 'deepseekV4ReasoningEffort'],+ searchImpl: 'params',+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'DeepSeek V4 Pro is the flagship of the V4 family, optimized for high-intensity reasoning, agentic workflows, and long-horizon planning. Thinking mode is on by default and can be toggled via the `thinking` parameter.',+ displayName: 'DeepSeek V4 Pro',+ id: 'deepseek-v4-pro',+ maxOutput: 393_216,+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 12, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 24, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ settings: {+ extendParams: ['enableReasoning', 'deepseekV4ReasoningEffort'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -205,6 +279,7 @@ const qwenChatModels: AIChatModelCard[] = [},settings: {extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ searchImpl: 'params',},type: 'chat',},@@ -229,6 +304,7 @@ const qwenChatModels: AIChatModelCard[] = [},settings: {extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ searchImpl: 'params',},type: 'chat',},@@ -253,6 +329,7 @@ const qwenChatModels: AIChatModelCard[] = [},settings: {extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ searchImpl: 'params',},type: 'chat',},@@ -305,6 +382,51 @@ const qwenChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ },+ contextWindowTokens: 202_752,+ description:+ 'GLM-5.1 is Zhipu’s latest flagship model, aligned with Claude Opus 4.6 on overall and coding capabilities. It excels at long-horizon tasks, able to autonomously plan, execute, and iterate for up to 8 hours in a single task, making it an ideal foundation for Autonomous Agents and long-horizon Coding Agents.',+ displayName: 'GLM-5.1',+ id: 'glm-5.1',+ maxOutput: 16_384,+ pricing: {+ currency: 'CNY',+ units: [+ {+ lookup: {+ prices: {+ '[0, 0.032]': 6,+ '[0.032, infinity]': 8,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textInput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ {+ lookup: {+ prices: {+ '[0, 0.032]': 24,+ '[0.032, infinity]': 28,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textOutput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ ],+ },+ settings: {+ extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -818,6 +940,33 @@ const qwenChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ video: true,+ vision: true,+ },+ contextWindowTokens: 262_144,+ description:+ 'The Qwen 3.6 series 27B is a native vision-language dense model. Compared to version 3.5-27B, it delivers significant improvements in agentic coding capabilities, with further enhancements in STEM performance and reasoning ability. On the visual side, it shows notable gains in spatial intelligence, object localization, and detection, while also steadily improving in video understanding, document OCR, and visual agent capabilities.',+ displayName: 'Qwen3.6-27B',+ id: 'qwen3.6-27b',+ maxOutput: 65_536,+ organization: 'Qwen',+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 18, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -1687,6 +1836,88 @@ const qwenChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ video: true,+ vision: true,+ },+ config: {+ deploymentName: 'qwen3.5-plus-2026-04-20', // Supports context caching+ },+ contextWindowTokens: 1_000_000,+ description:+ 'Qwen 3.5 is a native vision-language Plus model. Compared to the February 15 snapshot, this version delivers substantial improvements in agentic coding capabilities and significantly faster inference speed. Its knowledge, reasoning, and long-context abilities remain at a high level, meeting the demands of complex agent tasks. It is well-suited for coding agents, production workflows, and high-throughput scenarios. This version corresponds to the April 20, 2026 snapshot.',+ displayName: 'Qwen3.5 Plus 2026-04-20',+ id: 'qwen3.5-plus-2026-04-20',+ maxOutput: 65_536,+ organization: 'Qwen',+ pricing: {+ currency: 'CNY',+ units: [+ {+ lookup: {+ prices: {+ '[0, 0.128]': 0.8 * 0.1,+ '[0.128, 0.256]': 2 * 0.1,+ '[0.256, infinity]': 4 * 0.1,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textInput_cacheRead',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ {+ lookup: {+ prices: {+ '[0, 0.128]': 0.8 * 1.25,+ '[0.128, 0.256]': 2 * 1.25,+ '[0.256, infinity]': 4 * 1.25,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textInput_cacheWrite',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ {+ lookup: {+ prices: {+ '[0, 0.128]': 0.8,+ '[0.128, 0.256]': 2,+ '[0.256, infinity]': 4,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textInput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ {+ lookup: {+ prices: {+ '[0, 0.128]': 4.8,+ '[0.128, 0.256]': 12,+ '[0.256, infinity]': 24,+ },+ pricingParams: ['textInputRange'],+ },+ name: 'textOutput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning', 'reasoningBudgetToken'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -1851,6 +2082,7 @@ const qwenChatModels: AIChatModelCard[] = [description:'The largest closed-source model in the Qwen3.6 series. It delivers stronger world knowledge, instruction following, and agentic coding performance for complex tasks. It is text-only, supports thinking mode by default, explicit caching, and function calling.',displayName: 'Qwen3.6 Max Preview',+ enabled: true,id: 'qwen3.6-max-preview',maxOutput: 65_536,organization: 'Qwen',@@ -1915,7 +2147,6 @@ const qwenChatModels: AIChatModelCard[] = [description:'Qwen3 Max models deliver large gains over the 2.5 series in general ability, Chinese/English understanding, complex instruction following, subjective open tasks, multilingual ability, and tool use, with fewer hallucinations. The latest qwen3-max improves agentic programming and tool use over qwen3-max-preview. This release reaches field SOTA and targets more complex agent needs.',displayName: 'Qwen3 Max',- enabled: true,id: 'qwen3-max',maxOutput: 65_536,organization: 'Qwen',@@ -2996,6 +3227,9 @@ const qwenChatModels: AIChatModelCard[] = [],},releasedAt: '2025-05-28',+ settings: {+ searchImpl: 'params',+ },type: 'chat',},{@@ -3018,6 +3252,9 @@ const qwenChatModels: AIChatModelCard[] = [],},releasedAt: '2025-01-27',+ settings: {+ searchImpl: 'params',+ },type: 'chat',},{@@ -3166,12 +3403,38 @@ const qwenImageModels: AIImageModelCard[] = [releasedAt: '2025-12-19',type: 'image',},+ {+ description:+ 'The Qwen-Image-2.0 series full-version model integrates image generation and image editing into a unified capability. It supports more professional text rendering with up to 1k token instruction capacity, delivers more delicate and realistic visual textures, enables fine-grained depiction of realistic scenes, and demonstrates stronger semantic alignment with prompts. The full-version model provides the strongest text rendering capability and the highest level of realism within the 2.0 series.',+ displayName: 'Qwen Image 2.0 Pro 2026-04-22',+ id: 'qwen-image-2.0-pro-2026-04-22',+ enabled: true,+ organization: 'Qwen',+ parameters: {+ height: { default: 1024, max: 4096, min: 256, step: 1 },+ imageUrls: {+ default: [],+ },+ prompt: {+ default: '',+ },+ seed: { default: null },+ width: { default: 1024, max: 4096, min: 256, step: 1 },+ promptExtend: { default: false },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'imageGeneration', rate: 0.5, strategy: 'fixed', unit: 'image' }],+ },+ releasedAt: '2026-04-22',+ type: 'image',+ },{description:'The Qwen-Image-2.0 series full-version model integrates image generation and image editing into a unified capability. It supports more professional text rendering with up to 1k token instruction capacity, delivers more delicate and realistic visual textures, enables fine-grained depiction of realistic scenes, and demonstrates stronger semantic alignment with prompts. The full-version model provides the strongest text rendering capability and the highest level of realism within the 2.0 series.',displayName: 'Qwen Image 2.0 Pro',id: 'qwen-image-2.0-pro',- enabled: true,organization: 'Qwen',parameters: {height: { default: 1024, max: 4096, min: 256, step: 1 },@@ -3721,11 +3984,124 @@ const qwenImageModels: AIImageModelCard[] = [];const qwenVideoModels: AIVideoModelCard[] = [+ {+ description:+ 'HappyHorse-1.0-I2V supports text-to-video generation, delivering highly faithful dynamic visuals. It can accurately understand textual semantics and produce high-quality videos that are smooth, natural, and rich in detail.',+ displayName: 'HappyHorse-1.0-I2V',+ enabled: true,+ id: 'happyhorse-1.0-i2v',+ parameters: {+ duration: { default: 5, max: 15, min: 3 },+ imageUrl: {+ default: null,+ },+ prompt: { default: '' },+ resolution: {+ default: '1080P',+ enum: ['720P', '1080P'],+ },+ seed: { default: null },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],+ },+ releasedAt: '2026-04-22',+ type: 'video',+ },+ {+ description:+ 'HappyHorse-1.0-R2V supports reference-based video generation, offering more stable subject and scene consistency. It supports up to 9 reference images, accurately preserves creative intent, and delivers enhanced expressive capability.',+ displayName: 'HappyHorse-1.0-R2V',+ enabled: true,+ id: 'happyhorse-1.0-r2v',+ parameters: {+ aspectRatio: {+ default: '16:9',+ enum: ['16:9', '9:16', '1:1', '4:3', '3:4'],+ },+ duration: { default: 5, max: 10, min: 3 },+ imageUrls: {+ default: [],+ maxCount: 9,+ },+ prompt: { default: '' },+ resolution: {+ default: '1080P',+ enum: ['720P', '1080P'],+ },+ seed: { default: null },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],+ },+ releasedAt: '2026-04-26',+ type: 'video',+ },+ {+ description:+ 'HappyHorse-1.0-T2V supports text-to-video generation, delivering highly faithful dynamic visuals. It can accurately understand textual semantics and produce high-quality videos that are smooth, natural, and rich in detail.',+ displayName: 'HappyHorse-1.0-T2V',+ enabled: true,+ id: 'happyhorse-1.0-t2v',+ parameters: {+ aspectRatio: {+ default: '16:9',+ enum: ['16:9', '9:16', '1:1', '4:3', '3:4'],+ },+ duration: { default: 5, max: 15, min: 3 },+ prompt: { default: '' },+ resolution: {+ default: '1080P',+ enum: ['720P', '1080P'],+ },+ seed: { default: null },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'videoGeneration', rate: 1.6, strategy: 'fixed', unit: 'second' }],+ },+ releasedAt: '2026-04-21',+ type: 'video',+ },{description:'Wanxiang 2.7 Image-to-Video delivers a comprehensive upgrade in performance capabilities. Dramatic scenes feature delicate and natural emotional expression, while action sequences are intense and impactful. Combined with more dynamic and rhythmically driven shot transitions, it achieves stronger overall performance and storytelling.',- displayName: 'Wan2.7 I2V',+ displayName: 'Wan2.7 I2V 2026-04-25',enabled: true,+ id: 'wan2.7-i2v-2026-04-25',+ parameters: {+ duration: { default: 5, max: 15, min: 2 },+ endImageUrl: {+ default: null,+ },+ imageUrl: {+ default: null,+ },+ prompt: { default: '' },+ resolution: {+ default: '1080P',+ enum: ['720P', '1080P'],+ },+ seed: { default: null },+ promptExtend: { default: false },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],+ },+ releasedAt: '2026-04-26',+ type: 'video',+ },+ {+ description:+ 'Wanxiang 2.7 Image-to-Video delivers a comprehensive upgrade in performance capabilities. Dramatic scenes feature delicate and natural emotional expression, while action sequences are intense and impactful. Combined with more dynamic and rhythmically driven shot transitions, it achieves stronger overall performance and storytelling.',+ displayName: 'Wan2.7 I2V',id: 'wan2.7-i2v',parameters: {duration: { default: 5, max: 15, min: 2 },@@ -3786,8 +4162,35 @@ const qwenVideoModels: AIVideoModelCard[] = [{description:'Wanxiang 2.7 Text-to-Video delivers a comprehensive upgrade in performance capabilities. Dramatic scenes feature delicate and natural emotional expression, while action sequences are intense and impactful. Enhanced with more dynamic and rhythmically driven shot transitions, it achieves stronger overall acting and storytelling performance.',- displayName: 'Wan2.7 T2V',+ displayName: 'Wan2.7 T2V 2026-04-25',enabled: true,+ id: 'wan2.7-t2v-2026-04-25',+ parameters: {+ aspectRatio: {+ default: '16:9',+ enum: ['16:9', '9:16', '1:1', '4:3', '3:4'],+ },+ duration: { default: 5, max: 15, min: 2 },+ prompt: { default: '' },+ resolution: {+ default: '1080P',+ enum: ['720P', '1080P'],+ },+ seed: { default: null },+ promptExtend: { default: false },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'videoGeneration', rate: 1, strategy: 'fixed', unit: 'second' }],+ },+ releasedAt: '2026-04-26',+ type: 'video',+ },+ {+ description:+ 'Wanxiang 2.7 Text-to-Video delivers a comprehensive upgrade in performance capabilities. Dramatic scenes feature delicate and natural emotional expression, while action sequences are intense and impactful. Enhanced with more dynamic and rhythmically driven shot transitions, it achieves stronger overall acting and storytelling performance.',+ displayName: 'Wan2.7 T2V',id: 'wan2.7-t2v',parameters: {aspectRatio: {@@ -3815,7 +4218,6 @@ const qwenVideoModels: AIVideoModelCard[] = [description:'Wanxiang 2.6 introduces multi-shot narrative capabilities, while also supporting automatic voiceover generation and the ability to incorporate custom audio files.',displayName: 'Wan2.6 I2V Flash',- enabled: true,id: 'wan2.6-i2v-flash',parameters: {duration: { default: 5, max: 15, min: 2 },@@ -3869,7 +4271,6 @@ const qwenVideoModels: AIVideoModelCard[] = [description:'Wanxiang 2.6 Reference-to-Video – Flash offers faster generation and better cost performance. It supports referencing specific characters or any objects, accurately maintaining consistency in appearance and voice, and enables multi-character reference for co-performance.',displayName: 'Wan2.6 R2V Flash',- enabled: true,id: 'wan2.6-r2v-flash',parameters: {duration: { default: 5, max: 10, min: 2 },@@ -3947,7 +4348,6 @@ const qwenVideoModels: AIVideoModelCard[] = [description:'Wanxiang 2.6 introduces multi-shot narrative capabilities, while also supporting automatic voiceover generation and the ability to incorporate custom audio files.',displayName: 'Wan2.6 T2V',- enabled: true,id: 'wan2.6-t2v',parameters: {duration: { default: 5, max: 15, min: 2 },diff --git a/packages/model-bank/src/aiModels/stepfun.ts b/packages/model-bank/src/aiModels/stepfun.tsindex a61c16a05e7..920a3d409ba 100644--- a/packages/model-bank/src/aiModels/stepfun.ts+++ b/packages/model-bank/src/aiModels/stepfun.ts@@ -3,6 +3,28 @@ import type { AIChatModelCard, AIImageModelCard } from '../types/aiModel';// https://platform.stepfun.com/docs/pricing/detailsconst stepfunChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ },+ contextWindowTokens: 256_000,+ description:+ 'Built on Step 3.5 Flash and optimized for high-frequency agent scenarios, it further improves token efficiency and inference speed while retaining flagship-level reasoning and tool-calling capabilities. It also supports switching to a low-reasoning mode to reduce resource consumption. Additionally, targeted optimizations have been made to enhance compatibility with coding tasks and agent frameworks.',+ displayName: 'Step 3.5 Flash 2603',+ enabled: true,+ id: 'step-3.5-flash-2603',+ pricing: {+ currency: 'CNY',+ units: [+ { name: 'textInput_cacheRead', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.7, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 2.1, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -13,7 +35,6 @@ const stepfunChatModels: AIChatModelCard[] = [description:'Stepfun’s flagship language reasoning model.This model has top-notch reasoning capabilities and fast and reliable execution capabilities.Able to decompose and plan complex tasks, call tools quickly and reliably to perform tasks, and be competent in various complex tasks such as logical reasoning, mathematics, software engineering, and in-depth research.',displayName: 'Step 3.5 Flash',- enabled: true,id: 'step-3.5-flash',pricing: {currency: 'CNY',diff --git a/packages/model-bank/src/aiModels/wenxin.ts b/packages/model-bank/src/aiModels/wenxin.tsindex 6f6054c921e..00d4588e39d 100644--- a/packages/model-bank/src/aiModels/wenxin.ts+++ b/packages/model-bank/src/aiModels/wenxin.ts@@ -3,6 +3,56 @@ import type { AIChatModelCard, AIImageModelCard, AIVideoModelCard } from '../typ// https://cloud.baidu.com/doc/qianfan/s/rmh4stp0jconst wenxinChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ video: true,+ vision: true,+ },+ contextWindowTokens: 131_072,+ description:+ 'ERNIE 5.0, the new-generation model in the ERNIE series, is a natively multimodal large model. It adopts a unified multimodal modeling approach, jointly modeling text, images, audio, and video to deliver comprehensive multimodal capabilities. Its foundational abilities have been significantly upgraded, achieving strong performance on benchmark evaluations. It particularly excels in multimodal understanding, instruction following, creative writing, factual accuracy, agent planning, and tool utilization.',+ displayName: 'ERNIE 5.0',+ enabled: true,+ id: 'ernie-5.0',+ maxOutput: 65_536,+ pricing: {+ currency: 'CNY',+ units: [+ {+ lookup: {+ prices: {+ '[0, 0.032]': 6,+ '[0.032, 0.128]': 10,+ },+ pricingParams: ['textInput'],+ },+ name: 'textInput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ {+ lookup: {+ prices: {+ '[0, 0.032]': 24,+ '[0.032, 0.128]': 40,+ },+ pricingParams: ['textInput'],+ },+ name: 'textOutput',+ strategy: 'lookup',+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-03-05',+ settings: {+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -15,7 +65,6 @@ const wenxinChatModels: AIChatModelCard[] = [description:'Wenxin 5.0 Thinking is a native full-modal flagship model with unified text, image, audio, and video modeling. It delivers broad capability upgrades for complex QA, creation, and agent scenarios.',displayName: 'ERNIE 5.0 Thinking',- enabled: true,id: 'ernie-5.0-thinking-latest',maxOutput: 65_536,pricing: {@@ -1780,11 +1829,32 @@ const wenxinImageModels: AIImageModelCard[] = [},type: 'image',},+ {+ description:+ 'ERNIE-Image is an 8B-parameter text-to-image model developed by Baidu. It ranks among the top on multiple benchmarks, achieving a tied first place in SuperCLUE in China and leading in the open-source track.',+ displayName: 'ERNIE Image Turbo',+ enabled: true,+ id: 'ernie-image-turbo',+ parameters: {+ prompt: {+ default: '',+ },+ size: {+ default: '1024x1024',+ enum: ['1024x1024', '848x1264', '768x1376', '896x1200', '1264x848', '1376x768', '1200x896'],+ },+ watermark: { default: false },+ },+ pricing: {+ currency: 'CNY',+ units: [{ name: 'imageGeneration', rate: 0.11, strategy: 'fixed', unit: 'image' }],+ },+ type: 'image',+ },{description:'ERNIE iRAG is an image retrieval-augmented generation model for image search, image-text retrieval, and content generation.',displayName: 'ERNIE iRAG',- enabled: true,id: 'irag-1.0',parameters: {height: { default: 1024, max: 2048, min: 512, step: 1 },@@ -1805,7 +1875,6 @@ const wenxinImageModels: AIImageModelCard[] = [description:'ERNIE iRAG Edit is an image editing model supporting erasing, repainting, and variant generation.',displayName: 'ERNIE iRAG Edit',- enabled: true,id: 'ernie-irag-edit',parameters: {height: { default: 1024, max: 2048, min: 512, step: 1 },diff --git a/packages/model-bank/src/aiModels/xai.ts b/packages/model-bank/src/aiModels/xai.tsindex 67974d5251b..db1d6d545ee 100644--- a/packages/model-bank/src/aiModels/xai.ts+++ b/packages/model-bank/src/aiModels/xai.ts@@ -5,16 +5,15 @@ const xaiChatModels: AIChatModelCard[] = [{abilities: {functionCall: true,- reasoning: true,search: true,structuredOutput: true,vision: true,},contextWindowTokens: 2_000_000,- description: 'Intelligent, blazing-fast model that reasons before responding',- displayName: 'Grok 4.20 Beta',+ description: 'A non-reasoning variant for simple use cases',+ displayName: 'Grok 4.20 (Non-Reasoning)',enabled: true,- id: 'grok-4.20-beta-0309-reasoning',+ id: 'grok-4.20-0309-non-reasoning',pricing: {units: [{@@ -55,15 +54,16 @@ const xaiChatModels: AIChatModelCard[] = [{abilities: {functionCall: true,+ reasoning: true,search: true,structuredOutput: true,vision: true,},contextWindowTokens: 2_000_000,- description: 'A non-reasoning variant for simple use cases',- displayName: 'Grok 4.20 Beta (Non-Reasoning)',+ description: 'Intelligent, blazing-fast model that reasons before responding',+ displayName: 'Grok 4.20',enabled: true,- id: 'grok-4.20-beta-0309-non-reasoning',+ id: 'grok-4.20-0309-reasoning',pricing: {units: [{@@ -111,9 +111,9 @@ const xaiChatModels: AIChatModelCard[] = [contextWindowTokens: 2_000_000,description:'A team of 4 or 16 agents, Excels at research use cases, Does not currently support client-side tools. Only supports xAI server side tools (eg X Search, Web Search tools) and remote MCP tools.',- displayName: 'Grok 4.20 Multi-Agent Beta',+ displayName: 'Grok 4.20 Multi-Agent',enabled: true,- id: 'grok-4.20-multi-agent-beta-0309',+ id: 'grok-4.20-multi-agent-0309',pricing: {units: [{@@ -235,192 +235,6 @@ const xaiChatModels: AIChatModelCard[] = [},type: 'chat',},- {- abilities: {- functionCall: true,- search: true,- structuredOutput: true,- vision: true,- },- contextWindowTokens: 2_000_000,- description:- 'We’re excited to release Grok 4 Fast, our latest progress in cost-effective reasoning models.',- displayName: 'Grok 4 Fast (Non-Reasoning)',- id: 'grok-4-fast-non-reasoning',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },- {- name: 'textInput',- strategy: 'tiered',- tiers: [- { rate: 0.2, upTo: 0.128 },- { rate: 0.4, upTo: 'infinity' },- ],- unit: 'millionTokens',- },- {- name: 'textOutput',- strategy: 'tiered',- tiers: [- { rate: 0.5, upTo: 0.128 },- { rate: 1, upTo: 'infinity' },- ],- unit: 'millionTokens',- },- ],- },- releasedAt: '2025-09-09',- settings: {- searchImpl: 'params',- },- type: 'chat',- },- {- abilities: {- functionCall: true,- reasoning: true,- search: true,- structuredOutput: true,- vision: true,- },- contextWindowTokens: 2_000_000,- description:- 'We’re excited to release Grok 4 Fast, our latest progress in cost-effective reasoning models.',- displayName: 'Grok 4 Fast',- id: 'grok-4-fast-reasoning',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },- {- name: 'textInput',- strategy: 'tiered',- tiers: [- { rate: 0.2, upTo: 0.128 },- { rate: 0.4, upTo: 'infinity' },- ],- unit: 'millionTokens',- },- {- name: 'textOutput',- strategy: 'tiered',- tiers: [- { rate: 0.5, upTo: 0.128 },- { rate: 1, upTo: 'infinity' },- ],- unit: 'millionTokens',- },- ],- },- releasedAt: '2025-09-09',- settings: {- searchImpl: 'params',- },- type: 'chat',- },- {- abilities: {- functionCall: true,- reasoning: true,- structuredOutput: true,- },- contextWindowTokens: 256_000,- description:- 'We’re excited to launch grok-code-fast-1, a fast and cost-effective reasoning model that excels at agentic coding.',- displayName: 'Grok Code Fast 1',- id: 'grok-code-fast-1',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textInput', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },- ],- },- releasedAt: '2025-08-27',- // settings: {- // reasoning_effort is not supported by grok-code. Specifying reasoning_effort parameter will get an error response.- // extendParams: ['reasoningEffort'],- // },- type: 'chat',- },- {- abilities: {- functionCall: true,- reasoning: true,- search: true,- structuredOutput: true,- vision: true,- },- contextWindowTokens: 256_000,- description:- 'Our newest and strongest flagship model, excelling in NLP, math, and reasoning—an ideal all-rounder.',- displayName: 'Grok 4 0709',- id: 'grok-4',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 15, strategy: 'fixed', unit: 'millionTokens' },- ],- },- releasedAt: '2025-07-09',- settings: {- // reasoning_effort is not supported by grok-4. Specifying reasoning_effort parameter will get an error response.- // extendParams: ['reasoningEffort'],- searchImpl: 'params',- },- type: 'chat',- },- {- abilities: {- functionCall: true,- search: true,- structuredOutput: true,- },- contextWindowTokens: 131_072,- description:- 'A flagship model that excels at enterprise use cases like data extraction, coding, and summarization, with deep domain knowledge in finance, healthcare, law, and science.',- displayName: 'Grok 3',- id: 'grok-3',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.75, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 15, strategy: 'fixed', unit: 'millionTokens' },- ],- },- releasedAt: '2025-04-03',- settings: {- searchImpl: 'params',- },- type: 'chat',- },- {- abilities: {- functionCall: true,- reasoning: true,- search: true,- structuredOutput: true,- },- contextWindowTokens: 131_072,- description:- 'A lightweight model that thinks before responding. It’s fast and smart for logic tasks that don’t require deep domain knowledge, with access to raw reasoning traces.',- displayName: 'Grok 3 Mini',- id: 'grok-3-mini',- pricing: {- units: [- { name: 'textInput_cacheRead', rate: 0.075, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },- { name: 'textOutput', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },- ],- },- releasedAt: '2025-04-03',- settings: {- extendParams: ['reasoningEffort'],- searchImpl: 'params',- },- type: 'chat',- },];const xaiImageModels: AIImageModelCard[] = [diff --git a/packages/model-bank/src/aiModels/xiaomimimo.ts b/packages/model-bank/src/aiModels/xiaomimimo.tsindex ab1385c1310..0bdf80012f4 100644--- a/packages/model-bank/src/aiModels/xiaomimimo.ts+++ b/packages/model-bank/src/aiModels/xiaomimimo.ts@@ -120,7 +120,6 @@ const xiaomimimoChatModels: AIChatModelCard[] = [description:'MiMo-V2-Pro is specifically designed for high-intensity agent workflows in real-world scenarios. It features over 1 trillion total parameters (42B activated parameters), adopts an innovative hybrid attention architecture, and supports an ultra-long context length of up to 1 million tokens. Built on a powerful foundational model, we continuously scale computational resources across a broader range of agent scenarios, further expanding the action space of intelligence and achieving significant generalization—from coding to real-world task execution (“claw”).',displayName: 'MiMo-V2 Pro',- enabled: true,id: 'mimo-v2-pro',maxOutput: 131_072,pricing: {@@ -175,7 +174,6 @@ const xiaomimimoChatModels: AIChatModelCard[] = [description:'MiMo-V2-Omni is purpose-built for complex multimodal interaction and execution scenarios in the real world. We constructed a full-modality foundation from the ground up, integrating text, vision, and speech, and unified “perception” and “action” within a single architecture. This not only breaks the traditional limitation of models that emphasize understanding over execution, but also endows the model with native capabilities in multimodal perception, tool usage, function execution, and GUI operations. MiMo-V2-Omni can seamlessly integrate with major agent frameworks, achieving a leap from understanding to control while significantly lowering the barrier to deploying fully multimodal agents.',displayName: 'MiMo-V2 Omni',- enabled: true,id: 'mimo-v2-omni',maxOutput: 131_072,pricing: {diff --git a/packages/model-runtime/src/providers/baichuan/index.ts b/packages/model-runtime/src/providers/baichuan/index.tsindex 5af3aae6332..058c22dc0dd 100644--- a/packages/model-runtime/src/providers/baichuan/index.ts+++ b/packages/model-runtime/src/providers/baichuan/index.ts@@ -18,7 +18,7 @@ export const params = {baseURL: 'https://api.baichuan-ai.com/v1',chatCompletion: {handlePayload: (payload: ChatStreamPayload) => {- const { enabledSearch, temperature, tools, ...rest } = payload;+ const { model, enabledSearch, temperature, thinking, tools, ...rest } = payload;const baichuanTools = enabledSearch? [@@ -38,8 +38,19 @@ export const params = {return {...rest,+ model,temperature: resolvedParams.temperature,tools: baichuanTools,+ ...(model?.startsWith('Baichuan-M') && {+ frequency_penalty: undefined,+ presence_penalty: undefined,+ }),+ ...(thinking && {+ budget_tokens:+ thinking?.budget_tokens === 0+ ? 0+ : Math.min(thinking?.budget_tokens, 1024) || undefined,+ }),} as any;},},diff --git a/packages/model-runtime/src/providers/longcat/index.ts b/packages/model-runtime/src/providers/longcat/index.tsindex 1c03f315350..a3fd9ea7cef 100644--- a/packages/model-runtime/src/providers/longcat/index.ts+++ b/packages/model-runtime/src/providers/longcat/index.ts@@ -1,16 +1,21 @@-import { ModelProvider } from 'model-bank';+import { longcat as longchatCahtModels, ModelProvider } from 'model-bank';import { createOpenAICompatibleRuntime } from '../../core/openaiCompatibleFactory';+import { getModelMaxOutputs } from '../../utils/getModelMaxOutputs';export const LobeLongCatAI = createOpenAICompatibleRuntime({baseURL: 'https://api.longcat.chat/openai/v1',chatCompletion: {handlePayload: (payload) => {- const { frequency_penalty, presence_penalty, ...rest } = payload;+ const { frequency_penalty, max_tokens, presence_penalty, ...rest } = payload;return {...rest,frequency_penalty: undefined,+ max_tokens:+ max_tokens !== undefined+ ? max_tokens+ : getModelMaxOutputs(payload.model, longchatCahtModels),presence_penalty: undefined,stream: true,} as any;diff --git a/packages/model-runtime/src/providers/qwen/createVideo.ts b/packages/model-runtime/src/providers/qwen/createVideo.tsindex b6ef0fd0f30..491e54f2b17 100644--- a/packages/model-runtime/src/providers/qwen/createVideo.ts+++ b/packages/model-runtime/src/providers/qwen/createVideo.ts@@ -237,7 +237,7 @@ async function createVideoTask(if (media.length > 0) {input.media = media;}- } else if (model.startsWith('wan2.7')) {+ } else if (model.startsWith('wan2.7') || model.startsWith('happyhorse')) {const media = [];if (imageUrl) {media.push({diff --git a/packages/model-runtime/src/providers/wenxin/createImage.ts b/packages/model-runtime/src/providers/wenxin/createImage.tsindex 5ac025789e5..9647f72e6c5 100644--- a/packages/model-runtime/src/providers/wenxin/createImage.ts+++ b/packages/model-runtime/src/providers/wenxin/createImage.ts@@ -36,6 +36,8 @@ export async function createWenxinImage(if (model.startsWith('musesteamer')) {endpoint = `${baseURL}/musesteamer/images/generations`;+ } else if (model.startsWith('ernie-image')) {+ endpoint = `${baseURL}/ernie-image/images/generations`;} else {if (images) {endpoint = `${baseURL}/images/edits`;diff --git a/src/store/image/slices/generationConfig/selectors.test.ts b/src/store/image/slices/generationConfig/selectors.test.tsindex bc7ca4ed6aa..22dacc46b7e 100644--- a/src/store/image/slices/generationConfig/selectors.test.ts+++ b/src/store/image/slices/generationConfig/selectors.test.ts@@ -3,7 +3,7 @@ import {type ModelParamsSchema,type RuntimeImageGenParams,} from 'model-bank';-import { gptImage1ParamsSchema } from 'model-bank';+import { gptImage1Schema } from 'model-bank';import { describe, expect, it, vi } from 'vitest';import { type ImageStore } from '@/store/image';@@ -25,7 +25,7 @@ vi.mock('@/store/aiInfra', () => ({id: 'gpt-image-1',displayName: 'GPT Image 1',type: 'image',- parameters: gptImage1ParamsSchema,+ parameters: gptImage1Schema,releasedAt: '2024-12-01',} as AIImageModelCard,],@@ -198,7 +198,7 @@ describe('imageGenerationConfigSelectors', () => {});it('should work correctly with gpt-image-1 parameters', () => {- const state = merge(initialStore, { parametersSchema: gptImage1ParamsSchema });+ const state = merge(initialStore, { parametersSchema: gptImage1Schema });// Test some known gpt-image-1 parametersexpect(imageGenerationConfigSelectors.isSupportedParam('prompt')(state)).toBe(true);