GPT-5 nano API pricing and context window
GPT-5 nano costs $0.05 per 1M input tokens and $0.40 per 1M output tokens on the OpenAI API. Cached input reads cost $0.005 per 1M. It accepts up to 272,000 input tokens and returns up to 128,000 output tokens. A typical chat request (10K input, 1K output) costs about $0.0009. Prices last updated November 27, 2026.
- Input
- $0.05 per 1M tokens
- Output
- $0.40 per 1M tokens
- Cached input
- $0.005 per 1M tokens
- Context window
- 272,000 tokens
- Max output
- 128,000 tokens
Deprecated; shuts down on December 11, 2026. Successor: GPT-6 Luna.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.025 | $0.20 | -50% / -50% |
| Flex | $0.025 | $0.20 | -50% / -50% |
- The Batch API costs $0.025 input and $0.20 output per 1M: input and output 50% cheaper.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.0009 |
| Codebase question (100K in + 2K out) | $0.0058 |
| Same question with cached context (100K cached + 2K out) | $0.0013 |
| Filling the whole context once (272K in) | $0.014 |
| 1M tokens a month (750K in + 250K out) | $0.138 |
Estimate your own workload in the calculator
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Yes
- Web search: Yes
- Structured output: Yes
- Extra-high reasoning effort: No
- Input types: text, image
- Output types: text
- Endpoints: /v1/chat/completions, /v1/batch, /v1/responses
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1M | +100% / 0% | |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | 1M | +100% / +25% |
| GPT-4o mini | OpenAI | $0.15 | $0.60 | 128K | +200% / +50% |
| GPT-5 mini | OpenAI | $0.25 | $2.00 | 272K | +400% / +400% |
| GPT-5 | OpenAI | $1.25 | $10.00 | 272K | +2,400% / +2,400% |
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $0.05 | $0.40 | $0.005 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/gpt-5-nano"><img src="https://vibecodingturkey.com/models/badge/gpt-5-nano.svg" alt="GPT-5 nano API price" height="20"></a>[](https://vibecodingturkey.com/models/gpt-5-nano)
Questions
When will GPT-5 nano be shut down?
GPT-5 nano is deprecated and shuts down on December 11, 2026. The listed successor is GPT-6 Luna.
Is there a batch discount for GPT-5 nano?
Yes. Through the Batch API it costs $0.025 per 1M input and $0.20 per 1M output tokens.
Does GPT-5 nano support prompt caching?
Yes. Cached input reads cost $0.005 per 1M tokens, 90% less than standard input.
How much does GPT-5 nano cost per 1M tokens?
$0.05 per 1M input tokens and $0.40 per 1M output tokens on the OpenAI API, as of November 27, 2026.