Skip to content

🤯 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.

💄 style: add Gemini 3.5 Flash to LobeHub provider (#15017)

YuTengjingb68760d0caf2
diff --git a/packages/model-bank/src/aiModels/google.ts b/packages/model-bank/src/aiModels/google.ts
index 344856320aa..b09e03520d2 100644
--- a/packages/model-bank/src/aiModels/google.ts
+++ b/packages/model-bank/src/aiModels/google.ts
@@ -118,6 +118,7 @@ const googleChatModels: AIChatModelCard[] = [
functionCall: true,
reasoning: true,
search: true,
+ structuredOutput: true,
video: true,
vision: true,
},
@@ -132,6 +133,9 @@ const googleChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput_cacheRead', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },
{
lookup: { prices: { '1h': 1 }, pricingParams: ['ttl'] },
diff --git a/packages/model-bank/src/aiModels/lobehub/chat/google.ts b/packages/model-bank/src/aiModels/lobehub/chat/google.ts
index f88084ceeb6..236a0e1bc0e 100644
--- a/packages/model-bank/src/aiModels/lobehub/chat/google.ts
+++ b/packages/model-bank/src/aiModels/lobehub/chat/google.ts
@@ -1,6 +1,46 @@
import type { AIChatModelCard } from '../../../types/aiModel';
export const googleChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ video: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_048_576 + 65_536,
+ description:
+ "Gemini's most intelligent model built for speed, combining frontier intelligence with superior search and grounding.",
+ displayName: 'Gemini 3.5 Flash',
+ enabled: true,
+ id: 'gemini-3.5-flash',
+ maxOutput: 65_536,
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },
+ {
+ lookup: { prices: { '1h': 1 }, pricingParams: ['ttl'] },
+ name: 'textInput_cacheWrite',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-05-19',
+ settings: {
+ extendParams: ['thinkingLevel', 'urlContext'],
+ searchImpl: 'params',
+ searchProvider: 'google',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -137,7 +177,6 @@ export const googleChatModels: AIChatModelCard[] = [
description:
"Gemini 3 Flash Preview is Google's latest best-value model, improving on Gemini 2.5 Flash.",
displayName: 'Gemini 3 Flash Preview',
- enabled: true,
id: 'gemini-3-flash-preview',
maxOutput: 65_536,
pricing: {
diff --git a/packages/model-bank/src/aiModels/vertexai.ts b/packages/model-bank/src/aiModels/vertexai.ts
index 46905935467..5cca45d1f7e 100644
--- a/packages/model-bank/src/aiModels/vertexai.ts
+++ b/packages/model-bank/src/aiModels/vertexai.ts
@@ -8,6 +8,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
functionCall: true,
reasoning: true,
search: true,
+ structuredOutput: true,
video: true,
vision: true,
},
@@ -22,6 +23,9 @@ const vertexaiChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput_cacheRead', rate: 0.15, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'videoInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'audioInput', rate: 1.5, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 9, strategy: 'fixed', unit: 'millionTokens' },
{
lookup: { prices: { '1h': 1 }, pricingParams: ['ttl'] },