gpt-5-mini API pricing
OpenAI charges $0.25 per million input tokens and $2 per million output tokens for gpt-5-mini, and $0.025 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00125, or $0.000625 through the batch API.
Prices updated October 28, 2026
Input / 1M tokens
$0.25
Output / 1M tokens
$2
Cached input / 1M tokens
$0.025
Typical request
$0.00125
gpt-5-mini price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $0.25 | $0.125 |
| Cached input | $0.025 | $0.0125 |
| Output | $2 | $1 |
gpt-5-mini supports a 272K-token context window, up to 128K output tokens, image input, tool calling and reasoning.
What gpt-5-mini costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.000475 | $0.48 | $475.00 |
| Typical request (1K in, 500 out) | $0.00125 | $1.25 | $1,250.00 |
| Long document summary (20K in, 1K out) | $0.007 | $7.00 | $7,000.00 |
| Coding agent step (50K in, 2K out) | $0.0165 | $16.50 | $16,500.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| deepseek-v4-1-flash-1017 | Mistral | $0.3 | $0.007 | $1.2 | $0.0009 |
| gemini-3.1-flash-lite | Google Gemini | $0.25 | $0.025 | $1.5 | $0.001 |
| gpt-4.1-mini | OpenAI | $0.4 | $0.1 | $1.6 | $0.0012 |
| mistral-large-3 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| mistral-large-2512 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| gemini-2.5-flash | Google Gemini | $0.3 | $0.03 | $2.5 | $0.00155 |
| gemini-3.5-flash-lite | Google Gemini | $0.3 | $0.03 | $2.5 | $0.00155 |
| deepseek-r1 | DeepSeek | $0.55 | $0.14 | $2.19 | $0.00164 |
Other OpenAI models
- gpt-4.1 $2 / $8
- gpt-4.1-mini $0.4 / $1.6
- gpt-4o $2.5 / $10
- gpt-4o-mini $0.15 / $0.6
- gpt-5 $1.25 / $10
- gpt-5-nano $0.05 / $0.4
- gpt-5.1 $1.25 / $10
- gpt-5.2 $1.75 / $14
- gpt-5.4 $2.5 / $15
- gpt-5.4-mini $0.75 / $4.5
- gpt-5.4-nano $0.2 / $1.25
- gpt-5.5 $5 / $30
- gpt-5.6 $4 / $20
- gpt-5.6-luna $0.2 / $1.2
- gpt-5.6-sol $4 / $20
- gpt-5.6-terra $2 / $12
- gpt-6-astra $10 / $50
- gpt-6-luna $0.1 / $0.5
- gpt-6-sol $2 / $10
- gpt-6.1-sol $2 / $10
- gpt-6.1-terra $1 / $5
- o3 $2 / $8
Source: OpenAI pricing.