Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex API pricing

As of October 22, 2026, OpenAI GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens, the median of 1 providers on OpenRouter, with cached input at $0.13 per million.

GPT-5.1-Codex benchmarks and specs · Every OpenAI model's price

  • Input, per million tokens$1.25
  • Output, per million tokens$10.00
  • Cached input, per million$0.13
  • Context window400K tokens
  • Max output128K tokens
  • Output speedNot measured

What a request costs

Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.

Cost of three workloads on GPT-5.1-Codex
WorkloadTokensOne request1,000 requestsFits the context window
Chat turn 1K input + 500 output tokens $0.0063 $6.25 Yes
Repository review 50K input + 3K output tokens $0.092 $92.50 Yes
Agent loop 200K input + 10K output tokens $0.350 $350.00 Yes
Solved coding task One SWE-bench Verified attempt, divided by the share that succeed $0.892 $892.25

Price history

The price of GPT-5.1-Codex here is the median across 1 providers on OpenRouter, so we do not track price changes for it.

Cheaper models as good as GPT-5.1-Codex

Models within two points of GPT-5.1-Codex or above it on the Vibe Coding Index, with a lower output price. Cheapest first.

GPT-5.1-Codex pricing questions

How much does GPT-5.1-Codex cost per million tokens?
$1.25 per million input tokens and $10.00 per million output tokens, as listed on OpenRouter on October 22, 2026.
Does GPT-5.1-Codex support prompt caching?
Yes. OpenRouter lists cached input at $0.13 per million tokens, against $1.25 for uncached input.
Is there a cheaper model as good as GPT-5.1-Codex?
Ling 3.0 Flash scores 29.6 on the Vibe Coding Index, within two points of GPT-5.1-Codex or above it, and costs $0.1215 per million output tokens.
Has the price of GPT-5.1-Codex changed?
The price of GPT-5.1-Codex here is the median across 1 providers on OpenRouter, so we do not track price changes for it.