Compare AI models

Specifications
Context window
—500k
API pricing
Input price
$2.00$2.00
Output price
$12.00$6.00
Cached input price
$0.20$0.50
Cheapest input
$1.00Google$2.00xAI
Cheapest output
$6.00Google$6.00xAI
Benchmarks
DeepSWE 1.1
12%71%
Next.js Evals
58%94%
Overview
CompanyGoogleSpaceXAI
Release dateFeb 19 2026Sep 21 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Grok 4.7 leads Gemini 3.1 Pro on 2 of the 2 benchmarks they both report (DeepSWE 1.1, Next.js Evals). Both charge $2.00 per million input tokens. Grok 4.7 is cheaper on output: $6.00 vs $12.00 per million tokens. Figures are base-tier rates. Gemini 3.1 Pro shipped 214 days before Grok 4.7, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On DeepSWE 1.1, Grok 4.7 leads at 71% vs Gemini 3.1 Pro at 12%. On Next.js Evals, Grok 4.7 leads at 94% vs Gemini 3.1 Pro at 58%.