GPT-5.1-Codex

OpenAI · On OpenRouter since November 13, 2025 · Pinned version id: openai/gpt-5.1-codex-20251113

Price

$3.44

mixed / 1M tokens

Mixed price per 1M tokens: 3 input tokens to 1 output token.

in $1.25 · out $10.00 · Cached input $0.13

via Azure

Models that think before they answer can use many more output tokens, so your real cost can be higher than the figure shown.

US dollars per million tokens, converted to your currency at the NBP rate.

Tasks, with the evidence

Each line names the measurement it rests on. A task that is not listed has no measurement or declared feature we can show.

Writing code

Measured by a third party

Code: 1,135 · Rank 85 of 122, among scored models · Design Arena, read November 21, 2026

Cost of this job: $1.18

Websites and apps

Measured by a third party

Websites: 1,149 · Rank 89 of 127, among scored models · Design Arena, read November 21, 2026

UI components: 1,221 · Rank 53 of 118, among scored models · Design Arena, read November 21, 2026

Web apps (agent): 990 · Rank 47 of 47, among scored models · Design Arena, read November 21, 2026

Full-stack apps (agent): 1,086 · Rank 31 of 45, among scored models · Design Arena, read November 21, 2026

Mobile apps (agent): 1,191 · Rank 23 of 50, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.89

Models that score at least as high for less in this scenario: 60

Games and 3D

Measured by a third party

Game development: 1,117 · Rank 80 of 121, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.89

Models that score at least as high for less in this scenario: 51

Charts and graphics

Measured by a third party

Data visualization: 1,207 · Rank 55 of 112, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.89

Models that score at least as high for less in this scenario: 34

Long documents

Declared, not measured

Context window: 400k tokens as declared. It says how much fits, not how well the model uses it.

Images, files, audio, video in

Declared, not measured

Accepts: images. Declared by the provider through OpenRouter; we did not test it.

Cost of this job: $0.73Text-token prices only; images, audio and video may be billed separately.

The size of each job is our assumption; the prices are real.

  • Writing code: Requests: 40. Input tokens per request: 30,000. Output tokens per request: 1,500. Share of input served from cache: 70%.
  • Websites and apps; Games and 3D; Charts and graphics: Requests: 8. Input tokens per request: 12,000. Output tokens per request: 10,000. Share of input served from cache: 30%.
  • Images, files, audio, video in: Requests: 15. Input tokens per request: 20,000. Output tokens per request: 3,000. Share of input served from cache: 30%.

Thinking is billed as output tokens; a model that thinks longer costs more than this estimate. Ranks are among all models we list, including older ones.

Price by provider

The price used in the catalog is the vendor's own; when the vendor has no API of its own, it is the cheapest regular host.

ProviderInputOutputCached inputMixedNotes
Azure Price used here $1.25$10.00 $0.13 $3.44

Specifications

Context window
400k
Max output
128k
Accepts
text and images
Answers with
text
Tools
Yes
Structured output
Yes
Reasoning
Always on
Thinking effort levels: low, medium, and high
Weights on Hugging Face
Not listed
Knowledge cutoff
No data
On OpenRouter since
November 13, 2025
Price check
one source

As listed by OpenRouter. "Not listed" means OpenRouter does not list it for this model.

Benchmark scores

Scores come from third parties and are relayed by OpenRouter. We do not run the tests. Higher is better.

SourceScoreRank among scored
Websites
Design Arena, read November 21, 2026
1,149Rank 89 of 127, among scored models
UI components
Design Arena, read November 21, 2026
1,221Rank 53 of 118, among scored models
Game development
Design Arena, read November 21, 2026
1,117Rank 80 of 121, among scored models
Data visualization
Design Arena, read November 21, 2026
1,207Rank 55 of 112, among scored models
Code
Design Arena, read November 21, 2026
1,135Rank 85 of 122, among scored models
Web apps (agent)
Design Arena, read November 21, 2026
990Rank 47 of 47, among scored models
Full-stack apps (agent)
Design Arena, read November 21, 2026
1,086Rank 31 of 45, among scored models
Mobile apps (agent)
Design Arena, read November 21, 2026
1,191Rank 23 of 50, among scored models

Intelligence, Coding and Agentic indices: Artificial Analysis (artificialanalysis.ai). Design categories: Design Arena (designarena.ai). Both are relayed by the OpenRouter public model list and were read on November 21, 2026. We compute ranks, tiers and costs from these numbers; the sources have not reviewed them. Scores belong to the model, not to the route it is served on.

Artificial Analysis · Design Arena · Relayed by OpenRouter. opens in a new tab

Sources and dates

Prices: OpenRouter routes and a second price table, checked November 21, 2026. Specifications: OpenRouter, November 21, 2026. Exchange rate: NBP, November 20, 2026. Benchmarks: Artificial Analysis and Design Arena via OpenRouter.