From 2aa1c8a2f0496cc968afcbeb476f5e967bf58aa5 Mon Sep 17 00:00:00 2001 From: cpinn <4450689+cpinn@users.noreply.github.com> Date: Fri, 29 May 2026 09:22:27 +0000 Subject: [PATCH] fix: add Bedrock models publishers/anthropic/models/claude-opus-4-8 +3 more --- packages/proxy/schema/index.ts | 4 ++ packages/proxy/schema/model_list.json | 73 +++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/packages/proxy/schema/index.ts b/packages/proxy/schema/index.ts index 6808f21f..100bf0e9 100644 --- a/packages/proxy/schema/index.ts +++ b/packages/proxy/schema/index.ts @@ -590,6 +590,10 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = { "grok-2-1212": ["xAI"], "grok-vision-beta": ["xAI"], "grok-beta": ["xAI"], + "publishers/anthropic/models/claude-opus-4-8": ["vertex"], + "anthropic.claude-opus-4-8": ["bedrock"], + "global.anthropic.claude-opus-4-8": ["bedrock"], + "us.anthropic.claude-opus-4-8": ["bedrock"], "claude-opus-4-8": ["anthropic"], "grok-4.20-0309-non-reasoning": ["xAI"], "accounts/fireworks/models/deepseek-v4-flash": ["fireworks"], diff --git a/packages/proxy/schema/model_list.json b/packages/proxy/schema/model_list.json index 44455a18..979dfa22 100644 --- a/packages/proxy/schema/model_list.json +++ b/packages/proxy/schema/model_list.json @@ -7725,6 +7725,24 @@ "bedrock" ] }, + "global.anthropic.claude-opus-4-8": { + "format": "anthropic", + "flavor": "chat", + "multimodal": true, + "input_cost_per_mil_tokens": 5, + "output_cost_per_mil_tokens": 25, + "input_cache_read_cost_per_mil_tokens": 0.5, + "input_cache_write_cost_per_mil_tokens": 6.25, + "displayName": "Global Claude 4.8 Opus", + "reasoning": true, + "reasoning_budget": true, + "parent": "anthropic.claude-opus-4-8", + "max_input_tokens": 1000000, + "max_output_tokens": 128000, + "available_providers": [ + "bedrock" + ] + }, "anthropic.claude-3-5-haiku-20241022-v1:0": { "format": "anthropic", "flavor": "chat", @@ -8137,6 +8155,23 @@ "bedrock" ] }, + "anthropic.claude-opus-4-8": { + "format": "anthropic", + "flavor": "chat", + "multimodal": true, + "input_cost_per_mil_tokens": 5, + "output_cost_per_mil_tokens": 25, + "input_cache_read_cost_per_mil_tokens": 0.5, + "input_cache_write_cost_per_mil_tokens": 6.25, + "displayName": "Claude 4.8 Opus", + "reasoning": true, + "reasoning_budget": true, + "max_input_tokens": 1000000, + "max_output_tokens": 128000, + "available_providers": [ + "bedrock" + ] + }, "us.anthropic.claude-3-haiku-20240307-v1:0": { "format": "anthropic", "flavor": "chat", @@ -8173,6 +8208,24 @@ "bedrock" ] }, + "us.anthropic.claude-opus-4-8": { + "format": "anthropic", + "flavor": "chat", + "multimodal": true, + "input_cost_per_mil_tokens": 5.5, + "output_cost_per_mil_tokens": 27.5, + "input_cache_read_cost_per_mil_tokens": 0.55, + "input_cache_write_cost_per_mil_tokens": 6.875, + "displayName": "US Claude 4.8 Opus", + "reasoning": true, + "reasoning_budget": true, + "parent": "anthropic.claude-opus-4-8", + "max_input_tokens": 1000000, + "max_output_tokens": 128000, + "available_providers": [ + "bedrock" + ] + }, "apac.anthropic.claude-3-haiku-20240307-v1:0": { "format": "anthropic", "flavor": "chat", @@ -9179,6 +9232,26 @@ "displayName": "Gemini 2.0 Flash-Lite", "deprecated": true }, + "publishers/anthropic/models/claude-opus-4-8": { + "format": "anthropic", + "flavor": "chat", + "multimodal": true, + "input_cost_per_mil_tokens": 5, + "output_cost_per_mil_tokens": 25, + "input_cache_read_cost_per_mil_tokens": 0.5, + "input_cache_write_cost_per_mil_tokens": 6.25, + "displayName": "Claude 4.8 Opus", + "reasoning": true, + "reasoning_budget": true, + "locations": [ + "global" + ], + "max_input_tokens": 1000000, + "max_output_tokens": 128000, + "available_providers": [ + "vertex" + ] + }, "databricks-claude-3-7-sonnet": { "format": "openai", "flavor": "chat",