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
test_azure_openai_assistants_e2e_operations_stream
Ishaan Jaffer8dd31a5fe890
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 87fdfc71882..877df1bb780 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -12729,22 +12729,13 @@},"gpt-5-codex": {"cache_read_input_token_cost": 1.25e-07,- "cache_read_input_token_cost_flex": 6.25e-08,- "cache_read_input_token_cost_priority": 2.5e-07,"input_cost_per_token": 1.25e-06,- "input_cost_per_token_flex": 6.25e-07,- "input_cost_per_token_priority": 2.5e-06,"litellm_provider": "openai","max_input_tokens": 400000,"max_output_tokens": 128000,"max_tokens": 128000,- "metadata": {- "notes": "GPT-5-Codex pricing placeholder - needs to be updated with actual OpenAI pricing"- },"mode": "chat","output_cost_per_token": 1e-05,- "output_cost_per_token_flex": 5e-06,- "output_cost_per_token_priority": 2e-05,"supported_endpoints": ["/v1/responses"],@@ -12764,44 +12755,6 @@"supports_system_messages": true,"supports_tool_choice": true},- "gpt-5-codex-latest": {- "cache_read_input_token_cost": 1.25e-07,- "cache_read_input_token_cost_flex": 6.25e-08,- "cache_read_input_token_cost_priority": 2.5e-07,- "input_cost_per_token": 1.25e-06,- "input_cost_per_token_flex": 6.25e-07,- "input_cost_per_token_priority": 2.5e-06,- "litellm_provider": "openai",- "max_input_tokens": 400000,- "max_output_tokens": 128000,- "max_tokens": 128000,- "metadata": {- "notes": "GPT-5-Codex-Latest pricing placeholder - needs to be updated with actual OpenAI pricing"- },- "mode": "chat",- "output_cost_per_token": 1e-05,- "output_cost_per_token_flex": 5e-06,- "output_cost_per_token_priority": 2e-05,- "supported_endpoints": [- "/v1/chat/completions",- "/v1/batch",- "/v1/responses"- ],- "supported_modalities": [- "text"- ],- "supported_output_modalities": [- "text"- ],- "supports_function_calling": true,- "supports_native_streaming": true,- "supports_parallel_function_calling": true,- "supports_prompt_caching": true,- "supports_reasoning": true,- "supports_response_schema": true,- "supports_system_messages": true,- "supports_tool_choice": true- },"gpt-5-2025-08-07": {"cache_read_input_token_cost": 1.25e-07,"cache_read_input_token_cost_flex": 6.25e-08,diff --git a/tests/pass_through_tests/test_openai_assistants_passthrough.py b/tests/pass_through_tests/test_openai_assistants_passthrough.pyindex 974fd566cc9..4736426aa43 100644--- a/tests/pass_through_tests/test_openai_assistants_passthrough.py+++ b/tests/pass_through_tests/test_openai_assistants_passthrough.py@@ -100,7 +100,11 @@ def test_openai_assistants_e2e_operations_stream():def test_azure_openai_assistants_e2e_operations_stream():- client = openai.OpenAI(base_url="http://0.0.0.0:4000/azure-config-passthrough", api_key="sk-1234")+ client = openai.OpenAI(+ base_url="http://0.0.0.0:4000/azure-config-passthrough",+ api_key="sk-1234",+ api_version="2025-01-01-preview"+ )assistant = client.beta.assistants.create(name="Math Tutor",instructions="You are a personal math tutor. Write and run code to answer math questions.",