All prices › OpenAI › GPT-5.4 Nano

GPT-5.4 Nano API pricing

As of October 16, 2026, GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens on the OpenAI API. Cached input is $0.02 per million. OpenAI plans to retire it on April 1, 2027.

Retires Apr 1 2027

It is the 6th cheapest of 36 OpenAI models tracked here, by blended price. The closest Budget-tier model from another provider is Codestral (Mistral) at $0.30 / $0.90; GPT-5.4 Nano is 3% more expensive. First listed in the LiteLLM price data on March 17, 2026.

Input / 1M tokens$0.20
Output / 1M tokens$1.25
Context window272K
Max output128K

Every published rate

RatePer 1M tokens
Input (standard)$0.20
Output (standard)$1.25
Cached input (read)$0.02
Batch input$0.10
Batch output$0.625

What it costs in practice

TaskTokensPer requestPer 1,000 requests
Chatbot reply1,000 in / 500 out$0.00082$0.82
Summarize a long document20,000 in / 1,000 out$0.0053$5.25
Coding agent step50,000 in / 2,000 out$0.01$12.50

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

Price history

DateModelChange
2026-07-30GPT-5.4 NanoContext window: 1.05M → 272K (-74%) source
2026-06-26GPT-5.4 NanoContext window: 272K → 1.05M (+286%) source
2026-03-17GPT-5.4 NanoNew model listed: $0.2 in / $1.25 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.4-nano, gpt-5.4-nano-2026-03-17
Retirement dateApril 1, 2027
Official pricingdevelopers.openai.com

Models at a similar price

ModelInput / 1MOutput / 1M
Codestral$0.30$0.90
GPT-5.6 Luna$0.20$1.20
DeepSeek V3$0.27$1.10
DeepSeek V4 Flash$0.30$1.20
Gemini 3.1 Flash Lite$0.25$1.50
GPT-5 Mini$0.25$2.00

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.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
GPT-5 Nano$0.05$0.40