OpenAI

GPT-5.1-Codex-Max

$1.25 per 1M input tokens and $10.00 per 1M output tokens · 400K context · vision, tools, reasoning, JSON.

Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026

$1.25
input / 1M tokens
$10.00
output / 1M tokens
$0.125
cached input / 1M
400K
context window
128K
max output

What GPT-5.1-Codex-Max costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$1,047
Document Q&A (RAG)
500 questions a day over retrieved documents
$177
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$386
Content generation
30 long articles a day
$25.88
Classification / extraction
100,000 short items a day
$1,575

Price history

No input price change since Oct 21, 2026. See all recent price changes.

Cheaper alternatives to GPT-5.1-Codex-Max

Models with the same tool calling, image input, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to GPT-5.1-Codex-Max
Model Input / 1M Output / 1M Context Capabilities
GPT-6.1 Terra
OpenAI
$1.00 $5.00 1.05M visiontoolsreasoningJSON
MiniMax M4
MiniMax
$0.80 $3.10 1M visiontoolsreasoningJSON
Kimi K3.1 Pro
Moonshot AI
$0.253 $8.10 1.05M visiontoolsreasoningJSONopen weights
Qwen4 Max
Qwen
$1.43 $4.28 1M visiontoolsreasoningJSON
GLM 5.4
Z.ai
$1.40 $4.40 1.05M visiontoolsreasoningJSONopen weights

How to pay less for GPT-5.1-Codex-Max

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $1,290 a month at list price without caching:

OptionPer monthYou save
Move to GPT-6.1 Terra (similar capabilities)$575$715 (55%)
Use prompt caching (60% of input cached)$1,047$243 (19%)

Other workloads: cut-your-bill tool for GPT-5.1-Codex-Max.

Specifications

Model IDopenai/gpt-5.1-codex-max
Inputtext, image
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeYes
Open weightsNo
ReleasedDec 4, 2025

FAQ

How much does GPT-5.1-Codex-Max cost?
$1.25 per million input tokens and $10.00 per million output tokens; cached input costs $0.125 per million. Prices as of Dec 6, 2026.
What is the context window of GPT-5.1-Codex-Max?
400K tokens, with up to 128K output tokens per response.
Does GPT-5.1-Codex-Max support images, tools and structured output?
Images as input: yes. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
What are cheaper alternatives to GPT-5.1-Codex-Max?
Models with the same key capabilities for at least 20% less include GPT-6.1 Terra ($1.00 / $5.00), MiniMax M4 ($0.80 / $3.10), Kimi K3.1 Pro ($0.253 / $8.10).

More from OpenAI: all OpenAI models · how we collect prices