OpenAI
GPT-5.1-Codex-Max pricing and cost calculator
GPT-5.1-Codex-Max from OpenAI costs $1.25 per million input tokens and $10 per million output tokens, with a context window of 400,000 tokens. It was released on Dec 4, 2025. Cached input tokens are billed at $0.125 per million.
- Input price
- $1.25
- Output price
- $10
- Context window
- 400,000
- Released
- Dec 4, 2025
Token cost calculator
| Model | Per request | Per day | Per month (30 days) |
|---|---|---|---|
| GPT-5.1-Codex-Max | $0.00625 | $6.25 | $187.50 |
| Gemini 4 Hydrogen | $0.00525 | $5.25 | $157.50 |
Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.
Price and specs
| Input price | $1.25 / 1M |
|---|---|
| Output price | $10 / 1M |
| Cached input | $0.125 / 1M |
| Context window | 400,000 |
| Max output | 128,000 |
| Accepts | text, images |
| Produces | text |
| Reasoning mode | Yes |
| Tool / function calling | Yes |
| Structured (JSON) output | Yes |
| Open weights | No |
| Released | Dec 4, 2025 |
What typical workloads cost
| 1,000 chat replies (1,000 input + 500 output tokens each) | $6.25 |
|---|---|
| Summarise a 100-page document (≈50,000 input + 1,000 output tokens) | $0.073 |
| 1 million input + 1 million output tokens | $11.25 |
Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.
Cheaper models with at least the same context window
- Gemini 4 Hydrogen$1.50 / $7.50
- GPT-6.1 Terra$1 / $5
- Kimi K3.1 Pro$0.24 / $8.40
- Qwen4 Max$1.43 / $4.28
- Muse Spark 1.3$1.25 / $4.25
- Claude Haiku 5.5$0.10 / $0.50
Similarly priced models from other providers
- Gemini 2.5 Pro$1.25 / $10
- Gemini 2.5 Pro Preview 06-05$1.25 / $10
- Sonar Deep Research$2 / $8
- Sonar Reasoning Pro$2 / $8
- Gemini Omni 1.2 Flash$1.50 / $9
- Gemini Omni 1.1 Flash$1.50 / $9
More OpenAI models
- GPT-6.2 Astra$8 / $40
- GPT-6.2 Astra Pro$8 / $40
- GPT-6.2 Sol$2 / $10
- GPT-6.2 Sol Pro$2 / $10
- GPT-6.1 Terra$1 / $5
- GPT-6.1 Terra Pro$1 / $5
- GPT-6.1 Sol$2 / $10
- GPT-6.1 Sol Pro$2 / $10
About GPT-5.1-Codex-Max
GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...
GPT-5.1-Codex-Max FAQ
- How much does GPT-5.1-Codex-Max cost?
- GPT-5.1-Codex-Max costs $1.25 per 1M input tokens and $10 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $6.25.
- What is the context window of GPT-5.1-Codex-Max?
- GPT-5.1-Codex-Max accepts up to 400,000 tokens of context and can return up to 128,000 tokens in one response.
- Can GPT-5.1-Codex-Max read images?
- Yes. GPT-5.1-Codex-Max accepts text, images as input.
- What is a cheaper alternative to GPT-5.1-Codex-Max?
- Cheaper models with at least the same context window include Gemini 4 Hydrogen, GPT-6.1 Terra, Kimi K3.1 Pro.