Skip to content

Commit 82ee51e

Browse files
committed
feat: enable prompt caching for gemini-2.5-flash-preview-05-20
1 parent 1dcb6d4 commit 82ee51e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/shared/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ export const vertexModels = {
529529
maxTokens: 65_535,
530530
contextWindow: 1_048_576,
531531
supportsImages: true,
532-
supportsPromptCache: false,
532+
supportsPromptCache: true,
533533
inputPrice: 0.15,
534534
outputPrice: 3.5,
535535
maxThinkingTokens: 24_576,
@@ -540,7 +540,7 @@ export const vertexModels = {
540540
maxTokens: 65_535,
541541
contextWindow: 1_048_576,
542542
supportsImages: true,
543-
supportsPromptCache: false,
543+
supportsPromptCache: true,
544544
inputPrice: 0.15,
545545
outputPrice: 0.6,
546546
},
@@ -772,7 +772,7 @@ export const geminiModels = {
772772
maxTokens: 65_535,
773773
contextWindow: 1_048_576,
774774
supportsImages: true,
775-
supportsPromptCache: false,
775+
supportsPromptCache: true,
776776
inputPrice: 0.15,
777777
outputPrice: 3.5,
778778
maxThinkingTokens: 24_576,
@@ -783,7 +783,7 @@ export const geminiModels = {
783783
maxTokens: 65_535,
784784
contextWindow: 1_048_576,
785785
supportsImages: true,
786-
supportsPromptCache: false,
786+
supportsPromptCache: true,
787787
inputPrice: 0.15,
788788
outputPrice: 0.6,
789789
},

0 commit comments

Comments
 (0)