π€― 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(model-bank): add GPT-5.6, Grok 4.5, Sonnet 5, Nano Banana 2 Lite (#16992)
YuTengjingf7130fe8139d
diff --git a/packages/locales/src/default/models.ts b/packages/locales/src/default/models.tsindex f6db62a52c2..15d987b6c27 100644--- a/packages/locales/src/default/models.ts+++ b/packages/locales/src/default/models.ts@@ -10,31 +10,15 @@ LOBE_DEFAULT_MODEL_LIST.forEach((model) => {// #region LobeHub online model descriptionsconst lobeHubOnlineModelLocales = {- 'claude-sonnet-5.description':- "Claude Sonnet 5 is Anthropic's most agentic Sonnet model, built for sustained coding, tool use, and long-context workflows with Sonnet-tier speed and efficiency.",- 'dola-seedream-5-0-pro-260628.description':- 'ByteDance Seedream 5.0 Pro by BytePlus is a high-precision image generation model with precise control over element positioning, supporting text-to-image and single-image editing at 2K resolution.','dreamina-seedance-2-0-260128.description':'Seedance 2.0 by ByteDance is the most powerful video generation model, supporting multimodal reference video generation, video editing, video extension, text-to-video, and image-to-video with synchronized audio.','dreamina-seedance-2-0-fast-260128.description':'Seedance 2.0 Fast by ByteDance offers the same capabilities as Seedance 2.0 with faster generation speeds at a more competitive price.','fal-ai/bytedance/seedream/v4.5.description':'Seedream 4.5, built by ByteDance Seed team, supports multi-image editing and composition. Features enhanced subject consistency, precise instruction following, spatial logic understanding, aesthetic expression, poster layout and logo design with high-precision text-image rendering.',- 'gemini-3.1-flash-lite-image:image.description':- "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is Google's fastest and most cost-efficient image generation model, built for high-volume generation and editing.",- 'gemini-3.1-flash-lite-image.description':- "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is Google's fastest and most cost-efficient image generation model, built for high-volume generation and editing.",- 'gpt-5.6-luna.description':- 'GPT-5.6 Luna is optimized for cost-sensitive, high-volume workloads with the lowest price in the GPT-5.6 family.',- 'gpt-5.6-sol.description':- "GPT-5.6 Sol is OpenAI's frontier model for complex reasoning, coding, and long-horizon agentic work. The gpt-5.6 alias routes to Sol.",- 'gpt-5.6-terra.description':- 'GPT-5.6 Terra balances intelligence and cost for everyday professional work, competitive with GPT-5.5 at about half the price.','grok-4.20-beta-0309-non-reasoning.description': 'A non-reasoning variant for simple use cases','grok-4.20-beta-0309-reasoning.description':'Intelligent, blazing-fast model that reasons before responding',- 'grok-4.5.description':- "SpaceXAI's flagship model for coding, agentic tasks, and knowledge work β configurable reasoning (low/medium/high, always on).",'lobehub-glm-5.2-fast.description':'Fast variant of GLM-5.2 with substantially lower latency. Same capabilities as GLM-5.2 β costs more, but responds much faster.','seedance-1-5-pro-251215.description':diff --git a/packages/model-bank/src/aiModels/anthropic.ts b/packages/model-bank/src/aiModels/anthropic.tsindex 79172ee3d67..05b3d37c8e3 100644--- a/packages/model-bank/src/aiModels/anthropic.ts+++ b/packages/model-bank/src/aiModels/anthropic.ts@@ -35,6 +35,43 @@ const anthropicChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ "Claude Sonnet 5 is Anthropic's most agentic Sonnet model, built for sustained coding, tool use, and long-context workflows with Sonnet-tier speed and efficiency.",+ displayName: 'Claude Sonnet 5',+ enabled: true,+ family: 'claude-sonnet',+ generation: 'claude-5',+ id: 'claude-sonnet-5',+ knowledgeCutoff: '2026-01',+ maxOutput: 128_000,+ // Introductory pricing, in effect through 2026-08-31. From 2026-09-01 standard rates apply:+ // input 3 / output 15 / cacheRead 0.3 / cacheWrite 3.75 (per million tokens).+ // See https://platform.claude.com/docs/en/about-claude/pricing+ pricing: {+ units: [+ { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheWrite', rate: 2.5, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-06-30',+ settings: {+ disabledParams: ['temperature', 'top_p'],+ extendParams: ['disableContextCaching', 'enableAdaptiveThinking', 'opus47Effort'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,diff --git a/packages/model-bank/src/aiModels/google.ts b/packages/model-bank/src/aiModels/google.tsindex 25f23215344..af80f5b7a02 100644--- a/packages/model-bank/src/aiModels/google.ts+++ b/packages/model-bank/src/aiModels/google.ts@@ -1,4 +1,5 @@import {+ nanoBanana2LiteParameters,nanoBanana2Parameters,nanoBananaParameters,nanoBananaProParameters,@@ -205,6 +206,40 @@ const googleChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ // no functionCall: the runtime always requests ['Text', 'Image'] modalities for+ // nano-banana models, and Vertex AI rejects function declarations in that mode+ imageOutput: true,+ reasoning: true,+ vision: true,+ },+ contextWindowTokens: 65_536 + 4_096,+ description:+ "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is Google's fastest and most cost-efficient image generation model, built for high-volume generation and editing.",+ displayName: 'Nano Banana 2 Lite',+ enabled: true,+ family: 'gemini',+ generation: 'gemini-3.1',+ id: 'gemini-3.1-flash-lite-image',+ knowledgeCutoff: '2025-01',+ maxOutput: 4_096,+ pricing: {+ approximatePricePerImage: 0.034,+ units: [+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'imageInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-06-30',+ settings: {+ // no imageResolution2: output resolution is fixed at 1K for the Lite model+ extendParams: ['imageAspectRatio2'],+ },+ type: 'chat',+ },{abilities: {audio: true,@@ -824,6 +859,25 @@ const googleImageModels: AIImageModelCard[] = [],},},+ {+ displayName: 'Nano Banana 2 Lite',+ id: 'gemini-3.1-flash-lite-image:image',+ type: 'image',+ enabled: true,+ description:+ "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is Google's fastest and most cost-efficient image generation model, built for high-volume generation and editing.",+ releasedAt: '2026-06-30',+ parameters: nanoBanana2LiteParameters,+ pricing: {+ approximatePricePerImage: 0.034,+ units: [+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'imageInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ },{displayName: 'Nano Banana Pro',id: 'gemini-3-pro-image-preview:image',diff --git a/packages/model-bank/src/aiModels/openai.ts b/packages/model-bank/src/aiModels/openai.tsindex f74b0d79d6b..a89fb598ace 100644--- a/packages/model-bank/src/aiModels/openai.ts+++ b/packages/model-bank/src/aiModels/openai.ts@@ -36,6 +36,201 @@ export const openaiChatModels: AIChatModelCard[] = [},type: 'chat',},+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 1_050_000,+ description:+ "GPT-5.6 Sol is OpenAI's frontier model for complex reasoning, coding, and long-horizon agentic work. The gpt-5.6 alias routes to Sol.",+ displayName: 'GPT-5.6 Sol',+ enabled: true,+ family: 'gpt',+ generation: 'gpt-5.6',+ id: 'gpt-5.6-sol',+ knowledgeCutoff: '2026-02',+ maxOutput: 128_000,+ pricing: {+ units: [+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 5, upTo: 272_000 },+ { rate: 10, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.5, upTo: 272_000 },+ { rate: 1, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheWrite',+ strategy: 'tiered',+ tiers: [+ { rate: 6.25, upTo: 272_000 },+ { rate: 12.5, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 30, upTo: 272_000 },+ { rate: 45, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-07-09',+ settings: {+ extendParams: ['reasoningMode', 'gpt5_6ReasoningEffort', 'textVerbosity'],+ searchImpl: 'params',+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 1_050_000,+ description:+ 'GPT-5.6 Terra balances intelligence and cost for everyday professional work, competitive with GPT-5.5 at about half the price.',+ displayName: 'GPT-5.6 Terra',+ enabled: true,+ family: 'gpt',+ generation: 'gpt-5.6',+ id: 'gpt-5.6-terra',+ knowledgeCutoff: '2026-02',+ maxOutput: 128_000,+ pricing: {+ units: [+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 2.5, upTo: 272_000 },+ { rate: 5, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.25, upTo: 272_000 },+ { rate: 0.5, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheWrite',+ strategy: 'tiered',+ tiers: [+ { rate: 3.125, upTo: 272_000 },+ { rate: 6.25, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 15, upTo: 272_000 },+ { rate: 22.5, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-07-09',+ settings: {+ extendParams: ['reasoningMode', 'gpt5_6ReasoningEffort', 'textVerbosity'],+ searchImpl: 'params',+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 1_050_000,+ description:+ 'GPT-5.6 Luna is optimized for cost-sensitive, high-volume workloads with the lowest price in the GPT-5.6 family.',+ displayName: 'GPT-5.6 Luna',+ enabled: true,+ family: 'gpt',+ generation: 'gpt-5.6',+ id: 'gpt-5.6-luna',+ knowledgeCutoff: '2026-02',+ maxOutput: 128_000,+ pricing: {+ units: [+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 1, upTo: 272_000 },+ { rate: 2, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.1, upTo: 272_000 },+ { rate: 0.2, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheWrite',+ strategy: 'tiered',+ tiers: [+ { rate: 1.25, upTo: 272_000 },+ { rate: 2.5, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 6, upTo: 272_000 },+ { rate: 9, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-07-09',+ settings: {+ extendParams: ['reasoningMode', 'gpt5_6ReasoningEffort', 'textVerbosity'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,diff --git a/packages/model-bank/src/aiModels/xai.ts b/packages/model-bank/src/aiModels/xai.tsindex c8e01b8d8a8..7f47280193c 100644--- a/packages/model-bank/src/aiModels/xai.ts+++ b/packages/model-bank/src/aiModels/xai.ts@@ -2,6 +2,36 @@ import type { AIChatModelCard, AIImageModelCard, AIVideoModelCard } from '../typ// https://docs.x.ai/docs/modelsconst xaiChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ vision: true,+ },+ contextWindowTokens: 500_000,+ description:+ "SpaceXAI's flagship model for coding, agentic tasks, and knowledge work β configurable reasoning (low/medium/high, always on).",+ displayName: 'Grok 4.5',+ enabled: true,+ family: 'grok',+ generation: 'grok-4.5',+ id: 'grok-4.5',+ pricing: {+ units: [+ { name: 'textInput_cacheRead', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },+ ],+ },+ releasedAt: '2026-07-08',+ settings: {+ extendParams: ['grok4_5ReasoningEffort'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,@@ -23,7 +53,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput_cacheRead',strategy: 'tiered',tiers: [- { rate: 0.2, upTo: 0.2 },+ { rate: 0.2, upTo: 200_000 },{ rate: 0.4, upTo: 'infinity' },],unit: 'millionTokens',@@ -32,7 +62,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput',strategy: 'tiered',tiers: [- { rate: 1.25, upTo: 0.2 },+ { rate: 1.25, upTo: 200_000 },{ rate: 2.5, upTo: 'infinity' },],unit: 'millionTokens',@@ -41,7 +71,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textOutput',strategy: 'tiered',tiers: [- { rate: 2.5, upTo: 0.2 },+ { rate: 2.5, upTo: 200_000 },{ rate: 5, upTo: 'infinity' },],unit: 'millionTokens',@@ -75,7 +105,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput_cacheRead',strategy: 'tiered',tiers: [- { rate: 0.2, upTo: 0.2 },+ { rate: 0.2, upTo: 200_000 },{ rate: 0.4, upTo: 'infinity' },],unit: 'millionTokens',@@ -84,7 +114,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput',strategy: 'tiered',tiers: [- { rate: 1.25, upTo: 0.2 },+ { rate: 1.25, upTo: 200_000 },{ rate: 2.5, upTo: 'infinity' },],unit: 'millionTokens',@@ -93,7 +123,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textOutput',strategy: 'tiered',tiers: [- { rate: 2.5, upTo: 0.2 },+ { rate: 2.5, upTo: 200_000 },{ rate: 5, upTo: 'infinity' },],unit: 'millionTokens',@@ -127,7 +157,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput_cacheRead',strategy: 'tiered',tiers: [- { rate: 0.2, upTo: 0.2 },+ { rate: 0.2, upTo: 200_000 },{ rate: 0.4, upTo: 'infinity' },],unit: 'millionTokens',@@ -136,7 +166,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput',strategy: 'tiered',tiers: [- { rate: 1.25, upTo: 0.2 },+ { rate: 1.25, upTo: 200_000 },{ rate: 2.5, upTo: 'infinity' },],unit: 'millionTokens',@@ -145,7 +175,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textOutput',strategy: 'tiered',tiers: [- { rate: 2.5, upTo: 0.2 },+ { rate: 2.5, upTo: 200_000 },{ rate: 5, upTo: 'infinity' },],unit: 'millionTokens',@@ -179,7 +209,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput_cacheRead',strategy: 'tiered',tiers: [- { rate: 0.2, upTo: 0.2 },+ { rate: 0.2, upTo: 200_000 },{ rate: 0.4, upTo: 'infinity' },],unit: 'millionTokens',@@ -188,7 +218,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textInput',strategy: 'tiered',tiers: [- { rate: 1.25, upTo: 0.2 },+ { rate: 1.25, upTo: 200_000 },{ rate: 2.5, upTo: 'infinity' },],unit: 'millionTokens',@@ -197,7 +227,7 @@ const xaiChatModels: AIChatModelCard[] = [name: 'textOutput',strategy: 'tiered',tiers: [- { rate: 2.5, upTo: 0.2 },+ { rate: 2.5, upTo: 200_000 },{ rate: 5, upTo: 'infinity' },],unit: 'millionTokens',diff --git a/packages/model-bank/src/const/imageParameters.ts b/packages/model-bank/src/const/imageParameters.tsindex 47ceb4b4d3f..d0f84e35fe7 100644--- a/packages/model-bank/src/const/imageParameters.ts+++ b/packages/model-bank/src/const/imageParameters.ts@@ -69,6 +69,18 @@ export const nanoBananaProParameters: ModelParamsSchema = {},};+// Nano Banana 2 Lite has no resolution control (fixed 1K output)+export const nanoBanana2LiteParameters: ModelParamsSchema = {+ aspectRatio: {+ default: 'auto',+ enum: NANO_BANANA_2_ASPECT_RATIOS,+ },+ imageUrls: {+ default: [],+ },+ prompt: { default: '' },+};+export const nanoBanana2Parameters: ModelParamsSchema = {aspectRatio: {default: 'auto',