Today › AI API prices › OpenAI
gpt-5-nano API pricing (OpenAI)
Input / 1M tokens$0.05
Output / 1M tokens$0.48.0× input
Context window272Kmax output 128K
Rank within OpenAI1 / 73
Among all modelscheaper than 87%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $3.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $0.29 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $0.825 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| accounts/fireworks/routers/spot-deepseek-v4-flash | Fireworks AI | $0.105 | $0.21 | 1M |
| openai/gpt-oss-20b | Groq | $0.075 | $0.3 | 131K |
| openai/gpt-oss-safeguard-20b | Groq | $0.075 | $0.3 | 131K |
| gpt-oss-20b | Fireworks AI | $0.07 | $0.3 | 131K |
| gpt-oss-20b | Fireworks AI | $0.07 | $0.3 | 131K |
| ministral-3-8b-2512 | Mistral AI | $0.15 | $0.15 | 262K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.05 | $0.4 |
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-nano on OpenAI costs $0.05 per million input tokens and $0.4 per million output tokens; it ranks 1 of 73 OpenAI models by price, with a 272K context window.