diff --git a/packages/models/src/models/anthropic.ts b/packages/models/src/models/anthropic.ts index e7511a9616..a4c6d876a2 100644 --- a/packages/models/src/models/anthropic.ts +++ b/packages/models/src/models/anthropic.ts @@ -337,7 +337,7 @@ export const anthropicModels = [ inputPrice: 3.0 / 1e6, outputPrice: 15.0 / 1e6, cachedInputPrice: 0.3 / 1e6, - minCacheableTokens: 4096, + minCacheableTokens: 2048, requestPrice: 0, contextSize: 200000, maxOutput: 64000, @@ -357,7 +357,7 @@ export const anthropicModels = [ inputPrice: 3.0 / 1e6, outputPrice: 15.0 / 1e6, cachedInputPrice: 0.3 / 1e6, - minCacheableTokens: 1024, + minCacheableTokens: 2048, requestPrice: 0, discount: 0.3, contextSize: 200000, @@ -377,7 +377,7 @@ export const anthropicModels = [ inputPrice: 3.0 / 1e6, outputPrice: 15.0 / 1e6, cachedInputPrice: 0.3 / 1e6, - minCacheableTokens: 1024, + minCacheableTokens: 2048, requestPrice: 0, contextSize: 200000, maxOutput: 64000, @@ -403,7 +403,7 @@ export const anthropicModels = [ inputPrice: 1.0 / 1e6, outputPrice: 5.0 / 1e6, cachedInputPrice: 0.1 / 1e6, - minCacheableTokens: 2048, + minCacheableTokens: 4096, requestPrice: 0, contextSize: 200000, maxOutput: 64000, @@ -414,6 +414,22 @@ export const anthropicModels = [ webSearch: true, webSearchPrice: 0.01, // $10 per 1000 searches }, + { + providerId: "aws-bedrock", + modelName: "anthropic.claude-haiku-4-5-20251001-v1:0", + inputPrice: 1.0 / 1e6, + outputPrice: 5.0 / 1e6, + cachedInputPrice: 0.1 / 1e6, + minCacheableTokens: 4096, + requestPrice: 0, + discount: 0.3, + contextSize: 200000, + maxOutput: 64000, + streaming: true, + vision: false, + tools: true, + jsonOutputSchema: true, + }, ], }, { @@ -430,7 +446,7 @@ export const anthropicModels = [ inputPrice: 1.0 / 1e6, outputPrice: 5.0 / 1e6, cachedInputPrice: 0.1 / 1e6, - minCacheableTokens: 2048, + minCacheableTokens: 4096, requestPrice: 0, contextSize: 200000, maxOutput: 64000, @@ -441,6 +457,22 @@ export const anthropicModels = [ webSearch: true, webSearchPrice: 0.01, // $10 per 1000 searches }, + { + providerId: "aws-bedrock", + modelName: "anthropic.claude-haiku-4-5-20251001-v1:0", + inputPrice: 1.0 / 1e6, + outputPrice: 5.0 / 1e6, + cachedInputPrice: 0.1 / 1e6, + minCacheableTokens: 4096, + requestPrice: 0, + discount: 0.3, + contextSize: 200000, + maxOutput: 64000, + streaming: true, + vision: false, + tools: true, + jsonOutputSchema: true, + }, ], }, { @@ -674,7 +706,7 @@ export const anthropicModels = [ inputPrice: 0.25 / 1e6, outputPrice: 1.25 / 1e6, cachedInputPrice: 0.03 / 1e6, - minCacheableTokens: 2048, + minCacheableTokens: 1024, requestPrice: 0, contextSize: 200000, maxOutput: 4096, @@ -698,7 +730,7 @@ export const anthropicModels = [ inputPrice: 0.25 / 1e6, outputPrice: 1.25 / 1e6, cachedInputPrice: 0.03 / 1e6, - minCacheableTokens: 2048, + minCacheableTokens: 1024, requestPrice: 0, contextSize: 200000, maxOutput: 4096, @@ -818,6 +850,25 @@ export const anthropicModels = [ webSearch: true, webSearchPrice: 0.01, // $10 per 1000 searches }, + { + test: "skip", + providerId: "aws-bedrock", + modelName: "anthropic.claude-opus-4-6-v1", + inputPrice: 5.0 / 1e6, + outputPrice: 25.0 / 1e6, + cachedInputPrice: 0.5 / 1e6, + minCacheableTokens: 4096, + requestPrice: 0, + discount: 0.3, + contextSize: 1000000, + maxOutput: 128000, + reasoning: true, + reasoningOutput: "omit", + streaming: true, + vision: true, + tools: true, + jsonOutputSchema: true, + }, ], }, ] as const satisfies ModelDefinition[];