@@ -3,43 +3,109 @@ import { AIChatModelCard } from '@/types/aiModel';
3
3
// ref: https://ai.google.dev/gemini-api/docs/models/gemini
4
4
const vertexaiChatModels : AIChatModelCard [ ] = [
5
5
{
6
- abilities : { functionCall : true , vision : true } ,
7
- contextWindowTokens : 1_000_000 + 8192 ,
6
+ abilities : {
7
+ functionCall : true ,
8
+ vision : true ,
9
+ } ,
10
+ contextWindowTokens : 2_097_152 + 8192 ,
8
11
description :
9
- 'Gemini 1.5 Flash 是Google最新的多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展 。' ,
10
- displayName : 'Gemini 1.5 Flash ' ,
12
+ 'Gemini 2.0 Pro Experimental 是 Google 最新的实验性多模态AI模型,与历史版本相比有一定的质量提升,特别是对于世界知识、代码和长上下文 。' ,
13
+ displayName : 'Gemini 2.0 Pro Experimental 02-05 ' ,
11
14
enabled : true ,
12
- id : 'gemini-1.5-flash ' ,
15
+ id : 'gemini-2.0-pro-exp-02-05 ' ,
13
16
maxOutput : 8192 ,
14
17
pricing : {
15
- cachedInput : 0.018_75 ,
16
- input : 0.075 ,
17
- output : 0.3 ,
18
+ cachedInput : 0 ,
19
+ input : 0 ,
20
+ output : 0 ,
18
21
} ,
22
+ releasedAt : '2025-02-05' ,
19
23
type : 'chat' ,
20
24
} ,
21
25
{
22
- abilities : { functionCall : true , vision : true } ,
23
- contextWindowTokens : 1_000_000 + 8192 ,
24
- description : 'Gemini 1.5 Flash 002 是一款高效的多模态模型,支持广泛应用的扩展。' ,
25
- displayName : 'Gemini 1.5 Flash 002' ,
26
+ abilities : {
27
+ functionCall : true ,
28
+ vision : true ,
29
+ } ,
30
+ contextWindowTokens : 1_048_576 + 8192 ,
31
+ description :
32
+ 'Gemini 2.0 Flash 提供下一代功能和改进,包括卓越的速度、原生工具使用、多模态生成和1M令牌上下文窗口。' ,
33
+ displayName : 'Gemini 2.0 Flash' ,
26
34
enabled : true ,
27
- id : 'gemini-1.5-flash-002' ,
35
+ id : 'gemini-2.0-flash' ,
36
+ maxOutput : 8192 ,
37
+ pricing : {
38
+ cachedInput : 0.025 ,
39
+ input : 0.1 ,
40
+ output : 0.4 ,
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 :
52
+ 'Gemini 2.0 Flash 提供下一代功能和改进,包括卓越的速度、原生工具使用、多模态生成和1M令牌上下文窗口。' ,
53
+ displayName : 'Gemini 2.0 Flash 001' ,
54
+ id : 'gemini-2.0-flash-001' ,
55
+ maxOutput : 8192 ,
56
+ pricing : {
57
+ cachedInput : 0.025 ,
58
+ input : 0.1 ,
59
+ output : 0.4 ,
60
+ } ,
61
+ releasedAt : '2025-02-05' ,
62
+ type : 'chat' ,
63
+ } ,
64
+ {
65
+ abilities : {
66
+ vision : true ,
67
+ } ,
68
+ contextWindowTokens : 1_048_576 + 8192 ,
69
+ description : '一个 Gemini 2.0 Flash 模型,针对成本效益和低延迟等目标进行了优化。' ,
70
+ displayName : 'Gemini 2.0 Flash-Lite Preview 02-05' ,
71
+ id : 'gemini-2.0-flash-lite-preview-02-05' ,
28
72
maxOutput : 8192 ,
29
73
pricing : {
30
74
cachedInput : 0.018_75 ,
31
75
input : 0.075 ,
32
76
output : 0.3 ,
33
77
} ,
34
- releasedAt : '2024-09-25' ,
78
+ releasedAt : '2025-02-05' ,
79
+ type : 'chat' ,
80
+ } ,
81
+ {
82
+ abilities : {
83
+ reasoning : true ,
84
+ vision : true ,
85
+ } ,
86
+ contextWindowTokens : 1_048_576 + 65_536 ,
87
+ description :
88
+ 'Gemini 2.0 Flash Thinking Exp 是 Google 的实验性多模态推理AI模型,能对复杂问题进行推理,拥有新的思维能力。' ,
89
+ displayName : 'Gemini 2.0 Flash Thinking Experimental 01-21' ,
90
+ enabled : true ,
91
+ id : 'gemini-2.0-flash-thinking-exp-01-21' ,
92
+ maxOutput : 65_536 ,
93
+ pricing : {
94
+ cachedInput : 0 ,
95
+ input : 0 ,
96
+ output : 0 ,
97
+ } ,
98
+ releasedAt : '2025-01-21' ,
35
99
type : 'chat' ,
36
100
} ,
37
101
{
38
102
abilities : { functionCall : true , vision : true } ,
39
103
contextWindowTokens : 1_000_000 + 8192 ,
40
- description : 'Gemini 1.5 Flash 001 是一款高效的多模态模型,支持广泛应用的扩展。' ,
41
- displayName : 'Gemini 1.5 Flash 001' ,
42
- id : 'gemini-1.5-flash-001' ,
104
+ description :
105
+ 'Gemini 1.5 Flash 是Google最新的多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展。' ,
106
+ displayName : 'Gemini 1.5 Flash' ,
107
+ enabled : true ,
108
+ id : 'gemini-1.5-flash' ,
43
109
maxOutput : 8192 ,
44
110
pricing : {
45
111
cachedInput : 0.018_75 ,
@@ -51,33 +117,31 @@ const vertexaiChatModels: AIChatModelCard[] = [
51
117
{
52
118
abilities : { functionCall : true , vision : true } ,
53
119
contextWindowTokens : 1_000_000 + 8192 ,
54
- description : 'Gemini 1.5 Flash 0827 提供了优化后的多模态处理能力,适用多种复杂任务场景。' ,
55
- displayName : 'Gemini 1.5 Flash 0827' ,
56
- id : 'gemini-1.5-flash-exp-0827' ,
120
+ description : 'Gemini 1.5 Flash 002 是一款高效的多模态模型,支持广泛应用的扩展。' ,
121
+ displayName : 'Gemini 1.5 Flash 002' ,
122
+ enabled : true ,
123
+ id : 'gemini-1.5-flash-002' ,
57
124
maxOutput : 8192 ,
58
125
pricing : {
59
126
cachedInput : 0.018_75 ,
60
127
input : 0.075 ,
61
128
output : 0.3 ,
62
129
} ,
63
- releasedAt : '2024-08-27 ' ,
130
+ releasedAt : '2024-09-25 ' ,
64
131
type : 'chat' ,
65
132
} ,
66
-
67
133
{
68
134
abilities : { functionCall : true , vision : true } ,
69
135
contextWindowTokens : 1_000_000 + 8192 ,
70
- description :
71
- 'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。' ,
72
- displayName : 'Gemini 1.5 Flash 8B 0924' ,
73
- id : 'gemini-1.5-flash-8b-exp-0924' ,
136
+ description : 'Gemini 1.5 Flash 001 是一款高效的多模态模型,支持广泛应用的扩展。' ,
137
+ displayName : 'Gemini 1.5 Flash 001' ,
138
+ id : 'gemini-1.5-flash-001' ,
74
139
maxOutput : 8192 ,
75
140
pricing : {
76
141
cachedInput : 0.018_75 ,
77
142
input : 0.075 ,
78
143
output : 0.3 ,
79
144
} ,
80
- releasedAt : '2024-09-24' ,
81
145
type : 'chat' ,
82
146
} ,
83
147
{
@@ -129,77 +193,6 @@ const vertexaiChatModels: AIChatModelCard[] = [
129
193
releasedAt : '2024-02-15' ,
130
194
type : 'chat' ,
131
195
} ,
132
- {
133
- abilities : { functionCall : true , vision : true } ,
134
- contextWindowTokens : 2_000_000 + 8192 ,
135
- description : 'Gemini 1.5 Pro 0827 结合最新优化技术,带来更高效的多模态数据处理能力。' ,
136
- displayName : 'Gemini 1.5 Pro 0827' ,
137
- id : 'gemini-1.5-pro-exp-0827' ,
138
- maxOutput : 8192 ,
139
- pricing : {
140
- cachedInput : 0.875 ,
141
- input : 3.5 ,
142
- output : 10.5 ,
143
- } ,
144
- releasedAt : '2024-08-27' ,
145
- type : 'chat' ,
146
- } ,
147
- {
148
- abilities : { functionCall : true , vision : true } ,
149
- contextWindowTokens : 2_000_000 + 8192 ,
150
- description : 'Gemini 1.5 Pro 0801 提供出色的多模态处理能力,为应用开发带来更大灵活性。' ,
151
- displayName : 'Gemini 1.5 Pro 0801' ,
152
- id : 'gemini-1.5-pro-exp-0801' ,
153
- maxOutput : 8192 ,
154
- pricing : {
155
- cachedInput : 0.875 ,
156
- input : 3.5 ,
157
- output : 10.5 ,
158
- } ,
159
- releasedAt : '2024-08-01' ,
160
- type : 'chat' ,
161
- } ,
162
- {
163
- contextWindowTokens : 30_720 + 2048 ,
164
- description : 'Gemini 1.0 Pro 是Google的高性能AI模型,专为广泛任务扩展而设计。' ,
165
- displayName : 'Gemini 1.0 Pro' ,
166
- id : 'gemini-1.0-pro-latest' ,
167
- maxOutput : 2048 ,
168
- pricing : {
169
- input : 0.5 ,
170
- output : 1.5 ,
171
- } ,
172
- releasedAt : '2023-12-06' ,
173
- type : 'chat' ,
174
- } ,
175
- {
176
- abilities : { functionCall : true } ,
177
- contextWindowTokens : 30_720 + 2048 ,
178
- description :
179
- 'Gemini 1.0 Pro 001 (Tuning) 提供稳定并可调优的性能,是复杂任务解决方案的理想选择。' ,
180
- displayName : 'Gemini 1.0 Pro 001 (Tuning)' ,
181
- id : 'gemini-1.0-pro-001' ,
182
- maxOutput : 2048 ,
183
- pricing : {
184
- input : 0.5 ,
185
- output : 1.5 ,
186
- } ,
187
- releasedAt : '2023-12-06' ,
188
- type : 'chat' ,
189
- } ,
190
- {
191
- contextWindowTokens : 30_720 + 2048 ,
192
- description : 'Gemini 1.0 Pro 002 (Tuning) 提供出色的多模态支持,专注于复杂任务的有效解决。' ,
193
- displayName : 'Gemini 1.0 Pro 002 (Tuning)' ,
194
- id : 'gemini-1.0-pro-002' ,
195
- maxOutput : 2048 ,
196
- pricing : {
197
- input : 0.5 ,
198
- output : 1.5 ,
199
- } ,
200
- releasedAt : '2023-12-06' ,
201
- type : 'chat' ,
202
- } ,
203
196
] ;
204
197
205
198
export const allModels = [ ...vertexaiChatModels ] ;
0 commit comments