Skip to main content
TokenCost logoTokenCost

GPT-5.4 Nano

Last verified August 17, 2026 · OpenAI pricing ↗

$0.200/1M input · $1.25/1M output · 400K context · OpenAI

GPT-5.4 Nano costs $0.200 per 1M input tokens and $1.25 per 1M output tokens from OpenAI, with a 400K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0008, or $8.00 per 10,000 requests. On that workload it is cheaper than 123 of the 168 other buyable models tracked here.

budgetclassificationextractionroutingpreprocessing

When to use GPT-5.4 Nano

Ultra-low-cost option for simple classification, extraction, and routing tasks. When you need an LLM but the task doesn't require deep reasoning. Perfect for preprocessing pipelines.

  • Among the cheapest OpenAI models per input token
  • Sub-100ms latency for simple tasks
  • Good enough for classification and extraction
  • Ideal for LLM routing and preprocessing

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What GPT-5.4 Nano Costs Per Request

At $0.200 per 1M input and $1.25 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.0008$8.00
RAG answer over retrieved docs8,000 / 600$0.0024$23.50
Coding-agent step30,000 / 2,000$0.0085$85.00

GPT-5.4 Nano vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
GPT-5.4 Nano OpenAI$0.200$1.25400K$0.0024
GPT-5.6 Luna OpenAI$0.200$1.201.1M$0.0023
MiniMax M3 MiniMax$0.300$1.201.0M$0.0031
Qwen3-Next-80B-A3B-Thinking Alibaba$0.150$1.20262K$0.0019

Alternatives to GPT-5.4 Nano

Pricing Details

OpenAIAPI only. Optimized for classification, extraction, ranking. Cached input: $0.02/1M. Batch: $0.10/$0.625.
Input / 1M tokens
$0.2
Output / 1M tokens
$1.25
Context Window
400K
Max Output
128K

Price History

No price change recorded since 2026-07-24, when this site started tracking this model.

Frequently Asked Questions

Common questions about GPT-5.4 Nano pricing and usage

How much does GPT-5.4 Nano cost?
GPT-5.4 Nano costs $0.2 per 1 million input tokens and $1.25 per 1 million output tokens. This pricing is set by OpenAI.
What tokenizer does GPT-5.4 Nano use?
GPT-5.4 Nano uses the o200k_base tokenizer. This is OpenAI's latest tokenizer, optimized for efficiency with a vocabulary of ~200,000 tokens.
What is GPT-5.4 Nano's context window?
GPT-5.4 Nano supports a context window of 400K tokens (400,000 tokens). The maximum output length is 128K tokens.
How does GPT-5.4 Nano compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GPT-5.4 Nano costs $0.0024 per request. The nearest-priced alternatives cost: GPT-5.6 Luna (OpenAI) $0.0023, MiniMax M3 (MiniMax) $0.0031, Qwen3-Next-80B-A3B-Thinking (Alibaba) $0.0019. The table above lists their full rates and context windows.
How do I count tokens for GPT-5.4 Nano?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GPT-5.4 Nano using the o200k_base tokenizer.

Read More About GPT-5.4 Nano