Skip to content

Commit d4432f1

Browse files
authored
💄 style: Update Vertex AI models (#6967)
* Add Gemini 2.0 Flash Lite model * Update Vertex AI model prices
1 parent fdcaaf3 commit d4432f1

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

src/config/aiModels/vertexai.ts

+24-6
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,27 @@ const vertexaiChatModels: AIChatModelCard[] = [
3535
id: 'gemini-2.0-flash',
3636
maxOutput: 8192,
3737
pricing: {
38-
cachedInput: 0.025,
39-
input: 0.1,
40-
output: 0.4,
38+
cachedInput: 0.0375,
39+
input: 0.15,
40+
output: 0.6,
41+
},
42+
releasedAt: '2025-02-05',
43+
type: 'chat',
44+
},
45+
{
46+
abilities: {
47+
functionCall: true,
48+
vision: true,
49+
},
50+
contextWindowTokens: 1_048_576 + 8192,
51+
description: 'Gemini 2.0 Flash 模型变体,针对成本效益和低延迟等目标进行了优化。',
52+
displayName: 'Gemini 2.0 Flash-Lite',
53+
id: 'gemini-2.0-flash-lite',
54+
maxOutput: 8192,
55+
pricing: {
56+
cachedInput: 0.018_75,
57+
input: 0.075,
58+
output: 0.3,
4159
},
4260
releasedAt: '2025-02-05',
4361
type: 'chat',
@@ -54,9 +72,9 @@ const vertexaiChatModels: AIChatModelCard[] = [
5472
id: 'gemini-2.0-flash-001',
5573
maxOutput: 8192,
5674
pricing: {
57-
cachedInput: 0.025,
58-
input: 0.1,
59-
output: 0.4,
75+
cachedInput: 0.0375,
76+
input: 0.15,
77+
output: 0.6,
6078
},
6179
releasedAt: '2025-02-05',
6280
type: 'chat',

0 commit comments

Comments
 (0)