Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex-Mini API pricing

As of October 21, 2026, OpenAI GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens, the median of 1 providers on OpenRouter, with cached input at $0.03 per million.

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

  • Input, per million tokens$0.25
  • Output, per million tokens$2.00
  • Cached input, per million$0.03
  • 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-Mini
WorkloadTokensOne request1,000 requestsFits the context window
Chat turn 1K input + 500 output tokens $0.0013 $1.25 Yes
Repository review 50K input + 3K output tokens $0.018 $18.50 Yes
Agent loop 200K input + 10K output tokens $0.070 $70.00 Yes
Solved coding task One SWE-bench Verified attempt, divided by the share that succeed Not computable Not computable

Price history

The price of GPT-5.1-Codex-Mini 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-Mini

GPT-5.1-Codex-Mini has no overall or coding score, so we make no quality claim against it.

GPT-5.1-Codex-Mini pricing questions

How much does GPT-5.1-Codex-Mini cost per million tokens?
$0.25 per million input tokens and $2.00 per million output tokens, as listed on OpenRouter on October 21, 2026.
Does GPT-5.1-Codex-Mini support prompt caching?
Yes. OpenRouter lists cached input at $0.03 per million tokens, against $0.25 for uncached input.
Has the price of GPT-5.1-Codex-Mini changed?
The price of GPT-5.1-Codex-Mini here is the median across 1 providers on OpenRouter, so we do not track price changes for it.