GPT-5.1-Codex-Max — API Pricing, Context Window & Specifications
GPT-5.1-Codex-Max by OpenAI: $1.25 per 1M input tokens, $10.00 per 1M output tokens, 400K token context window, monthly workload cost estimates and rival LLM comparisons.
$1.25Input / 1M
$10.00Output / 1M
400KContext
128KMax Output
OpenAIProvider
text+image->textModality
GPT-5.1-Codex-Max token cost by volume
| Token volume | Input cost | Output cost |
|---|---|---|
| 10K tokens | $0.013 | $0.10 |
| 100K tokens | $0.125 | $1.00 |
| 1M tokens | $1.25 | $10.00 |
| 10M tokens | $12.50 | $100.00 |
| 100M tokens | $125.00 | $1,000.00 |
| Workload scenario (30 days) | Est. monthly bill |
|---|---|
| Customer chatbot (1,000 chats/day · 1.5K in + 500 out) | $206.25 |
| Enterprise RAG search (5,000 queries/day · 4K in + 600 out) | $1,650.00 |
| Coding / agentic workflow (500 runs/day · 12K in + 2K out) | $525.00 |
More models from OpenAI
- GPT-6.2 Astra Pro
- GPT-6.2 Astra
- GPT-6.2 Sol Pro
- GPT-6.2 Sol
- GPT-6.1 Terra Pro
- GPT-6.1 Terra
- GPT-6.1 Sol Pro
- GPT-6.1 Sol
- GPT-6 Luna Pro
- GPT-6 Luna
- GPT-6 Sol Pro
- GPT-6 Sol
Frequently asked questions
How much does the GPT-5.1-Codex-Max API cost per million tokens?
GPT-5.1-Codex-Max (OpenAI) is priced at $1.25 per 1 million input tokens and $10.00 per 1 million output tokens, with prompt cache reads at $0.125 per 1M tokens.
What is GPT-5.1-Codex-Max's maximum context window and output limit?
GPT-5.1-Codex-Max supports a context window of 400,000 tokens with up to 128,000 maximum completion tokens (text+image->text).