openai / text-generation API-only released 2025-12-04

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...

Input / 1M
$1.25
Output / 1M
$10.00
Context
400K
AA Intelligence
—
Closed weights — available only as a hosted API text + image → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$1.25
input / 1M
$10.00
output / 1M
$0.13
cached input / 1M
$11.25
1M in + 1M out
Context window
400,000 tokens
Max output
128,000 tokens
Providers
1
Cheapest provider
Azure · $1.25 / $10.00
Best throughput
—
AA Intelligence / Coding / Agentic
— / — / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✗ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $1.25 input · $10.00 output per 1M tokens

Providers

1 provider · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 400K $1.25 $10.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2025-12-04
Context window
400,000 tokens
Max output
128,000 tokens
Input
text, image
Output
text
Tokenizer
GPT
Moderated by provider
No
OpenRouter id
openai/gpt-5.1-codex-max
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.