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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
update openrouter claude sonnet
Yuki Imajukub75961fb2092
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 1abc6519603..eeb0f782f9a 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -11388,9 +11388,9 @@},"openrouter/anthropic/claude-3.7-sonnet": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 128000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 128000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,@@ -11405,9 +11405,9 @@},"openrouter/anthropic/claude-3.7-sonnet:beta": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 128000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 128000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,@@ -11432,9 +11432,9 @@},"openrouter/anthropic/claude-sonnet-4": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 64000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 64000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 1abc6519603..eeb0f782f9a 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -11388,9 +11388,9 @@},"openrouter/anthropic/claude-3.7-sonnet": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 128000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 128000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,@@ -11405,9 +11405,9 @@},"openrouter/anthropic/claude-3.7-sonnet:beta": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 128000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 128000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,@@ -11432,9 +11432,9 @@},"openrouter/anthropic/claude-sonnet-4": {"supports_computer_use": true,- "max_tokens": 8192,+ "max_tokens": 64000,"max_input_tokens": 200000,- "max_output_tokens": 8192,+ "max_output_tokens": 64000,"input_cost_per_token": 3e-06,"output_cost_per_token": 1.5e-05,"input_cost_per_image": 0.0048,