OpenAI · live price
GPT-5.1-Codex-Mini API pricing
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
Small and cheap (under $1 per 1M)Tool callingReasoningimage input
- Input
- $0.25
- per 1M tokens
- Output
- $2
- per 1M tokens
- Cached input
- $0.03
- per 1M tokens
- Context
- 400K
- 128K max output
List price from OpenRouter, which passes OpenAI's price through without markup. Refreshed hourly. Released November 13, 2025. Model id openai/gpt-5.1-codex-mini.
What GPT-5.1-Codex-Mini costs in practice
At list price, before any batch or caching discount.
1,000 chat messages
$1.25
1,000 input + 500 output tokens each
1,000 RAG questions
$3.00
8,000 input + 500 output tokens each
100 coding-agent steps
$1.15
30,000 input + 2,000 output tokens each, no caching
GPT-5.1-Codex-Mini price history
No price change since we started tracking on 2026-10-01. We record prices daily; changes will show here.
GPT-5.1-Codex-Mini price by host
One host serves this model through OpenRouter.
- Azure$0.25 in · $2 out · 400K ctx · 100.0% uptime 24h
Where to buy OpenAI credits for less
GPT-5.1-Codex-Mini costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
GPT-5.1-Codex-Mini cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$32.50/ month(quotes below are for $33.00: purchases run from $5.00 to $10,000.00)
Cheaper alternatives to GPT-5.1-Codex-Mini
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 FlashX | $0.37 | $1.25 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 Flash | $0.15 | $0.5 |
| DeepSeek: DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 |
Other OpenAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-5.1-Codex | $1.25 | $10 |
| GPT-5.1 | $1.25 | $10 |
| gpt-oss-safeguard-20b | $0.075 | $0.3 |
| GPT-5.1-Codex-Max | $1.25 | $10 |
| GPT-5.2 | $1.75 | $14 |
| GPT-5.2 Pro | $21 | $168 |