OpenAI

GPT-5 Nano API pricing

Made by OpenAI

9 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is OpenAI at $32.25 a month; the dearest costs $78.00, 2.4× as much.

Input from
$0.025
Output from
$0.20
Context up to
5M tokens
Batch rates
3 routes

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
OpenAIOpenRouter$0.025$0.20$0.0025—$0.025 / $0.20400K$32.25
DatabricksLiteLLM$0.05$0.40$0.00497$0.05—272K$64.48
OpenAIOpenRouter$0.05$0.40$0.005—$0.025 / $0.20400K$64.50
PerplexityLiteLLM$0.05$0.40$0.005———$64.50
Perplexity OrchestratorLiteLLM$0.05$0.40$0.005——272K$64.50
AzureOpenRouter$0.05$0.40$0.01—$0.025 / $0.20400K$66.00
SnowflakeLiteLLM$0.06$0.44$0.01——5M$73.80
Oracle CloudLiteLLM$0.05$0.40———272K$78.00
ReplicateLiteLLM$0.05$0.40————$78.00

Other GPT-5 models