@@ -42,9 +42,6 @@ const TOKENS_COST_PER_M = {
4242 [ models . o4mini ] : 1.1 ,
4343 [ models . deepseekChat ] : 0.14 ,
4444 [ models . deepseekReasoner ] : 0.55 ,
45- [ models . gemini2flash ] : 0.1 ,
46- [ models . gemini2_5_flash ] : 0.15 ,
47- [ models . gemini2_5_flash_thinking ] : 0.15 ,
4845 [ models . ft_filepicker_003 ] : 0.1 ,
4946 [ models . ft_filepicker_005 ] : 0.1 ,
5047 [ models . openrouter_claude_sonnet_4 ] : 3 ,
@@ -72,9 +69,6 @@ const TOKENS_COST_PER_M = {
7269 [ models . o4mini ] : 1.1 ,
7370 [ models . deepseekChat ] : 0.28 ,
7471 [ models . deepseekReasoner ] : 2.19 ,
75- [ models . gemini2flash ] : 0.4 ,
76- [ models . gemini2_5_flash ] : 0.6 ,
77- [ models . gemini2_5_flash_thinking ] : 3.5 ,
7872 [ models . ft_filepicker_003 ] : 0.4 ,
7973 [ models . ft_filepicker_005 ] : 0.4 ,
8074 [ models . openrouter_claude_sonnet_4 ] : 15 ,
@@ -107,9 +101,6 @@ const TOKENS_COST_PER_M = {
107101 [ models . o3 ] : 0.5 ,
108102 [ models . o3mini ] : 0.55 ,
109103 [ models . o4mini ] : 0.275 ,
110- [ models . gemini2flash ] : 0.025 ,
111- [ models . gemini2_5_flash ] : 0.0375 ,
112- [ models . gemini2_5_flash_thinking ] : 0.2625 ,
113104 [ models . ft_filepicker_003 ] : 0.025 ,
114105 [ models . ft_filepicker_005 ] : 0.025 ,
115106 } ,
@@ -204,13 +195,6 @@ const calcCost = (
204195 if ( model === 'relace-fast-apply' ) {
205196 return RELACE_FAST_APPLY_COST
206197 }
207- if ( model === models . gemini2_5_pro_preview ) {
208- return (
209- getGemini25ProPreviewCost ( input_tokens , output_tokens ) +
210- cache_creation_input_tokens * getPerTokenCost ( model , 'cache_creation' ) +
211- cache_read_input_tokens * getPerTokenCost ( model , 'cache_read' )
212- )
213- }
214198 if ( model === models . openrouter_grok_4 ) {
215199 return (
216200 getGrok4Cost ( input_tokens , output_tokens ) +
0 commit comments