Skip to content

Commit db334c1

Browse files
authored
fix: correct Gemini 2.5 Flash pricing (#4836) (#4898)
1 parent 9e96fca commit db334c1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/types/src/providers/gemini.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export const geminiModels = {
5353
contextWindow: 1_048_576,
5454
supportsImages: true,
5555
supportsPromptCache: true,
56-
inputPrice: 0.15,
57-
outputPrice: 0.6,
58-
cacheReadsPrice: 0.0375,
56+
inputPrice: 0.3,
57+
outputPrice: 2.5,
58+
cacheReadsPrice: 0.075,
5959
cacheWritesPrice: 1.0,
6060
maxThinkingTokens: 24_576,
6161
supportsReasoningBudget: true,

packages/types/src/providers/vertex.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ export const vertexModels = {
3030
contextWindow: 1_048_576,
3131
supportsImages: true,
3232
supportsPromptCache: true,
33-
inputPrice: 0.15,
34-
outputPrice: 0.6,
33+
inputPrice: 0.3,
34+
outputPrice: 2.5,
35+
cacheReadsPrice: 0.075,
36+
cacheWritesPrice: 1.0,
3537
maxThinkingTokens: 24_576,
3638
supportsReasoningBudget: true,
3739
},

0 commit comments

Comments
 (0)