GPT-5.4 Nano

OpenAI's smallest, cheapest GPT-5.4 variant. Optimized for classification, data extraction, ranking, and coding subagents where speed and cost matter most.

Input price
$0.18list $0.20-10%
Output price
$1.125list $1.25-10%
Context
400K
Max output
128K
Modalities
InputTextImageOutputText
146 (#60 of 89)
1372
—
Released
2026-03-17
Knowledge cutoff
2025-08
Try in ChatCompare

Providers

This model is served by the dedicated providers below. We pick the provider for each request, so provider preferences don’t apply, including a provider named in your request. Prices in USD per 1M tokens. Need a custom setup? Contact [email protected].

Included providers2
  • SuccessTTFT
  • Azure AI FoundryGlobal——
  • OpenAIUnited States——

Pricing

Prices for this model. Each request is billed at these prices, whichever provider serves it.

Input
$0.18list $0.20-10%
per 1M tokens
Output
$1.125list $1.25-10%
per 1M tokens
Cache read
$0.018list $0.02-10%
per 1M tokens
Batch input
$0.09list $0.10-10%
per 1M tokens
Batch output
$0.5625list $0.625-10%
per 1M tokens
Web search
$0.009list $0.01-10%
per request

Make a request

Set your provider preferences, then copy the request. It reads your API key from OHMYGPT_API_KEY.

Provider preferences don’t apply to this model. Need a custom setup? Contact [email protected].

curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-nano",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'

Similar models

Other models with the same output types at a similar price.

  • Better value: more capable, lower price
  • Pareto frontier
  • This model
  • Similar models

Capability scores are from Epoch AI’s Epoch Capabilities Index (CC BY 4.0, as of 2026-11-02), which combines dozens of benchmarks with GPT-5 set at 150. epoch.ai/eci

Price: our current input price per 1M tokens in USD, lowest across channels. Dated snapshots and resold copies of the same model are merged into one point; free models are not shown.

Shaded area: capability above and price below the median of all models. Pareto frontier: no other model is both cheaper and more capable.

GPT-5.4 NanoThis model
146
Input
$0.18
Output
$1.125
157
Input
$0.18–$0.36
Output
$1.08–$1.62
130
Input
$0.187
Output
$0.726
—
Input
$0.165
Output
$0.66
—
Input
$0.165
Output
$0.66

Human preference ratings are from the LMArena Text Arena (CC BY 4.0, as of 2026-10-28): Elo ratings from blind votes, on a different scale from capability scores. lmarena.ai/leaderboard/text