Skip to content

Commit 98778cf

Browse files
authored
💄 style: Add Gemini 2.5 Flash-Lite GA model (#8539)
1 parent 68c6a9f commit 98778cf

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

src/config/aiModels/google.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const googleChatModels: AIChatModelCard[] = [
1717
id: 'gemini-2.5-pro',
1818
maxOutput: 65_536,
1919
pricing: {
20+
cachedInput: 0.31, // prompts <= 200k tokens
2021
input: 1.25, // prompts <= 200k tokens
2122
output: 10, // prompts <= 200k tokens
2223
},
@@ -177,6 +178,32 @@ const googleChatModels: AIChatModelCard[] = [
177178
},
178179
type: 'chat',
179180
},
181+
{
182+
abilities: {
183+
functionCall: true,
184+
reasoning: true,
185+
search: true,
186+
vision: true,
187+
},
188+
contextWindowTokens: 1_048_576 + 65_536,
189+
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
190+
displayName: 'Gemini 2.5 Flash-Lite',
191+
enabled: true,
192+
id: 'gemini-2.5-flash-lite',
193+
maxOutput: 65_536,
194+
pricing: {
195+
cachedInput: 0.025,
196+
input: 0.1,
197+
output: 0.4,
198+
},
199+
releasedAt: '2025-07-22',
200+
settings: {
201+
extendParams: ['thinkingBudget'],
202+
searchImpl: 'params',
203+
searchProvider: 'google',
204+
},
205+
type: 'chat',
206+
},
180207
{
181208
abilities: {
182209
functionCall: true,

src/config/aiModels/vertexai.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
1717
id: 'gemini-2.5-pro',
1818
maxOutput: 65_536,
1919
pricing: {
20+
cachedInput: 0.31, // prompts <= 200k tokens
2021
input: 1.25, // prompts <= 200k tokens
2122
output: 10, // prompts <= 200k tokens
2223
},
@@ -80,6 +81,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
8081
id: 'gemini-2.5-flash',
8182
maxOutput: 65_536,
8283
pricing: {
84+
cachedInput: 0.075,
8385
input: 0.3,
8486
output: 2.5,
8587
},
@@ -109,6 +111,31 @@ const vertexaiChatModels: AIChatModelCard[] = [
109111
releasedAt: '2025-04-17',
110112
type: 'chat',
111113
},
114+
{
115+
abilities: {
116+
functionCall: true,
117+
reasoning: true,
118+
search: true,
119+
vision: true,
120+
},
121+
contextWindowTokens: 1_000_000 + 64_000,
122+
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
123+
displayName: 'Gemini 2.5 Flash-Lite',
124+
enabled: true,
125+
id: 'gemini-2.5-flash-lite',
126+
maxOutput: 64_000,
127+
pricing: {
128+
cachedInput: 0.025,
129+
input: 0.1,
130+
output: 0.4,
131+
},
132+
releasedAt: '2025-07-22',
133+
settings: {
134+
searchImpl: 'params',
135+
searchProvider: 'google',
136+
},
137+
type: 'chat',
138+
},
112139
{
113140
abilities: {
114141
functionCall: true,

0 commit comments

Comments
 (0)