Grok 4.6 vs Gemini 3.8 Flash

API pricing, benchmark indices and specs — updated 5 November 2026.

x-ai · A · API-only
Input / 1M
$2.00
Output / 1M
$6.00
AA index
31
proprietary · 500K context
google · B · API-only
Input / 1M
$0.83
Output / 1M
$4.13
AA index
30.8
proprietary · 1M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification Grok 4.6 Gemini 3.8 Flash
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 500,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 $2.00 $0.83
API output price / 1M tokens $6.00 $4.13
Est. cost per 1M input + 1M output tokens $8.00 $4.95
Cached input / 1M tokens $0.50 $0.083
AA Intelligence Index 31 30.8
AA Coding Index 75.9 76.3
AA Agentic Index 52.5 40.2
Max output tokens 450,000 65,536
API providers 2 2
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

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

Grok 4.6 $8.00
Gemini 3.8 Flash $4.95

Gemini 3.8 Flash is 1.6× cheaper at list price.

Adjacent comparisons