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
Add model pricing and context window for claude-sonnet-4-5 (#15049)
Ishaan Jaff05955042d57f
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex e69d850447a..3987fe7e511 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -4739,6 +4739,32 @@"supports_vision": true,"tool_use_system_prompt_tokens": 159},+ "anthropic/claude-sonnet-4-5": {+ "cache_creation_input_token_cost": 3.75e-06,+ "cache_read_input_token_cost": 3e-07,+ "input_cost_per_token": 3e-06,+ "litellm_provider": "anthropic",+ "max_input_tokens": 200000,+ "max_output_tokens": 64000,+ "max_tokens": 200000,+ "mode": "chat",+ "output_cost_per_token": 1.5e-05,+ "search_context_cost_per_query": {+ "search_context_size_high": 0.01,+ "search_context_size_low": 0.01,+ "search_context_size_medium": 0.01+ },+ "supports_assistant_prefill": true,+ "supports_computer_use": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_vision": true,+ "tool_use_system_prompt_tokens": 346+ },"claude-sonnet-4-5-20250929": {"cache_creation_input_token_cost": 3.75e-06,"cache_read_input_token_cost": 3e-07,