Skip to content

Commit fdefa30

Browse files
committed
feat: Add cache pricing for gemini-2.5-flash-preview-05-20 models
1 parent 82ee51e commit fdefa30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/shared/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ export const geminiModels = {
775775
supportsPromptCache: true,
776776
inputPrice: 0.15,
777777
outputPrice: 3.5,
778+
cacheReadsPrice: 0.0375,
779+
cacheWritesPrice: 1.0,
778780
maxThinkingTokens: 24_576,
779781
supportsReasoningBudget: true,
780782
requiredReasoningBudget: true,
@@ -786,6 +788,8 @@ export const geminiModels = {
786788
supportsPromptCache: true,
787789
inputPrice: 0.15,
788790
outputPrice: 0.6,
791+
cacheReadsPrice: 0.0375,
792+
cacheWritesPrice: 1.0,
789793
},
790794
"gemini-2.5-pro-exp-03-25": {
791795
maxTokens: 65_535,

0 commit comments

Comments
 (0)