GPT-5 Nano: token counter & pricing
OpenAI · exact (uses official tokenizer) · pricing as of 2026-04-27.
- Provider
- OpenAI
- API model ID
gpt-5-nano- Context window
- 400,000 tokens
- Input price
- $0.05 per 1M tokens
- Output price
- $0.40 per 1M tokens
- Tokenizer accuracy
- exact (uses official tokenizer)
- Pricing as of
- 2026-04-27
Open the counter to count tokens for GPT-5 Nano in real time.
What is GPT-5 Nano?
GPT-5 Nano is the smallest, cheapest, fastest member of OpenAI's GPT-5 family. Designed for high-volume cost-sensitive workloads where you want GPT-5's tokenizer and ecosystem at near-throwaway prices.
At $0.05 per 1M input tokens, GPT-5 Nano is the cheapest exact-tokenizer model on this counter — cheaper than Gemini 2.5 Flash-Lite ($0.10), Gemini 3.1 Flash-Lite Preview ($0.25), GPT-4.1 Nano ($0.10), and any open-source model.
How tokens are counted here
GPT-5 Nano uses OpenAI's o200k_base tokenizer. Counts computed in your browser via js-tiktoken. Exact.
When to use GPT-5 Nano
- High-volume classification, extraction, labeling. This is the use case the price is designed for.
- First-pass routing in agent pipelines before escalating hard cases to GPT-5 / GPT-5.5.
- Real-time UX where lower latency matters and the task is simple.
- Budget-extreme batch processing — millions of small calls per day at near-trivial cost.
When not to use it:
- Multi-step reasoning. The capability gap to GPT-5 / 5.5 is real on hard prompts.
- Code generation on non-trivial problems. Use GPT-5 Mini or higher.
- Anywhere quality has measurably mattered in your evals.
Pricing notes
$0.05 input / $0.40 output per 1M tokens. Cached input is $0.005/M — effectively free.
For comparison, a 1,000-token prompt with a 200-token reply on GPT-5 Nano:
- Per call: $0.000050 + $0.000080 = $0.000130 (about 1/30¢)
- Per million calls: $130
The same workload on GPT-5.5 costs $4,300. Per-million-call savings: $4,170.
Common questions
Is GPT-5 Nano good enough for production?
For the workloads it's designed for — yes. Run a labeled eval set; if it hits your accuracy bar, the savings are massive.
What's the difference between GPT-5 Nano and GPT-5.4 Nano?
Same tokenizer and ballpark capability tier. GPT-5 Nano ($0.05/$0.40) is cheaper. GPT-5.4 Nano ($0.20/$1.25) is incrementally better on hard reasoning. The gap is narrow; default to GPT-5 Nano unless you measure the upgrade winning.
How does GPT-5 Nano compare to Gemini 2.5 Flash-Lite?
Both target the same workloads. GPT-5 Nano: $0.05/$0.40. Gemini 2.5 Flash-Lite: $0.10/$0.40. Nano is half the input price and tied on output. Gemini Flash-Lite has a 1M context window and multimodal input — both advantages over Nano's text-only 400K context. Choose by what your workload actually needs.
Compare GPT-5 Nano to other models
- GPT-5.5 (OpenAI, $5.00/$30.00)
- GPT-5.5 Pro (OpenAI, $30.00/$180.00)
- GPT-5.4 (OpenAI, $2.50/$15.00)
- GPT-5.4 Mini (OpenAI, $0.75/$4.50)
- GPT-5.4 Nano (OpenAI, $0.20/$1.25)
- GPT-5.4 Pro (OpenAI, $30.00/$180.00)
- GPT-5.3 (OpenAI, $1.75/$14.00)
- GPT-5.2 (OpenAI, $1.75/$14.00)
- GPT-5.2 Pro (OpenAI, $21.00/$168.00)
- GPT-5.1 (OpenAI, $1.25/$10.00)
- GPT-5 (OpenAI, $1.25/$10.00)
- GPT-5 Mini (OpenAI, $0.25/$2.00)
- GPT-5 Pro (OpenAI, $15.00/$120.00)
- GPT-4.1 (OpenAI, $2.00/$8.00)
- GPT-4.1 Mini (OpenAI, $0.40/$1.60)
- GPT-4.1 Nano (OpenAI, $0.10/$0.40)
- o3 (OpenAI, $2.00/$8.00)
- o3-mini (OpenAI, $1.10/$4.40)
- o3-pro (OpenAI, $20.00/$80.00)
- o4-mini (OpenAI, $1.10/$4.40)
- GPT-4o (OpenAI, $2.50/$10.00)
- GPT-4o mini (OpenAI, $0.15/$0.60)
- GPT-4 Turbo (OpenAI, $10.00/$30.00)
- Gemini 2.5 Flash-Lite (Google, $0.10/$0.40)
- Llama 3.1 8B (Meta, $0.18/$0.18)
- Gemini 3.1 Flash-Lite (Google, $0.25/$1.50)