Gemini 3 Flash Preview vs Grok 4.20

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

google · A · API-only
Input / 1M
$0.50
Output / 1M
$3.00
AA index
26.3
proprietary · 1M context
x-ai · B · API-only
Input / 1M
$1.25
Output / 1M
$2.50
AA index
25.7
proprietary · 2M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification Gemini 3 Flash Preview Grok 4.20
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 1,048,576 2,000,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.50 $1.25
API output price / 1M tokens $3.00 $2.50
Est. cost per 1M input + 1M output tokens $3.50 $3.75
Cached input / 1M tokens $0.05 $0.20
AA Intelligence Index 26.3 25.7
AA Coding Index — —
AA Agentic Index — —
Max output tokens 65,536 1,800,000
API providers 2 1
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

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

Gemini 3 Flash Preview $3.50
Grok 4.20 $3.75

Gemini 3 Flash Preview is 1.1× cheaper at list price.

Adjacent comparisons