Add fallback claude 3.5 sonnet v1 models for bedrock and vertex

This commit is contained in:
Saoud Rizwan
2024-10-22 18:24:34 -04:00
parent 62688c261a
commit e5266ddda1

View File

@@ -99,6 +99,14 @@ export const bedrockModels = {
inputPrice: 3.0, inputPrice: 3.0,
outputPrice: 15.0, outputPrice: 15.0,
}, },
"anthropic.claude-3-5-sonnet-20240620-v1:0": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 3.0,
outputPrice: 15.0,
},
"anthropic.claude-3-opus-20240229-v1:0": { "anthropic.claude-3-opus-20240229-v1:0": {
maxTokens: 4096, maxTokens: 4096,
contextWindow: 200_000, contextWindow: 200_000,
@@ -146,6 +154,14 @@ export const vertexModels = {
inputPrice: 3.0, inputPrice: 3.0,
outputPrice: 15.0, outputPrice: 15.0,
}, },
"claude-3-5-sonnet@20240620": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 3.0,
outputPrice: 15.0,
},
"claude-3-opus@20240229": { "claude-3-opus@20240229": {
maxTokens: 4096, maxTokens: 4096,
contextWindow: 200_000, contextWindow: 200_000,