GPT-5.4 Nano vs GPT-4o-mini (2024-07-18)

API pricing, benchmark indices and specs — updated 19 October 2026.

openai · A · API-only
Input / 1M
$0.20
Output / 1M
$1.25
AA index
20.7
proprietary · 400K context
openai · B · API-only
Input / 1M
$0.15
Output / 1M
$0.60
AA index
—
proprietary · 128K context

Specification comparison

Differences are highlighted; identical values are muted.

Specification GPT-5.4 Nano GPT-4o-mini (2024-07-18)
Deployment API-only (closed weights) API-only (closed weights)
Parameters n/a — API-only n/a — API-only
Architecture n/a — API-only n/a — API-only
Context length 400,000 128,000
Licence Proprietary Proprietary
Commercial use Per API terms Per API terms
Languages n/a — API-only n/a — API-only
Downloads 30d n/a — API-only n/a — API-only
Downloads all time n/a — API-only n/a — API-only
Quantizations on the Hub n/a — API-only n/a — API-only
Gated n/a — API-only n/a — API-only
First seen on the Hub n/a — API-only n/a — API-only
API input price / 1M tokens $0.20 $0.15
API output price / 1M tokens $1.25 $0.60
Est. cost per 1M input + 1M output tokens $1.45 $0.75
Cached input / 1M tokens $0.02 $0.075
AA Intelligence Index 20.7 —
AA Coding Index 56.1 —
AA Agentic Index 16 —
Max output tokens 128,000 16,384
API providers 2 1
Tool calling Yes Yes
Reasoning mode Yes No

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

GPT-5.4 Nano $1.45
GPT-4o-mini (2024-07-18) $0.75

GPT-4o-mini (2024-07-18) is 1.9× cheaper at list price.

Adjacent comparisons