AiCostCompare

GPT-5.4 Nano

by OpenAI · openai/gpt-5.4-nano · #117 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash

Pricing

Input

$0.20

per 1M tokens

Output

$1.25

per 1M tokens

Blended (3:1)

$0.463

3 input : 1 output

Cache read

$0.02

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GPT-5.4 Nano with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.463$0.0217
50%$0.395$0.0126−42%
90%$0.341$0.00545−75%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.000475$0.475
Document summary8,0001,000$0.00285$2.85
Codebase question (RAG)30,0002,000$0.0085$8.50
Long-context analysis150,0005,000$0.0362$36.25

Performance

Intelligence Index

38.2

AA composite quality

Coding Index

56.1

Math Index

Agentic Index

27.5

Output speed

161 tok/s

median

Time to first token

3.62s

median

Time to first answer

3.62s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
GPQA Diamond81.7%
Humanity's Last Exam26.5%
SciCode46.9%
IFBench75.9%
AA-LCR (Long Context Reasoning)66.0%
Terminal-Bench Hard42.4%
Terminal-Bench 2.160.7%
τ²-Bench (Telecom)76.0%
τ³-Bench Banking21.0%

Specs

Context window

400K

tokens

Max output

128K

tokens

Input modalities

file, image, text

Tokenizer

GPT