Skip to content

OpenAI: GPT-5.1-Codex-Mini

OpenAI

OpenAI: GPT-5.1-Codex-Mini by OpenAI costs $0.25 per 1M input tokens and $2.00 per 1M output tokens, with a 400K-token context window.

Pricing

Input (per 1M tokens)
$0.25
Output (per 1M tokens)
$2.00
Cached input (per 1M)
$0.03
ProviderInput / 1MOutput / 1M
OpenAI$0.25$2.00
openrouter$0.25$2.00

Specifications

Provider
OpenAI
Context window
400K tokens
Parameters
—
Released
Nov 2025
Open weights
No
Frontier model
No

Benchmarks

Speed & latency

Time to first token
1.28s
Output speed
114 tok/s

Fastest host: azure (via vercel-ai-gateway).

Compare OpenAI: GPT-5.1-Codex-Mini with…

FAQ

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

OpenAI: GPT-5.1-Codex-Mini is priced at $0.25 per 1M input tokens and $2.00 per 1M output tokens. Output tokens cost more than input.

What is OpenAI: GPT-5.1-Codex-Mini's context window?

OpenAI: GPT-5.1-Codex-Mini supports a context window of 400K tokens — the maximum prompt plus response length it can handle in a single request.

Is OpenAI: GPT-5.1-Codex-Mini open weight?

No — OpenAI: GPT-5.1-Codex-Mini is a closed/proprietary model accessed via API.

Data as of 2026-10-14. Source: Pricing via OpenRouter API, openrouter.ai. Pricing is per 1M tokens (USD); confirm with the provider before production use.