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 openrouter gpt-5 family models pricing

Edward Samuel Pasaribud898f9e0ddc3
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 28dec7cce90..4db8f43d0c7 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -11688,6 +11688,71 @@
"mode": "chat",
"supports_tool_choice": true
},
+ "openrouter/openai/gpt-5-mini": {
+ "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": "openrouter",
+ "mode": "chat",
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
+ "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,
+ "supports_native_streaming": true,
+ "supports_reasoning": true
+ },
+ "openrouter/openai/gpt-5-nano": {
+ "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": "openrouter",
+ "mode": "chat",
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
+ "supports_tool_choice": true,
+ "supports_reasoning": true
+ },
+ "openrouter/openai/gpt-5-chat": {
+ "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": "openrouter",
+ "mode": "chat",
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
+ "supports_tool_choice": false,
+ "supports_reasoning": true
+ },
"openrouter/openai/gpt-oss-20b": {
"max_tokens": 32768,
"max_input_tokens": 131072,