Browse Source

Merge pull request #1244 from lupuletic/add-cache-costs-vertex-ai

Added cache costs for Claude Sonnet 3.7 via Vertex AI
Chris Estreich 10 months ago
parent
commit
22ec3b21fe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/shared/api.ts

+ 2 - 0
src/shared/api.ts

@@ -444,6 +444,8 @@ export const vertexModels = {
 		supportsPromptCache: true,
 		inputPrice: 3.0,
 		outputPrice: 15.0,
+		cacheWritesPrice: 3.75,
+		cacheReadsPrice: 0.3,
 	},
 	"claude-3-5-sonnet-v2@20241022": {
 		maxTokens: 8192,