Skip to content

Commit 92131ad

Browse files
committed
Add Claude 3.7 to Bedrock
1 parent 9897442 commit 92131ad

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

src/shared/api.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export interface MessageContent {
173173
}
174174

175175
export type BedrockModelId = keyof typeof bedrockModels
176-
export const bedrockDefaultModelId: BedrockModelId = "anthropic.claude-3-5-sonnet-20241022-v2:0"
176+
export const bedrockDefaultModelId: BedrockModelId = "anthropic.claude-3-7-sonnet-20250219-v1:0"
177177
export const bedrockModels = {
178178
"amazon.nova-pro-v1:0": {
179179
maxTokens: 5000,
@@ -208,6 +208,17 @@ export const bedrockModels = {
208208
cacheWritesPrice: 0.035, // per million tokens
209209
cacheReadsPrice: 0.00875, // per million tokens
210210
},
211+
"anthropic.claude-3-7-sonnet-20250219-v1:0": {
212+
maxTokens: 8192,
213+
contextWindow: 200_000,
214+
supportsImages: true,
215+
supportsComputerUse: true,
216+
supportsPromptCache: true,
217+
inputPrice: 3.0,
218+
outputPrice: 15.0,
219+
cacheWritesPrice: 3.75,
220+
cacheReadsPrice: 0.3,
221+
},
211222
"anthropic.claude-3-5-sonnet-20241022-v2:0": {
212223
maxTokens: 8192,
213224
contextWindow: 200_000,
@@ -216,8 +227,8 @@ export const bedrockModels = {
216227
supportsPromptCache: false,
217228
inputPrice: 3.0,
218229
outputPrice: 15.0,
219-
cacheWritesPrice: 3.75, // per million tokens
220-
cacheReadsPrice: 0.3, // per million tokens
230+
cacheWritesPrice: 3.75,
231+
cacheReadsPrice: 0.3,
221232
},
222233
"anthropic.claude-3-5-haiku-20241022-v1:0": {
223234
maxTokens: 8192,

0 commit comments

Comments
 (0)