@@ -60,23 +60,18 @@ export const geminiModels = {
6060 maxThinkingTokens : 24_576 ,
6161 supportsReasoningBudget : true ,
6262 } ,
63- "gemini-2.5-pro-exp-03-25" : {
64- maxTokens : 65_535 ,
65- contextWindow : 1_048_576 ,
66- supportsImages : true ,
67- supportsPromptCache : false ,
68- inputPrice : 0 ,
69- outputPrice : 0 ,
70- } ,
71- "gemini-2.5-pro-preview-03-25" : {
72- maxTokens : 65_535 ,
63+ "gemini-2.5-pro" : {
64+ maxTokens : 64_000 ,
7365 contextWindow : 1_048_576 ,
7466 supportsImages : true ,
7567 supportsPromptCache : true ,
7668 inputPrice : 2.5 , // This is the pricing for prompts above 200k tokens.
7769 outputPrice : 15 ,
7870 cacheReadsPrice : 0.625 ,
7971 cacheWritesPrice : 4.5 ,
72+ maxThinkingTokens : 32_768 ,
73+ supportsReasoningBudget : true ,
74+ requiredReasoningBudget : true ,
8075 tiers : [
8176 {
8277 contextWindow : 200_000 ,
@@ -92,7 +87,134 @@ export const geminiModels = {
9287 } ,
9388 ] ,
9489 } ,
95- "gemini-2.5-pro-preview-05-06" : {
90+ "gemini-2.0-flash-001" : {
91+ maxTokens : 8192 ,
92+ contextWindow : 1_048_576 ,
93+ supportsImages : true ,
94+ supportsPromptCache : true ,
95+ inputPrice : 0.1 ,
96+ outputPrice : 0.4 ,
97+ cacheReadsPrice : 0.025 ,
98+ cacheWritesPrice : 1.0 ,
99+ } ,
100+ "gemini-2.0-flash-lite-preview-02-05" : {
101+ maxTokens : 8192 ,
102+ contextWindow : 1_048_576 ,
103+ supportsImages : true ,
104+ supportsPromptCache : false ,
105+ inputPrice : 0 ,
106+ outputPrice : 0 ,
107+ } ,
108+ "gemini-2.0-pro-exp-02-05" : {
109+ maxTokens : 8192 ,
110+ contextWindow : 2_097_152 ,
111+ supportsImages : true ,
112+ supportsPromptCache : false ,
113+ inputPrice : 0 ,
114+ outputPrice : 0 ,
115+ } ,
116+ "gemini-2.0-flash-thinking-exp-01-21" : {
117+ maxTokens : 65_536 ,
118+ contextWindow : 1_048_576 ,
119+ supportsImages : true ,
120+ supportsPromptCache : false ,
121+ inputPrice : 0 ,
122+ outputPrice : 0 ,
123+ } ,
124+ "gemini-2.0-flash-thinking-exp-1219" : {
125+ maxTokens : 8192 ,
126+ contextWindow : 32_767 ,
127+ supportsImages : true ,
128+ supportsPromptCache : false ,
129+ inputPrice : 0 ,
130+ outputPrice : 0 ,
131+ } ,
132+ "gemini-2.0-flash-exp" : {
133+ maxTokens : 8192 ,
134+ contextWindow : 1_048_576 ,
135+ supportsImages : true ,
136+ supportsPromptCache : false ,
137+ inputPrice : 0 ,
138+ outputPrice : 0 ,
139+ } ,
140+ "gemini-2.5-flash-lite-preview-06-17" : {
141+ maxTokens : 64_000 ,
142+ contextWindow : 1_048_576 ,
143+ supportsImages : true ,
144+ supportsPromptCache : true ,
145+ inputPrice : 0.1 ,
146+ outputPrice : 0.4 ,
147+ cacheReadsPrice : 0.025 ,
148+ cacheWritesPrice : 1.0 ,
149+ supportsReasoningBudget : true ,
150+ maxThinkingTokens : 24_576 ,
151+ } ,
152+ } as const satisfies Record < string , ModelInfo >
153+
154+ export const legacyGeminiModels = {
155+ "gemini-2.5-flash-preview-04-17:thinking" : {
156+ maxTokens : 65_535 ,
157+ contextWindow : 1_048_576 ,
158+ supportsImages : true ,
159+ supportsPromptCache : false ,
160+ inputPrice : 0.15 ,
161+ outputPrice : 3.5 ,
162+ maxThinkingTokens : 24_576 ,
163+ supportsReasoningBudget : true ,
164+ requiredReasoningBudget : true ,
165+ } ,
166+ "gemini-2.5-flash-preview-04-17" : {
167+ maxTokens : 65_535 ,
168+ contextWindow : 1_048_576 ,
169+ supportsImages : true ,
170+ supportsPromptCache : false ,
171+ inputPrice : 0.15 ,
172+ outputPrice : 0.6 ,
173+ } ,
174+ "gemini-2.5-flash-preview-05-20:thinking" : {
175+ maxTokens : 65_535 ,
176+ contextWindow : 1_048_576 ,
177+ supportsImages : true ,
178+ supportsPromptCache : true ,
179+ inputPrice : 0.15 ,
180+ outputPrice : 3.5 ,
181+ cacheReadsPrice : 0.0375 ,
182+ cacheWritesPrice : 1.0 ,
183+ maxThinkingTokens : 24_576 ,
184+ supportsReasoningBudget : true ,
185+ requiredReasoningBudget : true ,
186+ } ,
187+ "gemini-2.5-flash-preview-05-20" : {
188+ maxTokens : 65_535 ,
189+ contextWindow : 1_048_576 ,
190+ supportsImages : true ,
191+ supportsPromptCache : true ,
192+ inputPrice : 0.15 ,
193+ outputPrice : 0.6 ,
194+ cacheReadsPrice : 0.0375 ,
195+ cacheWritesPrice : 1.0 ,
196+ } ,
197+ "gemini-2.5-flash" : {
198+ maxTokens : 64_000 ,
199+ contextWindow : 1_048_576 ,
200+ supportsImages : true ,
201+ supportsPromptCache : true ,
202+ inputPrice : 0.3 ,
203+ outputPrice : 2.5 ,
204+ cacheReadsPrice : 0.075 ,
205+ cacheWritesPrice : 1.0 ,
206+ maxThinkingTokens : 24_576 ,
207+ supportsReasoningBudget : true ,
208+ } ,
209+ "gemini-2.5-pro-exp-03-25" : {
210+ maxTokens : 65_535 ,
211+ contextWindow : 1_048_576 ,
212+ supportsImages : true ,
213+ supportsPromptCache : false ,
214+ inputPrice : 0 ,
215+ outputPrice : 0 ,
216+ } ,
217+ "gemini-2.5-pro-preview-03-25" : {
96218 maxTokens : 65_535 ,
97219 contextWindow : 1_048_576 ,
98220 supportsImages : true ,
@@ -116,7 +238,7 @@ export const geminiModels = {
116238 } ,
117239 ] ,
118240 } ,
119- "gemini-2.5-pro-preview-06-05 " : {
241+ "gemini-2.5-pro-preview-05-06 " : {
120242 maxTokens : 65_535 ,
121243 contextWindow : 1_048_576 ,
122244 supportsImages : true ,
@@ -125,8 +247,6 @@ export const geminiModels = {
125247 outputPrice : 15 ,
126248 cacheReadsPrice : 0.625 ,
127249 cacheWritesPrice : 4.5 ,
128- maxThinkingTokens : 32_768 ,
129- supportsReasoningBudget : true ,
130250 tiers : [
131251 {
132252 contextWindow : 200_000 ,
@@ -142,8 +262,8 @@ export const geminiModels = {
142262 } ,
143263 ] ,
144264 } ,
145- "gemini-2.5-pro" : {
146- maxTokens : 64_000 ,
265+ "gemini-2.5-pro-preview-06-05 " : {
266+ maxTokens : 65_535 ,
147267 contextWindow : 1_048_576 ,
148268 supportsImages : true ,
149269 supportsPromptCache : true ,
@@ -153,7 +273,6 @@ export const geminiModels = {
153273 cacheWritesPrice : 4.5 ,
154274 maxThinkingTokens : 32_768 ,
155275 supportsReasoningBudget : true ,
156- requiredReasoningBudget : true ,
157276 tiers : [
158277 {
159278 contextWindow : 200_000 ,
@@ -169,56 +288,6 @@ export const geminiModels = {
169288 } ,
170289 ] ,
171290 } ,
172- "gemini-2.0-flash-001" : {
173- maxTokens : 8192 ,
174- contextWindow : 1_048_576 ,
175- supportsImages : true ,
176- supportsPromptCache : true ,
177- inputPrice : 0.1 ,
178- outputPrice : 0.4 ,
179- cacheReadsPrice : 0.025 ,
180- cacheWritesPrice : 1.0 ,
181- } ,
182- "gemini-2.0-flash-lite-preview-02-05" : {
183- maxTokens : 8192 ,
184- contextWindow : 1_048_576 ,
185- supportsImages : true ,
186- supportsPromptCache : false ,
187- inputPrice : 0 ,
188- outputPrice : 0 ,
189- } ,
190- "gemini-2.0-pro-exp-02-05" : {
191- maxTokens : 8192 ,
192- contextWindow : 2_097_152 ,
193- supportsImages : true ,
194- supportsPromptCache : false ,
195- inputPrice : 0 ,
196- outputPrice : 0 ,
197- } ,
198- "gemini-2.0-flash-thinking-exp-01-21" : {
199- maxTokens : 65_536 ,
200- contextWindow : 1_048_576 ,
201- supportsImages : true ,
202- supportsPromptCache : false ,
203- inputPrice : 0 ,
204- outputPrice : 0 ,
205- } ,
206- "gemini-2.0-flash-thinking-exp-1219" : {
207- maxTokens : 8192 ,
208- contextWindow : 32_767 ,
209- supportsImages : true ,
210- supportsPromptCache : false ,
211- inputPrice : 0 ,
212- outputPrice : 0 ,
213- } ,
214- "gemini-2.0-flash-exp" : {
215- maxTokens : 8192 ,
216- contextWindow : 1_048_576 ,
217- supportsImages : true ,
218- supportsPromptCache : false ,
219- inputPrice : 0 ,
220- outputPrice : 0 ,
221- } ,
222291 "gemini-1.5-flash-002" : {
223292 maxTokens : 8192 ,
224293 contextWindow : 1_048_576 ,
@@ -283,16 +352,4 @@ export const geminiModels = {
283352 inputPrice : 0 ,
284353 outputPrice : 0 ,
285354 } ,
286- "gemini-2.5-flash-lite-preview-06-17" : {
287- maxTokens : 64_000 ,
288- contextWindow : 1_048_576 ,
289- supportsImages : true ,
290- supportsPromptCache : true ,
291- inputPrice : 0.1 ,
292- outputPrice : 0.4 ,
293- cacheReadsPrice : 0.025 ,
294- cacheWritesPrice : 1.0 ,
295- supportsReasoningBudget : true ,
296- maxThinkingTokens : 24_576 ,
297- } ,
298355} as const satisfies Record < string , ModelInfo >
0 commit comments