Skip to content

Commit 79ce332

Browse files
committed
Flip supportsPromptCache to false for all Gemini models
1 parent 5e64896 commit 79ce332

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shared/api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ export const geminiModels = {
682682
maxTokens: 65_535,
683683
contextWindow: 1_048_576,
684684
supportsImages: true,
685-
supportsPromptCache: true,
685+
supportsPromptCache: false,
686686
inputPrice: 2.5, // This is the pricing for prompts above 200k tokens.
687687
outputPrice: 15,
688688
cacheReadsPrice: 0.625,
@@ -706,7 +706,7 @@ export const geminiModels = {
706706
maxTokens: 8192,
707707
contextWindow: 1_048_576,
708708
supportsImages: true,
709-
supportsPromptCache: true,
709+
supportsPromptCache: false,
710710
inputPrice: 0.1,
711711
outputPrice: 0.4,
712712
cacheReadsPrice: 0.025,
@@ -756,7 +756,7 @@ export const geminiModels = {
756756
maxTokens: 8192,
757757
contextWindow: 1_048_576,
758758
supportsImages: true,
759-
supportsPromptCache: true,
759+
supportsPromptCache: false,
760760
inputPrice: 0.15, // This is the pricing for prompts above 128k tokens.
761761
outputPrice: 0.6,
762762
cacheReadsPrice: 0.0375,

0 commit comments

Comments
 (0)