openai / text-generation API-only released 2025-11-13

GPT-5.1-Codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Input / 1M
$1.25
Output / 1M
$10.00
Context
400K
AA Intelligence
23.7
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
23.7 / — / —
✓ 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

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
23.7
AA Coding Index
—
AA Agentic Index
—
Design Arena
CategoryEloWin %Rank
fullstack 1086 44.5% #30
mobileapps 1191 53.4% #20
webapps 1018 44% #44
codecategories 1153 54.6% #83
dataviz 1213 55.9% #54
gamedev 1138 50.5% #81
uicomponent 1235 60% #46
website 1162 56.1% #86

Providers

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

Specifications

Organisation
openai
Released on OpenRouter
2025-11-13
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
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.