LLM API PricesUpdated 2026-08-28 05:27:58 UTC

Home / OpenAI / GPT 5.1 Codex

GPT 5.1 Codex API price

openai/gpt-5.1-codex

The cheapest GPT 5.1 Codex API is $1.25/M input at OpenRouter (aggregator) - all 2 providers compared below, per 1M tokens.

MidOpenAI400K context2 sellers
Input $1.25 per 1M tokens · OpenRouter (aggregator)
Output $10.00 per 1M tokens · OpenRouter (aggregator)

Where to buy it

Cheapest GPT 5.1 Codex API providers compared - 2 sellers, from $1.25/M.

ProviderInput $/MOutput $/MCached in
OpenRouter (aggregator)1.25cheapest10.000.130
OrcaRouter (aggregator)1.2510.00-

Against its tier

#26 of 33 mid · cheaper than 22%

Details

Context window
400K400,000 tokens
Developer
OpenAI
Intelligence
35.6high
Sellers
2
Cached input
$0.13where the source publishes one
Cheapest at
OpenRouter (aggregator)
Combined
$11.25in + out per 1M
Last checked
2026-08-28

More from OpenAI

Other mid-tier models

← All OpenAI models