OpenAI: GPT-5.1-Codex
The OpenAI GPT-5.1-Codex is a language and image processing AI model that can handle input modalities of text and images, with a large context length of 400,000 tokens. It also supports tools, reasoning, and has no structured output. This model allows users to interact with it through various interfaces. Those considering the OpenAI GPT-5.1-Codex should shortlist it for its versatility in handling both text and image inputs. While pricing is higher than average at $1.25 per input token and $10.00 per output token, its performance is notable, boasting a blended benchmark score of 40.2 across one independent benchmark.
Benchmark results
Independent, published benchmarks. Blended score 37.0 across 1 benchmark, last refreshed 2026-09-27. How scoring works →
| Benchmark | Measures | Score |
|---|---|---|
| AI Index | broad capability composite | 39.1 |
- Model ID
- openai/gpt-5.1-codex
- Vendor
- openai
- Released
- November 2025
- Tokenizer
- GPT
- Input Modalities
- text, image
- Output Modalities
- text
- Max Output
- 128,000 tokens
- Tool Calling
- ✓ supported
- Structured Output
- ✓ supported
- Reasoning Mode
- ✓ supported
- Vision
- ✓ accepts images
- Audio
- no
- Moderated
- no
What it costs in practice
Computed from the current $1.25/M input and $10.00/M output rates. Run your own numbers →
| Job | Tokens | Cost |
|---|---|---|
| Summarize a 50-page report | 30k in / 1.5k out | $0.05 |
| Classify 1,000 customer emails | 500k in / 50k out | $1.12 |
| A month of a busy support chatbot | 5M in / 2M out | $26.25 |
Similar models
OpenAI: GPT-5.1-Codex-Max
OpenAI: GPT-6 Luna Pro
OpenAI: GPT-6 Luna Pro (batch)
OpenAI: GPT-6 Luna
OpenAI: GPT-6 Luna (batch)
OpenAI: GPT-6 Sol Pro
Quick answers
- How much does OpenAI: GPT-5.1-Codex cost?
- $1.25 per million input tokens and $10.00 per million output tokens.
- What is OpenAI: GPT-5.1-Codex's context window?
- 400,000 tokens, roughly 600 pages of text in a single request.
- Does OpenAI: GPT-5.1-Codex support tool calling?
- It supports tool calling, structured output, a reasoning mode.
- Can OpenAI: GPT-5.1-Codex process images?
- Yes, it accepts image input.