Skip to content

GPT-5.1-Codex-Mini

OpenAI · Reasoning · 400K context · released Nov 13, 2025 · checked 10h ago

Ways to buy 2

Way to buyIn / out per 1M
OpenAI API
The lab's own API · cached $0.03
$0.25 / $2List price
Azure AI Foundry
Default region · cached $0.03
$0.25 / $2Same as list

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $65.00 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
GPT-6 Luna
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex)
$0.1 / $0.5
GPT-6 Luna Pro
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex)
$0.1 / $0.5
GPT-6 Sol
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10
GPT-6 Sol Pro
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75
GLM 5.3
Z.ai · 1.31M
$0.563 / $2.5
Gemini 3.7 Flash
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex)
$0.75 / $3.75100%
GLM 4.6
Z.ai · 205K
$0.43 / $1.75

About GPT-5.1-Codex-Mini

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

Takes image, text in and returns text. First listed Nov 14, 2025. Up to 128K output tokens. Blended price $0.688 per 1M tokens at 3 input to 1 output. Model id gpt-5-1-codex-mini.

Price history

$0.3$12026Nov 14, 2025Output $2Input $0.25

List price since Nov 14, 2025, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.

SeenModelChange
Jul 28, 2026GPT-5.1-Codex-MiniCached input $0.025 to $0.03+20%
May 29, 2026GPT-5.1-Codex-MiniCached input $0.03 to $0.025-17%
Apr 23, 2026GPT-5.1-Codex-MiniCached input $0.025 to $0.03+20%

Questions

How much does GPT-5.1-Codex-Mini cost?

$0.25 per million input tokens and $2 per million output tokens, with cached input at $0.03.

What is the context window of GPT-5.1-Codex-Mini?

400K tokens, with up to 128K tokens of output.

Where is GPT-5.1-Codex-Mini cheapest?

Of 2 routes tracked, Azure AI Foundry is cheapest at $0.25 input and $2 output per million tokens.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.