Today › AI API prices › OpenAI
gpt-5-mini API pricing (OpenAI)
Input / 1M tokens$0.25
Output / 1M tokens$2.008.0× input
Context window272Kmax output 128K
Rank within OpenAI11 / 73
Among all modelscheaper than 54%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $15.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $1.45 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $4.12 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| pplx-70b-online | Perplexity | $0 | $2.80 | 4K |
| Qwen/Qwen3-Coder-Next-FP8 | Together AI | $0.5 | $1.20 | 262K |
| qwen3-vl-235b-a22b-instruct | Alibaba DashScope (Qwen) | $0.4 | $1.60 | 131K |
| qwen3p7-plus | Fireworks AI | $0.4 | $1.60 | 262K |
| qwen3p7-plus | Fireworks AI | $0.4 | $1.60 | 262K |
| moonshot-v1-8k | Moonshot AI | $0.2 | $2.00 | 8K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.25 | $2.00 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
gpt-5-mini on OpenAI costs $0.25 per million input tokens and $2.00 per million output tokens; it ranks 11 of 73 OpenAI models by price, with a 272K context window.