From da1f8ce357b615655ad2528bf2abea2e270e64c1 Mon Sep 17 00:00:00 2001 From: justcodebruh Date: Tue, 17 Feb 2026 20:26:17 -0500 Subject: [PATCH] Add AWS Bedrock global Claude Haiku 4.5 model variant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes Pylon #11642 - incorrect cost estimates for amazon-bedrock:global.anthropic.claude-haiku-4-5-20251001-v1:0 - Add model entry to catalog with global endpoint pricing ($0.8/$4) - Add endpoint type mapping to mark as bedrock provider - Pricing matches existing anthropic.claude-haiku-4-5 model Expected cost calculation: - Input: 2,504,899 tokens × $0.8/M = $2.00 - Output: 60,737 tokens × $4/M = $0.24 - Total: ~$2.24 (was incorrectly showing $0.016) --- packages/proxy/schema/index.ts | 1 + packages/proxy/schema/model_list.json | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/packages/proxy/schema/index.ts b/packages/proxy/schema/index.ts index ee93455e..a5433ea7 100644 --- a/packages/proxy/schema/index.ts +++ b/packages/proxy/schema/index.ts @@ -379,6 +379,7 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = { "us.anthropic.claude-3-7-sonnet-20250219-v1:0": ["bedrock"], "anthropic.claude-haiku-4-5-20251001-v1:0": ["bedrock"], "us.anthropic.claude-haiku-4-5-20251001-v1:0": ["bedrock"], + "amazon-bedrock:global.anthropic.claude-haiku-4-5-20251001-v1:0": ["bedrock"], "anthropic.claude-3-5-haiku-20241022-v1:0": ["bedrock"], "us.anthropic.claude-3-5-haiku-20241022-v1:0": ["bedrock"], "anthropic.claude-3-5-sonnet-20241022-v2:0": ["bedrock"], diff --git a/packages/proxy/schema/model_list.json b/packages/proxy/schema/model_list.json index 69cf5a77..c8aa84d7 100644 --- a/packages/proxy/schema/model_list.json +++ b/packages/proxy/schema/model_list.json @@ -3227,6 +3227,19 @@ "max_input_tokens": 200000, "max_output_tokens": 64000 }, + "amazon-bedrock:global.anthropic.claude-haiku-4-5-20251001-v1:0": { + "format": "anthropic", + "flavor": "chat", + "multimodal": true, + "input_cost_per_mil_tokens": 0.8, + "output_cost_per_mil_tokens": 4, + "input_cache_read_cost_per_mil_tokens": 0.08, + "input_cache_write_cost_per_mil_tokens": 1, + "displayName": "AWS Bedrock Global Claude 4.5 Haiku", + "parent": "anthropic.claude-haiku-4-5-20251001-v1:0", + "max_input_tokens": 200000, + "max_output_tokens": 64000 + }, "anthropic.claude-3-5-haiku-20241022-v1:0": { "format": "anthropic", "flavor": "chat",