Ways to buy 2
| Way to buy | Input | Output | In / out per 1M | Cached | Vs list |
|---|---|---|---|---|---|
The lab's own API · cached $0.125 | $1.25 | $10 | $1.25 / $10List price | $0.125 | List price |
Default region · cached $0.125 | $1.25 | $10 | $1.25 / $10Same as list | $0.125 | Same as list |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $325.00 direct.
Helicone$325.00+0%
Kong AI Gateway$325.00+0%
LiteLLM$325.00+0%
Vercel AI Gateway$325.00+0%
Cloudflare AI Gateway$341.25+5%
Requesty$341.25+5%
Eden AI$342.88+5.5%
OpenRouter$342.88+5.5%
No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.
Related models
| In / out per 1M | Cheapest route | ||||||
|---|---|---|---|---|---|---|---|
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex) | $0.1 | $0.5 | $0.1 / $0.5 | $0.2 | 1.05M | $0.1 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex) | $0.1 | $0.5 | $0.1 / $0.5 | $0.2 | 1.05M | $0.1 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Google · 1MCheapest: $2.25 on Google Vertex AI (global-flex) | $2 | $12 | $2 / $12 | $4.5 | 1M | $2.25 on Google Vertex AI (global-flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Qwen (Alibaba) · 1M | $2 | $6 | $2 / $6 | $3 | 1M | Lab list price | · |
About 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.
Takes text, image in and returns text. First listed Dec 6, 2025. Up to 128K output tokens. Blended price $3.44 per 1M tokens at 3 input to 1 output. Model id gpt-5-1-codex-max.
Price history
List price since Dec 6, 2025, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.
Questions
How much does GPT-5.1-Codex-Max cost?
$1.25 per million input tokens and $10 per million output tokens, with cached input at $0.125.
What is the context window of GPT-5.1-Codex-Max?
400K tokens, with up to 128K tokens of output.
Where is GPT-5.1-Codex-Max cheapest?
Of 2 routes tracked, Azure AI Foundry is cheapest at $1.25 input and $10 output per million tokens.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.