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.
- Input / output price
- $1.25 / $10.00 per 1M
- Context
- 400K tokens
- Released
- Nov 19, 2025
Paste into Claude Code, Cursor, or Codex
Help me set up the Respan gateway: fetch and follow https:/
Providers
2 providers, cheapest first, retired then OpenRouter last, priced per 1M tokens after gateway discounts.
| Provider | Input | Output |
|---|---|---|
Azure Foundry azure_foundry/gpt-5.1-codex-max | $1.25/M | $10.00/M |
OpenRouterRetired openrouter/gpt-5.1-codex-max | $1.25/M | $10.00/M |
Is a provider down? OpenRouter status
Pricing
Averaged across 2 providers, in USD per 1M tokens after gateway discounts.
- Average input
- $1.25 per 1M
- Average output
- $10.00 per 1M
- Average cache read
- $0.13 per 1M
Cost by volume
Total cost from 0 to 1T tokens.
Throughput and latency
30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.
Output speed
Higher is better23tokens/sacross providers
Response latency
Lower is better3.3sacross providers
Benchmarks
3 published scores from 1 source, each linked to where it was published.
Published scores
| Benchmark | Score | Source | Published |
|---|---|---|---|
| SWE-Lancer IC SWEOpenAI | 79.9% | OpenAI | Nov 19, 2025 |
| SWE-bench VerifiedOpenAI | 77.9% | OpenAI | Nov 19, 2025 |
| Terminal-Bench 2.0OpenAI | 58.1% | OpenAI | Nov 19, 2025 |
Apps
Use GPT-5.1 Codex Max in the tools you already run. Each guide points the app at the Respan gateway.
Setup guides for more apps are in the integration docs.
GPT-5.1 Codex Max FAQ
Short answers, built from the data on this page.
GPT-5.1 Codex Max is a model from OpenAI, released on Nov 19, 2025. 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.
On the Respan gateway, GPT-5.1 Codex Max costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on every provider, after gateway discounts.
GPT-5.1 Codex Max is available through 2 providers: Azure Foundry and OpenRouter.
GPT-5.1 Codex Max accepts up to 400K tokens of context on its largest provider route.
Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "gpt-5.1-codex-max". To set it up with a coding agent, copy the agent setup prompt at the top of this page.
GPT-5.1 Codex Max has 3 published benchmark scores, including SWE-Lancer IC SWE 79.9%. Each score links to where it was published; the data is collected by Respan.
Certified where it counts.
Built to meet the security and privacy standards that enterprise and healthcare teams require.
ISO 27001
The internationally recognized standard for information security management.
SOC 2
Secure, compliant management of your data across all of our systems.
GDPR
Operated under GDPR, the world's strictest standard for data privacy.
HIPAA
HIPAA compliant, with a BAA available for healthcare teams.