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 azure/gpt-5.2-codex
Sameer Kankute48d1e769a842
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 7c410a4ab30..4862bd4a738 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -3634,6 +3634,37 @@"supports_tool_choice": true,"supports_vision": true},+ "azure/gpt-5.2-codex": {+ "cache_read_input_token_cost": 1.75e-07,+ "input_cost_per_token": 1.75e-06,+ "litellm_provider": "azure",+ "max_input_tokens": 128000,+ "max_output_tokens": 16384,+ "max_tokens": 16384,+ "mode": "chat",+ "output_cost_per_token": 1.4e-05,+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/responses"+ ],+ "supported_modalities": [+ "text",+ "image"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_function_calling": true,+ "supports_native_streaming": true,+ "supports_parallel_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },"azure/gpt-5.2-pro": {"input_cost_per_token": 2.1e-05,"litellm_provider": "azure",@@ -10170,6 +10201,48 @@"mode": "completion","output_cost_per_token": 5e-07},+ "deepseek-v3-2-251201": {+ "input_cost_per_token": 0.0,+ "litellm_provider": "volcengine",+ "max_input_tokens": 98304,+ "max_output_tokens": 32768,+ "max_tokens": 32768,+ "mode": "chat",+ "output_cost_per_token": 0.0,+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_tool_choice": true+ },+ "glm-4-7-251222": {+ "input_cost_per_token": 0.0,+ "litellm_provider": "volcengine",+ "max_input_tokens": 204800,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 0.0,+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_tool_choice": true+ },+ "kimi-k2-thinking-251104": {+ "input_cost_per_token": 0.0,+ "litellm_provider": "volcengine",+ "max_input_tokens": 229376,+ "max_output_tokens": 32768,+ "max_tokens": 32768,+ "mode": "chat",+ "output_cost_per_token": 0.0,+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_tool_choice": true+ },"doubao-embedding": {"input_cost_per_token": 0.0,"litellm_provider": "volcengine",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 9604db2ee05..4862bd4a738 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -3634,6 +3634,37 @@"supports_tool_choice": true,"supports_vision": true},+ "azure/gpt-5.2-codex": {+ "cache_read_input_token_cost": 1.75e-07,+ "input_cost_per_token": 1.75e-06,+ "litellm_provider": "azure",+ "max_input_tokens": 128000,+ "max_output_tokens": 16384,+ "max_tokens": 16384,+ "mode": "chat",+ "output_cost_per_token": 1.4e-05,+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/responses"+ ],+ "supported_modalities": [+ "text",+ "image"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_function_calling": true,+ "supports_native_streaming": true,+ "supports_parallel_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },"azure/gpt-5.2-pro": {"input_cost_per_token": 2.1e-05,"litellm_provider": "azure",