gpt-5-codex
OpenRouter · chat model
Input
$1.2500 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
$0.1250 / 1M tokens
Context
128.0K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 0.00000125 | $1.2500 / 1M tokens |
| Output | 0.00001 | $10.0000 / 1M tokens |
| Cached input | 1.25e-7 | $0.1250 / 1M tokens |
| Embedding | 0.00000125 | $1.2500 / 1M tokens |
Token limits
Context window
128.0K
Max input tokens
272.0K
Max output tokens
128.0K
Max tokens
128.0K
Capabilities
| Capability | Supported |
|---|---|
| Vision | No |
| Function calling | No |
| Parallel function calling | No |
| Tool choice | Yes |
| Prompt caching | No |
| Reasoning | Yes |
| Response schema | No |
| System messages | No |
| Audio input | No |
| Audio output | No |
| Web search | No |
| PDF input | No |
| Video input | No |
Similar models
Models with comparable pricing in the same mode (chat).
| Model | Provider | Input | Output | Context | Coding | Features |
|---|---|---|---|---|---|---|
| gpt-5.1 | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| gpt-5.1-chat | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| gpt-5.1-2025-11-13 | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| gpt-5.1-chat-2025-11-13 | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 16.4K | N/A | Vision Cache Reasoning |
| gpt-5 | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
| gpt-5-2025-08-07 | Azure | $1.2500 / 1M tokens | $10.0000 / 1M tokens | 128.0K | N/A | Vision Tools Cache Reasoning |
Sources
| Pricing source | LiteLLM model cost map |
| Synced at | 2026-05-27 |
| Manual review | Not reviewed |
Raw LiteLLM fields
{
"cache_read_input_token_cost": 1.25e-7,
"input_cost_per_token": 0.00000125,
"litellm_provider": "openrouter",
"max_input_tokens": 272000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 0.00001,
"supported_modalities": [
"text",
"image"
],
"supported_output_modalities": [
"text"
],
"supports_reasoning": true,
"supports_tool_choice": true
}