Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

build(model_prices_and_context_window.json): add vertex ai claude-opus-4.1

Krrish Dholakia352b7ae9130d
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,