- Input price
- $1.25 / 1M tokens
- Output price
- $10 / 1M tokens
- Context window
- 400K tokens
- Longest reply
- 128K tokens
About this model
GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
Description from the model’s public catalogue listing.
Capabilities
- Reads
- Text, Image
- Writes
- Text
- Reasoning mode
- Yes
- Tool calling
- Yes
- Open weights
- No
- Cached input
- $0.13 / 1M tokens
What it would cost
At list price, without caching or batch discounts.
- 1,000 chat replies2K tokens in, 500 out each
- $7.50
- Summarise 100 long reports50K tokens in, 1K out each
- $7.25
- A coding agent’s working day20M tokens in, 1M out
- $35.00
Price history
No change since we started tracking prices on 30 Sept 2026.
Alternatives at a similar price
From other labs, priced within about 40% of GPT-5.1-Codex, with a comparable context window.
- Qwen4 MaxQwen, 1M context$1.43 in$4.28 out
- Gemini 4 HydrogenGoogle, 1.05M context$1.50 in$7.50 out
- Gemini 4 CarbonGoogle, 1.05M context$2.00 in$10 out
- Kimi K3.1 ProMoonshot, 1.05M context$0.24 in$8.40 out
- Pareto 26.9Unbiased, 262K context$2.50 in$7.50 out
- Gemini 4 ArgonGoogle, 1.05M context$2.00 in$10 out
More from OpenAI
See all- GPT-6.2 Astra ProOpenAI, 1.05M context$8.00 in$40 out
- GPT-6.2 AstraOpenAI, 1.05M context$8.00 in$40 out
- GPT-6.2 Sol ProOpenAI, 1.05M context$2.00 in$10 out
- GPT-6.2 SolOpenAI, 1.05M context$2.00 in$10 out
- GPT-6.1 Terra ProOpenAI, 1.05M context$1.00 in$5.00 out
- GPT-6.1 TerraOpenAI, 1.05M context$1.00 in$5.00 out