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
build(model_prices_and_context_window.json): add gpt-4o-mini-realtime-preview azure model cost
Krrish Dholakia84b4d1509a2b
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex f679066a866..bbcad25f8a7 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -1021,6 +1021,120 @@"input_cost_per_character": 0.000030,"litellm_provider": "openai"},+ "azure/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000006,+ "input_cost_per_audio_token": 0.00001,+ "cache_read_input_token_cost": 0.0000003,+ "cache_creation_input_audio_token_cost": 0.0000003,+ "output_cost_per_token": 0.0000024,+ "output_cost_per_audio_token": 0.00002,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/eu/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.00000066,+ "input_cost_per_audio_token": 0.000011,+ "cache_read_input_token_cost": 0.00000033,+ "cache_creation_input_audio_token_cost": 0.00000033,+ "output_cost_per_token": 0.00000264,+ "output_cost_per_audio_token": 0.000022,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/us/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.00000066,+ "input_cost_per_audio_token": 0.000011,+ "cache_read_input_token_cost": 0.00000033,+ "cache_creation_input_audio_token_cost": 0.00000033,+ "output_cost_per_token": 0.00000264,+ "output_cost_per_audio_token": 0.000022,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.000005,+ "input_cost_per_audio_token": 0.00004,+ "cache_read_input_token_cost": 0.0000025,+ "cache_creation_input_audio_token_cost": 0.0000025,+ "output_cost_per_token": 0.00002,+ "output_cost_per_audio_token": 0.00008,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/us/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000055,+ "input_cost_per_audio_token": 0.000044,+ "cache_read_input_token_cost": 0.00000275,+ "cache_creation_input_audio_token_cost": 0.00000275,+ "output_cost_per_token": 0.000022,+ "output_cost_per_audio_token": 0.000088,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/eu/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000055,+ "input_cost_per_audio_token": 0.000044,+ "cache_read_input_token_cost": 0.00000275,+ "cache_creation_input_audio_token_cost": 0.00000275,+ "output_cost_per_token": 0.000022,+ "output_cost_per_audio_token": 0.000088,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },"azure/o3-mini-2025-01-31": {"max_tokens": 100000,"max_input_tokens": 200000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex f679066a866..bbcad25f8a7 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -1021,6 +1021,120 @@"input_cost_per_character": 0.000030,"litellm_provider": "openai"},+ "azure/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000006,+ "input_cost_per_audio_token": 0.00001,+ "cache_read_input_token_cost": 0.0000003,+ "cache_creation_input_audio_token_cost": 0.0000003,+ "output_cost_per_token": 0.0000024,+ "output_cost_per_audio_token": 0.00002,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/eu/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.00000066,+ "input_cost_per_audio_token": 0.000011,+ "cache_read_input_token_cost": 0.00000033,+ "cache_creation_input_audio_token_cost": 0.00000033,+ "output_cost_per_token": 0.00000264,+ "output_cost_per_audio_token": 0.000022,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/us/gpt-4o-mini-realtime-preview-2024-12-17": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.00000066,+ "input_cost_per_audio_token": 0.000011,+ "cache_read_input_token_cost": 0.00000033,+ "cache_creation_input_audio_token_cost": 0.00000033,+ "output_cost_per_token": 0.00000264,+ "output_cost_per_audio_token": 0.000022,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.000005,+ "input_cost_per_audio_token": 0.00004,+ "cache_read_input_token_cost": 0.0000025,+ "cache_creation_input_audio_token_cost": 0.0000025,+ "output_cost_per_token": 0.00002,+ "output_cost_per_audio_token": 0.00008,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/us/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000055,+ "input_cost_per_audio_token": 0.000044,+ "cache_read_input_token_cost": 0.00000275,+ "cache_creation_input_audio_token_cost": 0.00000275,+ "output_cost_per_token": 0.000022,+ "output_cost_per_audio_token": 0.000088,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },+ "azure/eu/gpt-4o-realtime-preview-2024-10-01": {+ "max_tokens": 4096,+ "max_input_tokens": 128000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 0.0000055,+ "input_cost_per_audio_token": 0.000044,+ "cache_read_input_token_cost": 0.00000275,+ "cache_creation_input_audio_token_cost": 0.00000275,+ "output_cost_per_token": 0.000022,+ "output_cost_per_audio_token": 0.000088,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_audio_input": true,+ "supports_audio_output": true,+ "supports_system_messages": true,+ "supports_tool_choice": true+ },"azure/o3-mini-2025-01-31": {"max_tokens": 100000,"max_input_tokens": 200000,