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]

Add GPT 5 models (#13377)

Low Jian Sheng9e0ba10f2399
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 6ce46e5962f..b4ff923c1e2 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -296,6 +296,60 @@
"supports_system_messages": true,
"supports_tool_choice": true
},
+ "gpt-5-2025-08-07": {
+ "max_tokens": 128000,
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 1.25e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 1.25e-07,
+ "litellm_provider": "openai",
+ "mode": "chat",
+ "supports_pdf_input": true,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true
+ },
+ "gpt-5-mini-2025-08-07": {
+ "max_tokens": 128000,
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2.5e-07,
+ "output_cost_per_token": 2e-06,
+ "cache_read_input_token_cost": 2.5e-08,
+ "litellm_provider": "openai",
+ "mode": "chat",
+ "supports_pdf_input": true,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true
+ },
+ "gpt-5-nano-2025-08-07": {
+ "max_tokens": 128000,
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 5e-08,
+ "output_cost_per_token": 4e-07,
+ "cache_read_input_token_cost": 5e-09,
+ "litellm_provider": "openai",
+ "mode": "chat",
+ "supports_pdf_input": true,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true
+ },
"watsonx/ibm/granite-3-8b-instruct": {
"max_tokens": 8192,
"max_input_tokens": 8192,