$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: OpenAI

OpenAI: GPT-5 Nano API Pricing & Monthly Cost Calculator

OpenAI: GPT-5 Nano by OpenAI is priced at $0.05 per 1M input tokens and $0.4 per 1M output tokens with a 400K context window. Prompt caching reduces repeated prefix reads to $0.005/1M (90% savings). Batch API lowers rates to $0.025 in / $0.2 out.

Deprecation Notice: Scheduled deprecation date 2026-12-11 ยท Recommended successor: gpt-6-luna.
Standard Input / 1M
$0.05
Standard Output / 1M
$0.4
Cache Read / Write
$0.005 / โ€”
Context / Max Output
400K / 128K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-5-nano.

Channel Input / 1M Output / 1M Cache Read
Direct Official $0.05 $0.4 $0.005
OpenRouter Gateway $0.05 $0.4 $0.005
Gateway vs direct output spread: 0% Primary Pricing Source โ†’

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $0.14 $0.11 $0.07
10M tokens $1.38 $1.12 $0.69
100M tokens $13.75 $11.22 $6.88
1B tokens $137.50 $112.19 $68.75

Interactive OpenAI: GPT-5 Nano Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$25.44
Cache Hit %60%
Input: $4.80Cache Read: $0.72Output: $19.20Per 1K reqs: $0.42

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
Google: Gemini 2.5 Flash Lite $0.1 $0.4 1.05M
OpenAI: GPT-4.1 Nano $0.1 $0.4 1.05M
DeepSeek: DeepSeek V4.1 Flash $0.14 $0.42 1.05M
OpenAI: GPT-6 Luna $0.1 $0.5 1.05M
Anthropic: Claude Haiku 5.5 $0.1 $0.5 1M
OpenAI: GPT-6 Luna Pro $0.1 $0.5 1.05M

Optimize Inference & Self-Hosting

Compare OpenAI: GPT-5 Nano against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

GPT-5-Nano is the smallest and fastest variant in the GPT-5 system, optimized for developer tools, rapid interactions, and ultra-low latency environments. While limited in reasoning depth compared to its larger...

How much does OpenAI: GPT-5 Nano API cost per 1M tokens?

OpenAI: GPT-5 Nano costs $0.05 per 1M input tokens and $0.4 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does OpenAI: GPT-5 Nano support prompt caching or batch discounts?

Yes, cached input reads cost $0.005 per 1M tokens (90% off standard input). Batch API reduces rates to $0.025 input and $0.2 output per 1M tokens.

What is the context window and max output for OpenAI: GPT-5 Nano?

OpenAI: GPT-5 Nano supports a 400,000-token context window and up to 128,000 output tokens per completion.