Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Model comparison - Same provider, successor

GPT-5.4 nano vs GPT-5 nano

GPT-5.4 nano and GPT-5 nano are both OpenAI models. On list price, GPT-5.4 nano charges 4x GPT-5 nano's input price ($0.20 vs $0.05 per 1M tokens), and GPT-5.4 nano charges 3.1x GPT-5 nano's output price ($1.25 vs $0.40 per 1M tokens). GPT-5.4 nano and GPT-5 nano both have a 400,000-token context window, and both return up to 128,000 output tokens per response. GPT-5.4 nano was released on March 17, 2026 and GPT-5 nano on August 7, 2025. Both are closed-weights models, available only through an API.

Last verified from each provider's pricing page. All sources

OpenAI - Closed

GPT-5.4 nano
Input / 1M
$0.20
Output / 1M
$1.25
Context
400K

OpenAI - Closed

GPT-5 nano
Input / 1M
$0.05
Output / 1M
$0.40
Context
400K

Side-by-side specs

SpecGPT-5.4 nanoGPT-5 nano
ProviderOpenAIOpenAI
Input / 1M tokens$0.20$0.05
Output / 1M tokens$1.25$0.40
Cache read / 1M$0.02$0.005
Batch input / 1M$0.10$0.025
Batch output / 1M$0.625$0.20
Context window400,000400,000
Max output128,000128,000
Release date
WeightsClosedClosed
API model idgpt-5.4-nanogpt-5-nano
AI Gateway idopenai/gpt-5.4-nanoopenai/gpt-5-nano
Last verified

Prices in USD per 1M tokens at each provider's standard first-party rate. A dash means the provider does not bill that item separately or no primary page states it.

What each costs in practice

The same three workloads every model page uses, worked from each model's standard list rates. Swap in your own token counts with the math on each model's page.

WorkloadGPT-5.4 nanoGPT-5 nano
One agent session1M input tokens and 100K output tokens, no caching.$0.325$0.09
A chat app10,000 requests a day at 2K input and 500 output tokens each.$10.25$307.50 per 30-day month$3.00$90.00 per 30-day month
The same session at a 90% cache hit90% of the input is read from the prompt cache. The one-time cache write premium is not included.$0.163$0.0495
Show the math

GPT-5.4 nano

  • One agent sessionInput: 1M x $0.20 = $0.20Output: 0.1M x $1.25 = $0.125
  • A chat appInput: 20M x $0.20 = $4.00Output: 5M x $1.25 = $6.25
  • The same session at a 90% cache hitCached input: 0.9M x $0.02 = $0.018Uncached input: 0.1M x $0.20 = $0.02Output: 0.1M x $1.25 = $0.125

GPT-5 nano

  • One agent sessionInput: 1M x $0.05 = $0.05Output: 0.1M x $0.40 = $0.04
  • A chat appInput: 20M x $0.05 = $1.00Output: 5M x $0.40 = $2.00
  • The same session at a 90% cache hitCached input: 0.9M x $0.005 = $0.0045Uncached input: 0.1M x $0.05 = $0.005Output: 0.1M x $0.40 = $0.04

Benchmarks under the same setting

No board in the benchmark directory lists both GPT-5.4 nano and GPT-5 nano under the same setting, so there is no like-for-like score to show here.

Model pages

FAQ

How do GPT-5.4 nano and GPT-5 nano compare on price?

On list price, GPT-5.4 nano charges 4x GPT-5 nano's input price ($0.20 vs $0.05 per 1M tokens), and GPT-5.4 nano charges 3.1x GPT-5 nano's output price ($1.25 vs $0.40 per 1M tokens). For one agent session of 1M input and 100K output tokens with no caching, that is $0.325 on GPT-5.4 nano and $0.09 on GPT-5 nano. Prices are each provider's first-party list rates, verified October 17, 2026 and October 17, 2026.

What are the context windows of GPT-5.4 nano and GPT-5 nano?

GPT-5.4 nano and GPT-5 nano both have a 400,000-token context window, and both return up to 128,000 output tokens per response.

Are GPT-5.4 nano and GPT-5 nano open weights?

GPT-5.4 nano is closed-weights and is called through OpenAI's API as gpt-5.4-nano. GPT-5 nano is closed-weights and is called through OpenAI's API as gpt-5-nano.

Sources

GPT-5.4 nano verified from developers.openai.com; GPT-5 nano verified from developers.openai.com. This page is as current as the older of the two: .

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.