openai
OpenAI: GPT-5.1-Codex-Max API Pricing
OpenAI: GPT-5.1-Codex-Max costs $1.25 per 1M input tokens and $10.00 per 1M output tokens (cache reads: $0.125). Context window: 400K. Prices verified 2026-08-23 · source
Input / 1M tokens
$1.25
Output / 1M tokens
$10.00
Context window
400K
Max output
128K
What would OpenAI: GPT-5.1-Codex-Max cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $50.00 |
| Coding agent | 5,000 | 8,000 / 2,000 | $150.00 |
| RAG pipeline | 30,000 | 4,000 / 500 | $300.00 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $70.00 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About OpenAI: 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...
Compare OpenAI: GPT-5.1-Codex-Max with
Official resources
- OpenAI: GPT-5.1-Codex-Max on OpenRouter — live endpoint, pricing source of record.
- Get an OpenRouter API key → — one key, every model including GPT-5.1-Codex-Max. Free credits on signup.
- Shred your current bill — paste a CSV and see if switching saves money.