One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $0.05 = $0.05
- Output0.1M x $0.40 = $0.04
$0.09per session
OpenAI - Closed weights
GPT-5 nano is a closed-weights model from OpenAI that costs $0.05 per 1M input tokens and $0.40 per 1M output tokens on the first-party API, with a 400K-token context window.
Last verified from developers.openai.com. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $0.05 |
| Output | $0.40 |
| Cache read | $0.005 |
| Batch inputBatch requests | $0.025 |
| Batch outputBatch requests | $0.20 |
Note: No Fast mode price listed. Maximum input tokens 272,000. Default snapshot gpt-5-nano-2025-08-07.
gpt-5-nanoopenai/gpt-5-nanoWorked from the standard list rates above, with the math shown so you can swap in your own token counts.
1M input tokens and 100K output tokens, no caching.
$0.09per session
10,000 requests a day at 2K input and 500 output tokens each.
$3.00per day
$90.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.0495per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-5 nano (this page) | $0.05 | $0.40 |
| Gemini 2.5 Flash-LiteGoogle | $0.10 | $0.40 |
| GLM-4.7-FlashXZ.ai | $0.07 | $0.40 |
| GPT-4.1 nanoOpenAI | $0.10 | $0.40 |
| Jamba2 MiniAI21 Labs | $0.20 | $0.40 |
| GPT-6 LunaOpenAI | $0.10 | $0.50 |
| GPT-4o MiniOpenAI | $0.15 | $0.60 |
| GPT-5.6 LunaOpenAI | $0.20 | $1.20 |
| GPT-5.4 nanoOpenAI | $0.20 | $1.25 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.
GPT-5 nano costs $0.05 per 1M input tokens and $0.40 per 1M output tokens on OpenAI's first-party API, per developers.openai.com on October 17, 2026. Per 1M tokens, cache reads cost $0.005, and the batch rate is $0.025 input and $0.20 output.
GPT-5 nano has a 400,000-token context window and returns up to 128,000 output tokens per response.
No. GPT-5 nano is a closed-weights model. You call it through OpenAI's API as gpt-5-nano or through Vercel AI Gateway as openai/gpt-5-nano.
OpenAI released GPT-5 nano on August 7, 2025.
Last verified from developers.openai.com.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.