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 workflows spanning software engineering, mathematics, and research. GPT-5.1-Codex-Max delivers faster performance, improved reasoning, and higher token efficiency across the development lifecycle.
- Organization
- OpenAI
- Family
- gpt-codex
- Providers
- 8
- Context
- 400,000
- Output limit
- 128,000
- Knowledge
- 2024-09-30
- Release
- 2025-11-13
- Updated
- 2025-11-13
- Weights
- Closed
- Input
- text, image
- Output
- text
- Capabilities
- Tools, Reasoning, Structured
Providers
Compare every cataloged offer for this model, including its provider, route, token limits, price, and capabilities.
| Provider | Model ID | Context | Output | Input / output · 1M | Reasoning | Tools | Structured | Details |
|---|---|---|---|---|---|---|---|---|
| Azure | gpt-5.1-codex-max | 400,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
| Azure Cognitive Services | gpt-5.1-codex-max | 400,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
| Eden AI | azure/gpt-5.1-codex-max | 272,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
| Kilo Gateway | openai/gpt-5.1-codex-max | 400,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
| NanoGPT | openai/gpt-5.1-codex-max | 400,000 | 128,000 | $2.50 / $20.00 | Yes | Yes | Yes | View |
| Ofox | openai/gpt-5.1-codex-max | 256,000 | 128,000 | $1.00 / $8.00 | Yes | Yes | Yes | View |
| Azurevia OpenRouter | openai/gpt-5.1-codex-max unknown | 400,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
| Vercel AI Gateway | openai/gpt-5.1-codex-max | 400,000 | 128,000 | $1.25 / $10.00 | Yes | Yes | Yes | View |
Prices and limits apply to each offer. A dash means the value is not provided. OpenRouter offers show the hosting provider and routing channel separately.
Pricing
Compare token rates and cache charges across available routes and hosting configurations.
Lowest listed input and output prices across the offers above; they may belong to different providers. These are base rates, before conditional pricing, discounts or additional fees.
openai/gpt-5.1-codex-maxObserved - Input
- $1.25
- Output
- $10.00
- Cache read
- $0.125
Additional fees and pricing conditions
- web search
- $0.01 / search
Hosting prices through OpenRouter All endpoints and cache rates
| Endpoint | Input / 1M | Output / 1M | Cache read / 1M | Cache write / 1M |
|---|---|---|---|---|
| Azureazure | $1.25 | $10.00 | $0.125 | — |
Each row is a hosting configuration. Open an offer in Providers for its full pricing conditions and additional fees. Endpoint observations may differ from the routing catalog's base price.
Performance
Review reported latency and output-throughput percentiles from the latest observed rolling window.
Time to first token · milliseconds
All latency percentiles 1 endpoints
| Endpoint | P50 | P75 | P90 | P99 |
|---|---|---|---|---|
| Azureazure | 3,581.5 ms | 5,923.5 ms | 10,419 ms | 24,575.53 ms |
Output throughput · tokens per second
All throughput percentiles 1 endpoints
| Endpoint | P50 | P75 | P90 | P99 |
|---|---|---|---|---|
| Azureazure | 85 t/s | 92.25 t/s | 107.6 t/s | 124.14 t/s |
Percentiles describe the observed request distribution. These are snapshots of a rolling window, not a historical time series.
Uptime
Compare successful request rates across the latest 5-minute, 30-minute, and 24-hour observations.
Reported by OpenRouter at the time of collection; rate-limited requests are excluded. A dash means no measurement was reported. This is not a live availability check.
Technical details & API
Explore specifications, supported parameters, reasoning controls, and API identifiers for each OpenRouter route.
openai/gpt-5.1-codex-maxObserved - Context
- 400,000
- Maximum output
- 128,000
- Tokenizer
- GPT
- Input
- text, image
- Output
- text
- Moderation
- No
- Added to OpenRouter
- 2025-12-04
https://openrouter.ai/api/v1openai/gpt-5.1-codex-maxopenai/gpt-5.1-codex-max-20251204Reasoning
- Required
- Yes
- Enabled by default
- Not reported
- Default effort
- medium
- Supported efforts
- xhigh, high, medium, low
Supported parameters
include_reasoningmax_completion_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetoolsverbosity
Frequently asked questions
Answers based on the model metadata and serving offers currently in the catalog.
How much does GPT-5.1 Codex Max cost?
Listed rates start at $1.00 per million input tokens and $8.00 per million output tokens. Prices vary by provider and configuration; see Pricing for details.
Which providers offer GPT-5.1 Codex Max?
There are 8 cataloged offers across 8 providers. Compare model IDs, prices and limits in Providers.
What is the context window?
The cataloged model context is 400,000 tokens. Each serving endpoint may apply a different limit.
Does it support tools and structured output?
Tool calling: Yes. Structured output: Yes. Support can vary by endpoint.
Catalog history · 2 recorded revisions
Metadata observations since this model was first cataloged. These are not model release versions.
- ·
d590f607a203 - ·
962a46e67261