💄 style: Add Gemini 2.5 Flash-Lite GA model (#8539)

This commit is contained in:
afon
2025-07-26 17:32:34 +08:00
committed by GitHub
parent 2eaa2dbea0
commit 404ac21229
2 changed files with 54 additions and 0 deletions
+27
View File
@@ -17,6 +17,7 @@ const googleChatModels: AIChatModelCard[] = [
id: 'gemini-2.5-pro',
maxOutput: 65_536,
pricing: {
cachedInput: 0.31, // prompts <= 200k tokens
input: 1.25, // prompts <= 200k tokens
output: 10, // prompts <= 200k tokens
},
@@ -177,6 +178,32 @@ const googleChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
{
abilities: {
functionCall: true,
reasoning: true,
search: true,
vision: true,
},
contextWindowTokens: 1_048_576 + 65_536,
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
displayName: 'Gemini 2.5 Flash-Lite',
enabled: true,
id: 'gemini-2.5-flash-lite',
maxOutput: 65_536,
pricing: {
cachedInput: 0.025,
input: 0.1,
output: 0.4,
},
releasedAt: '2025-07-22',
settings: {
extendParams: ['thinkingBudget'],
searchImpl: 'params',
searchProvider: 'google',
},
type: 'chat',
},
{
abilities: {
functionCall: true,
+27
View File
@@ -17,6 +17,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
id: 'gemini-2.5-pro',
maxOutput: 65_536,
pricing: {
cachedInput: 0.31, // prompts <= 200k tokens
input: 1.25, // prompts <= 200k tokens
output: 10, // prompts <= 200k tokens
},
@@ -80,6 +81,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
id: 'gemini-2.5-flash',
maxOutput: 65_536,
pricing: {
cachedInput: 0.075,
input: 0.3,
output: 2.5,
},
@@ -109,6 +111,31 @@ const vertexaiChatModels: AIChatModelCard[] = [
releasedAt: '2025-04-17',
type: 'chat',
},
{
abilities: {
functionCall: true,
reasoning: true,
search: true,
vision: true,
},
contextWindowTokens: 1_000_000 + 64_000,
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
displayName: 'Gemini 2.5 Flash-Lite',
enabled: true,
id: 'gemini-2.5-flash-lite',
maxOutput: 64_000,
pricing: {
cachedInput: 0.025,
input: 0.1,
output: 0.4,
},
releasedAt: '2025-07-22',
settings: {
searchImpl: 'params',
searchProvider: 'google',
},
type: 'chat',
},
{
abilities: {
functionCall: true,