All prices › OpenAI › GPT-5 Nano

GPT-5 Nano API pricing

As of October 16, 2026, GPT-5 Nano costs $0.05 per million input tokens and $0.40 per million output tokens on the OpenAI API. Cached input is $0.0050 per million. OpenAI plans to retire it on December 11, 2026.

Retires Dec 11

It is the cheapest of 36 OpenAI models tracked here, by blended price. The closest Budget-tier model from another provider is Ministral 3 8B (Mistral) at $0.15 / $0.15; GPT-5 Nano is 8% cheaper. First listed in the LiteLLM price data on August 7, 2025.

Input / 1M tokens$0.05
Output / 1M tokens$0.40
Context window272K
Max output128K

Every published rate

RatePer 1M tokens
Input (standard)$0.05
Output (standard)$0.40
Cached input (read)$0.0050
Batch input$0.025
Batch output$0.20

What it costs in practice

TaskTokensPer requestPer 1,000 requests
Chatbot reply1,000 in / 500 out$0.00025$0.25
Summarize a long document20,000 in / 1,000 out$0.0014$1.40
Coding agent step50,000 in / 2,000 out$0.0033$3.30

Standard rates, no caching or batch discount. Compare your own numbers across all models →

Price history

DateModelChange
2026-01-14GPT-5 NanoContext window: 400K → 272K (-32%) source
2026-01-13GPT-5 NanoContext window: 272K → 400K (+47%) source
2025-09-27GPT-5 NanoContext window: 400K → 272K (-32%) source
2025-08-07GPT-5 NanoNew model listed: $0.05 in / $0.4 out source

Dates are when each change first appeared in the LiteLLM price data, usually within days of the provider's announcement.

Details

ProviderOpenAI
Price tierBudget
FeaturesVision, Reasoning, Prompt caching, Tool use, PDF input, Web search
API model namesgpt-5-nano, gpt-5-nano-2025-08-07
Retirement dateDecember 11, 2026
Official pricingdevelopers.openai.com

Models at a similar price

ModelInput / 1MOutput / 1M
Ministral 3 3B$0.10$0.10
Ministral 3 8B$0.15$0.15
DeepSeek Coder$0.14$0.28
Gemini 2.5 Flash Lite$0.10$0.40
GPT-4.1 Nano$0.10$0.40
Voxtral Small$0.10$0.40

Other OpenAI models

ModelInput / 1MOutput / 1M
GPT-4$30.00$60.00
GPT-5.6 Cyber$12.50$75.00
GPT-5.5 Cyber$12.50$75.00
o1$15.00$60.00
GPT-6 Astra$10.00$50.00
GPT-4 Preview$10.00$30.00
GPT-4 Turbo$10.00$30.00
GPT-5.5$5.00$30.00
GPT-Rosalind Research$5.00$25.00
GPT-Rosalind Discovery$5.00$25.00
GPT-5.6$4.00$20.00
GPT-5.6 Sol$4.00$20.00
GPT-5.4$2.50$15.00
GPT-5.2$1.75$14.00
GPT-5.6 Terra$2.00$12.00
GPT-4o$2.50$10.00
GPT-6 Sol$2.00$10.00
GPT-6.1 Sol$2.00$10.00
GPT-4.1$2.00$8.00
o3$2.00$8.00
GPT-5$1.25$10.00
GPT-5.1$1.25$10.00
GPT-5 Search API$1.25$10.00
GPT-3.5 Turbo 16K$3.00$4.00
o3 Mini$1.10$4.40
o4 Mini$1.10$4.40
GPT-5.4 Mini$0.75$4.50
GPT-3.5 Turbo$0.50$1.50
GPT-4.1 Mini$0.40$1.60
GPT-5 Mini$0.25$2.00
GPT-5.4 Nano$0.20$1.25
GPT-5.6 Luna$0.20$1.20
GPT-4o Mini$0.15$0.60
GPT-6 Luna$0.10$0.50
GPT-4.1 Nano$0.10$0.40