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]

update model prices and context window

Yuki Imajuku86d8fcf5fda9
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 1001aca9c09..1abc6519603 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -11447,6 +11447,40 @@
"supports_assistant_prefill": true,
"supports_tool_choice": true
},
+ "openrouter/anthropic/claude-opus-4": {
+ "max_tokens": 32000,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
+ "input_cost_per_token": 1.5e-05,
+ "output_cost_per_token": 7.5e-05,
+ "input_cost_per_image": 0.0048,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "tool_use_system_prompt_tokens": 159,
+ "supports_assistant_prefill": true,
+ "supports_tool_choice": true,
+ "supports_reasoning": true,
+ "supports_computer_use": true
+ },
+ "openrouter/anthropic/claude-opus-4.1": {
+ "max_tokens": 32000,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
+ "input_cost_per_token": 1.5e-05,
+ "output_cost_per_token": 7.5e-05,
+ "input_cost_per_image": 0.0048,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "tool_use_system_prompt_tokens": 159,
+ "supports_assistant_prefill": true,
+ "supports_tool_choice": true,
+ "supports_reasoning": true,
+ "supports_computer_use": true
+ },
"openrouter/mistralai/mistral-large": {
"max_tokens": 32000,
"input_cost_per_token": 8e-06,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 1001aca9c09..1abc6519603 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -11447,6 +11447,40 @@
"supports_assistant_prefill": true,
"supports_tool_choice": true
},
+ "openrouter/anthropic/claude-opus-4": {
+ "max_tokens": 32000,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
+ "input_cost_per_token": 1.5e-05,
+ "output_cost_per_token": 7.5e-05,
+ "input_cost_per_image": 0.0048,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "tool_use_system_prompt_tokens": 159,
+ "supports_assistant_prefill": true,
+ "supports_tool_choice": true,
+ "supports_reasoning": true,
+ "supports_computer_use": true
+ },
+ "openrouter/anthropic/claude-opus-4.1": {
+ "max_tokens": 32000,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
+ "input_cost_per_token": 1.5e-05,
+ "output_cost_per_token": 7.5e-05,
+ "input_cost_per_image": 0.0048,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "tool_use_system_prompt_tokens": 159,
+ "supports_assistant_prefill": true,
+ "supports_tool_choice": true,
+ "supports_reasoning": true,
+ "supports_computer_use": true
+ },
"openrouter/mistralai/mistral-large": {
"max_tokens": 32000,
"input_cost_per_token": 8e-06,