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] Adjust max_input_tokens for azure/gpt-5-chat models in JSON configuration
Jugal Bhatt790d2d083061
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 96680538888..38745497605 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -2457,7 +2457,7 @@},"azure/gpt-5-chat": {"max_tokens": 128000,- "max_input_tokens": 400000,+ "max_input_tokens": 272000,"max_output_tokens": 128000,"input_cost_per_token": 1.25e-06,"output_cost_per_token": 1e-05,@@ -2490,7 +2490,7 @@},"azure/gpt-5-chat-latest": {"max_tokens": 128000,- "max_input_tokens": 400000,+ "max_input_tokens": 272000,"max_output_tokens": 128000,"input_cost_per_token": 1.25e-06,"output_cost_per_token": 1e-05,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 96680538888..38745497605 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -2457,7 +2457,7 @@},"azure/gpt-5-chat": {"max_tokens": 128000,- "max_input_tokens": 400000,+ "max_input_tokens": 272000,"max_output_tokens": 128000,"input_cost_per_token": 1.25e-06,"output_cost_per_token": 1e-05,@@ -2490,7 +2490,7 @@},"azure/gpt-5-chat-latest": {"max_tokens": 128000,- "max_input_tokens": 400000,+ "max_input_tokens": 272000,"max_output_tokens": 128000,"input_cost_per_token": 1.25e-06,"output_cost_per_token": 1e-05,