GPT-5.4 Nano vs Gemini 3.1 Flash Lite Preview

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
google · B · API-only
Input / 1M
$0.25
Output / 1M
$1.50
AA index
15.6
proprietary · 1M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification GPT-5.4 Nano Gemini 3.1 Flash Lite Preview
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 1,048,576
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.25
API output price / 1M tokens $1.25 $1.50
Est. cost per 1M input + 1M output tokens $1.45 $1.75
Cached input / 1M tokens $0.02 $0.025
AA Intelligence Index 20.7 15.6
AA Coding Index 56.1 34.7
AA Agentic Index 16 1.6
Max output tokens 128,000 65,536
API providers 2 1
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

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

GPT-5.4 Nano $1.45
Gemini 3.1 Flash Lite Preview $1.75

GPT-5.4 Nano is 1.2× cheaper at list price.

Adjacent comparisons