GPT-5.1 Codex mini API pricing

Prices last checked: 28 Oct 2026 LLMs
$ per 1M input $0.250
$ per 1M output $2.00

Standard tier, blended at 3:1 input to output: $0.688 per million tokens.

OpenRouter charges $0.250 per million input tokens and $2.00 per million output tokens for GPT-5.1 Codex mini. 2 of the models nearest it in price are cheaper on a blended basis.

$0.250
$/1M input
$2.00
$/1M output
$0.030
$/1M cached in
400,000
Context window
$51.00
1k req/day, monthly

Against the models nearest in price

Standard tiers, blended at a 3:1 input to output ratio.

Calculator →
GPT-5.1 Codex mini against comparable models, checked 28 Oct 2026
Source
GPT-5.1 Codex mini This model OpenRouter $0.250 $2.00 400,000 $0.688 ↗

Prices last checked: . Methodology

Questions

How much does GPT-5.1 Codex mini cost per million tokens?

$0.250 per million input tokens and $2.00 per million output tokens, with cached input at $0.030. At a 3:1 input to output mix that blends to $0.688. Checked 28 Oct 2026.

What would GPT-5.1 Codex mini cost for a real workload?

A thousand requests a day at 2,000 input and 600 output tokens each comes to $51.00 a month on the standard tier.

What is the context window for GPT-5.1 Codex mini?

400,000 tokens of input, with up to 128,000 tokens of output.

GPT-5 mini · GPT-4.1 mini · Mistral Large 3 · Command A Plus · Gemini 2.5 Flash · All OpenRouter models · Cost calculator