From 352b7ae9130d26883b55dab9528800cbbf2ef426 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 5 Aug 2025 17:52:28 -0700 Subject: [PATCH] build(model_prices_and_context_window.json): add vertex ai claude-opus-4.1 Add claude opus 4.1 --- ...odel_prices_and_context_window_backup.json | 34 +++++++++++++++++++ model_prices_and_context_window.json | 34 +++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index d7ef624ae83..1e2a39e5e13 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -8716,6 +8716,40 @@ "source": "https://aistudio.google.com", "supports_tool_choice": true }, + "vertex_ai/claude-opus-4-1": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 15e-06, + "output_cost_per_token": 75e-06, + "input_cost_per_token_batches": 7.5e-06, + "output_cost_per_token_batches": 37.5e-06, + "input_cost_per_token_cache_hit": 18.75e-06, + "output_cost_per_token_cache_hit": 1.5e-06, + "litellm_provider": "vertex_ai-anthropic_models", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, + "vertex_ai/claude-opus-4-1@20250805": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 15e-06, + "output_cost_per_token": 75e-06, + "input_cost_per_token_batches": 7.5e-06, + "output_cost_per_token_batches": 37.5e-06, + "input_cost_per_token_cache_hit": 18.75e-06, + "output_cost_per_token_cache_hit": 1.5e-06, + "litellm_provider": "vertex_ai-anthropic_models", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, "vertex_ai/claude-3-sonnet": { "max_tokens": 4096, "max_input_tokens": 200000, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index d7ef624ae83..1e2a39e5e13 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -8716,6 +8716,40 @@ "source": "https://aistudio.google.com", "supports_tool_choice": true }, + "vertex_ai/claude-opus-4-1": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 15e-06, + "output_cost_per_token": 75e-06, + "input_cost_per_token_batches": 7.5e-06, + "output_cost_per_token_batches": 37.5e-06, + "input_cost_per_token_cache_hit": 18.75e-06, + "output_cost_per_token_cache_hit": 1.5e-06, + "litellm_provider": "vertex_ai-anthropic_models", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, + "vertex_ai/claude-opus-4-1@20250805": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 15e-06, + "output_cost_per_token": 75e-06, + "input_cost_per_token_batches": 7.5e-06, + "output_cost_per_token_batches": 37.5e-06, + "input_cost_per_token_cache_hit": 18.75e-06, + "output_cost_per_token_cache_hit": 1.5e-06, + "litellm_provider": "vertex_ai-anthropic_models", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "supports_assistant_prefill": true, + "supports_tool_choice": true + }, "vertex_ai/claude-3-sonnet": { "max_tokens": 4096, "max_input_tokens": 200000,