gpt-5.1-codex-mini API pricing

Checked 12 Sept 2026 LLMs
$ per 1M input $0.250
$ per 1M output $2.00

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. 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

Blended at a 3:1 input to output ratio.

Calculator →
gpt-5.1-codex-mini against comparable models — checked 12 Sept 2026
Source
gpt-5.1-codex-mini This model OpenRouter $0.250 $2.00 400,000 $0.688

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 12 Sept 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.

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 · llama-3.3-70b-versatile · llama-3-70b-instruct · mistral-large-2512 · All OpenRouter models · Cost calculator