OpenAI

GPT-5 Nano

$0.05 per 1M input tokens and $0.40 per 1M output tokens · 400K context · vision, tools, reasoning, JSON.

Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026

Scheduled for retirement on 2026-12-11. Plan a replacement — for example DeepSeek V4.1 Flash 1017, or see the cheaper alternatives below.
$0.05
input / 1M tokens
$0.40
output / 1M tokens
$0.0050
cached input / 1M
400K
context window
128K
max output

Cheaper ways to run the same model: GPT-5 Nano (batch) at $0.025 / $0.20 — same model, different service (e.g. batch processing with a delay).

What GPT-5 Nano costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$41.88
Document Q&A (RAG)
500 questions a day over retrieved documents
$7.10
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$15.45
Content generation
30 long articles a day
$1.04
Classification / extraction
100,000 short items a day
$63.00

Price history

No input price change since Oct 21, 2026. See all recent price changes.

Where to run GPT-5 Nano: 3 providers

OpenAI is the cheapest at $0.025 input / $0.20 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
OpenAI$0.025$0.20400K99.8% flex tier
Azure$0.05$0.40400K99.8% —
OpenAI$0.05$0.40400K99.9% —

Cheaper alternatives to GPT-5 Nano

Models with the same tool calling, image input, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to GPT-5 Nano
Model Input / 1M Output / 1M Context Capabilities
$0.02 $0.20 1.05M visiontoolsreasoningJSONopen weights
Inkling 2 Mini
Thinkingmachines
$0.06 $0.24 1.05M visiontoolsreasoningJSONopen weights
$0.068 $0.225 262K visiontoolsreasoningJSONopen weights
Tinsel Alpha
Stealth
$0 $0 1.05M visionaudiotoolsreasoningJSON
$0.036 $0.082 1.05M visiontoolsreasoningJSON

What to switch to before GPT-5 Nano is retired

Replacements with the same must-have capabilities (tool calling, image input) and enough context, most capable first. See all models being retired.

ReplacementInput / 1MOutput / 1MPrice vs today
Claude Fable 5.2$8.00$40.00 11536% more
Gemini 4 Neon$3.00$15.00 4264% more
GPT-6.2 Astra$8.00$40.00 11536% more
Gemini 4 Carbon$4.00$20.00 5718% more

How to pay less for GPT-5 Nano

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $51.60 a month at list price without caching:

OptionPer monthYou save
Move to DeepSeek V4.1 Flash 1017 (similar capabilities)$19.90$31.70 (61%)
Switch to GPT-5 Nano (batch)$25.80$25.80 (50%)
Route to OpenAI (flex tier)$25.80$25.80 (50%)
Use prompt caching (60% of input cached)$41.88$9.72 (19%)

Other workloads: cut-your-bill tool for GPT-5 Nano.

Specifications

Model IDopenai/gpt-5-nano
Inputtext, image, file
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeYes
Open weightsNo
Knowledge cutoff2024-05-31
ReleasedAug 7, 2025
Web search$0.01 per request

FAQ

How much does GPT-5 Nano cost?
$0.05 per million input tokens and $0.40 per million output tokens; cached input costs $0.0050 per million. Prices as of Dec 6, 2026.
What is the context window of GPT-5 Nano?
400K tokens, with up to 128K output tokens per response.
Does GPT-5 Nano support images, tools and structured output?
Images as input: yes. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
What are cheaper alternatives to GPT-5 Nano?
Models with the same key capabilities for at least 20% less include DeepSeek V4.1 Flash 1017 ($0.02 / $0.20), Inkling 2 Mini ($0.06 / $0.24), Gemma 4 26B A4B ($0.068 / $0.225).

More from OpenAI: all OpenAI models · how we collect prices