Skip to content

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]

Fix: Update gpt-4o costs to that of gpt-4o-2024-08-06 (#6714)

Kilian Lierete7543378b8b7
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 48b25523e8b..fb8fb105c70 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -26,16 +26,17 @@
"supports_prompt_caching": true
},
"gpt-4o": {
- "max_tokens": 4096,
+ "max_tokens": 16384,
"max_input_tokens": 128000,
- "max_output_tokens": 4096,
- "input_cost_per_token": 0.000005,
- "output_cost_per_token": 0.000015,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 0.0000025,
+ "output_cost_per_token": 0.000010,
"cache_read_input_token_cost": 0.00000125,
"litellm_provider": "openai",
"mode": "chat",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
+ "supports_response_schema": true,
"supports_vision": true,
"supports_prompt_caching": true
},