GPT-5.1-Codex-Max API pricing
As of October 22, 2026, OpenAI GPT-5.1-Codex-Max costs $1.25 per million input tokens and $10.00 per million output tokens, the median of 1 providers on OpenRouter, with cached input at $0.125 per million.
GPT-5.1-Codex-Max benchmarks and specs · Every OpenAI model's price
- Input, per million tokens$1.25
- Output, per million tokens$10.00
- Cached input, per million$0.125
- Context window400K tokens
- Max output128K tokens
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.0063 | $6.25 | Yes |
| Repository review | 50K input + 3K output tokens | $0.092 | $92.50 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.350 | $350.00 | Yes |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | Not computable | Not computable |
Price history
The price of GPT-5.1-Codex-Max here is the median across 1 providers on OpenRouter, so we do not track price changes for it.
Cheaper models as good as GPT-5.1-Codex-Max
GPT-5.1-Codex-Max has no overall or coding score, so we make no quality claim against it.
GPT-5.1-Codex-Max pricing questions
- How much does GPT-5.1-Codex-Max cost per million tokens?
- $1.25 per million input tokens and $10.00 per million output tokens, as listed on OpenRouter on October 22, 2026.
- Does GPT-5.1-Codex-Max support prompt caching?
- Yes. OpenRouter lists cached input at $0.125 per million tokens, against $1.25 for uncached input.
- Has the price of GPT-5.1-Codex-Max changed?
- The price of GPT-5.1-Codex-Max here is the median across 1 providers on OpenRouter, so we do not track price changes for it.