47 model prices
  1. Home
  2. Models
  3. OpenAI
  4. GPT-5 nano

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.

Last updated: Provider pricing pagePricing data: LiteLLM (MIT)

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 /1MOutput /1Mvs standard (input / output)
Batch API$0.025$0.20-50% / -50%
Flex$0.025$0.20-50% / -50%

Typical task cost

TaskCost
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

Similar models by price

ModelProviderInput /1MOutput /1MContext windowvs this model (input / output)
Gemini 2.5 Flash-LiteGoogle$0.10$0.401M+100% / 0%
Claude Haiku 5.5Anthropic$0.10$0.501M+100% / +25%
GPT-4o miniOpenAI$0.15$0.60128K+200% / +50%
GPT-5 miniOpenAI$0.25$2.00272K+400% / +400%
GPT-5OpenAI$1.25$10.00272K+2,400% / +2,400%

Price history

DateInput /1MOutput /1MCached 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

GPT-5 nano API price

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>
[![GPT-5 nano API price](https://vibecodingturkey.com/models/badge/gpt-5-nano.svg)](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.