Skip to main content
AI Choice Engine

Model comparison

Gemini 3.1 Pro vs Grok 4.7

Google against SpaceXAI, compared on context, price, and verified benchmark results.

Catalog record checked September 26, 2026Individual provider fields may changeEvidence confidence: High — see receipts below

Google

Gemini 3.1 Pro

Frontier

vs

SpaceXAI

Grok 4.7

Frontier

AI model capability comparison
SpecificationGemini 3.1 ProGrok 4.7
ProviderGoogleSpaceXAI
TierFrontierFrontier
Context windowWinner: 1.05M500K
Max output66KNot verifiedUnverified
Input / 1M tokens$2$2
Output / 1M tokens$12Winner: $6
WeightsClosedClosed
ParametersNot disclosedUnverifiednew, larger base model with longer RL on multi-hour tasks
Reasoning levelslow, medium, highlow, medium, high, xhigh
Modalitiestext, image, video, audio, pdftext, image
API model idgemini-3.1-pro-previewgrok-4.7
ReleasedFebruary 19, 2026September 21, 2026
Artificial Analysis Intelligence Index (2026-09-26)29.7Not verifiedUnverified
Artificial Analysis Intelligence Index [xhigh] (2026-09-26)Not verifiedUnverified46.4
SWE-bench Verified (2026-02)80.6Not verifiedUnverified
GPQA Diamond (2026-02)94.3Not verifiedUnverified
Humanity's Last Exam (2026-02)44.4Not verifiedUnverified
Terminal-Bench 2.1 (2026-07)73.8Not verifiedUnverified
DeepSWE 1.1 [high] (2026-09-21)Not verifiedUnverified71
Terminal-Bench 4.0 [xhigh] (2026-09-26)Not verifiedUnverified25.8

Prices are USD per million tokens at standard rates, excluding batch and caching discounts. Bold indicates the better figure where one is objectively better. Values we could not confirm from the provider are shown as “Not verified” rather than estimated.

Benchmark receipts

Where each score comes from, and how far it can be compared across models.

Pricing tiers

Gemini 3.1 Pro: $2/$12 per MTok (≤200K); $4/$18 (>200K). Still 'Preview' as of 2026-09-26; no Gemini 3.5 Pro or Gemini 4 release yet.

Grok 4.7: $2/$6 per MTok (<200K prompt); $4/$12 for all tokens at ≥200K. Cached input $0.50/MTok ($1.00 at ≥200K). US regional endpoint 1.1x. No Batch API; the 2x-price 'Fast' variant is Cursor and Grok Build only. xAI lists no separate text-output cap. Knowledge cutoff May 2026.

FrontierRecord checked September 26, 2026

Gemini 3.1 Pro

Gemini 3.1 Pro is Google's only Pro model (still in Preview), with a 1M-token context and strong multimodal reasoning.

Best for

  • Very long documents
  • Multimodal reasoning
  • Frontier knowledge work

Watch out

Still in Preview; Google says Gemini 4 is in post-training but unreleased as of 2026-09-26, and newer Flash models outscore it on the Artificial Analysis index.

FrontierRecord checked September 26, 2026

Grok 4.7

Grok 4.7 is xAI's flagship since 2026-09-21 — a larger new base model with longer RL on multi-hour tasks, at Grok 4.6's $2/$6 price.

Best for

  • Coding agents
  • Cost-sensitive frontier work
  • Cursor and GitHub Copilot users

Watch out

Token rates double above a 200K-token prompt and there is no Batch API; the DeepSWE figure is vendor-reported.

When the cheaper one wins

Grok 4.7 is cheaper on output at $6 per million tokens against $12 for Gemini 3.1 Pro — about 2.0×. Use the cheaper tier for classification, extraction, summarisation, and any task where the expensive model’s extra score does not change the accepted output. The expensive one only pays if your hardest task actually fails on the cheap tier. These are standard-tier API rates, excluding batch and cache discounts.

Run the model picker

Evidence confidence: High

How strong and complete the evidence behind this comparison is — not a prediction of which model is better.

  • Pricing verified on both sides — Input and output rates are verified for both models.
  • 3/5 core specs verified on both sides — Not published for at least one side: max output, parameter count.
  • 1 shared named benchmark with differing scores — Measured on: Artificial Analysis Intelligence Index.
  • Verified within the last 90 days — Newest catalog check was 2 days ago.
  • Both models carry source citations — Each side has at least two catalog sources on record.

Source receipts

Each catalog figure was checked against the provider or an independent second source on the date shown.

Common questions

Gemini 3.1 Pro vs Grok 4.7

Answered from the verified figures on this page rather than general guidance.

Is Gemini 3.1 Pro or Grok 4.7 cheaper for input?
Both cost $2 per million input tokens at standard rates, so input price is not a deciding factor between them.
Is Gemini 3.1 Pro or Grok 4.7 cheaper for output?
Grok 4.7 is cheaper at $6 per million output tokens, against $12 for Gemini 3.1 Pro — roughly 2.0× the price. Output tokens usually dominate a real bill, so weigh the output rate more heavily than the input rate. These are base rates; Gemini 3.1 Pro has tiered pricing: $2/$12 per MTok (≤200K); $4/$18 (>200K). Still 'Preview' as of 2026-09-26; no Gemini 3.5 Pro or Gemini 4 release yet. Grok 4.7 has tiered pricing: $2/$6 per MTok (<200K prompt); $4/$12 for all tokens at ≥200K. Cached input $0.50/MTok ($1.00 at ≥200K). US regional endpoint 1.1x. No Batch API; the 2x-price 'Fast' variant is Cursor and Grok Build only. xAI lists no separate text-output cap. Knowledge cutoff May 2026.
Which has the larger context window, Gemini 3.1 Pro or Grok 4.7?
Gemini 3.1 Pro accepts 1.05M tokens against 500K for Grok 4.7. This only matters if you routinely send very long documents or large codebases.
Do Gemini 3.1 Pro and Grok 4.7 support the same reasoning levels?
Gemini 3.1 Pro exposes low, medium, high, while Grok 4.7 exposes low, medium, high, xhigh.
Should I use Gemini 3.1 Pro or Grok 4.7?
Both sit in the frontier tier, so the choice usually comes down to price and context rather than capability. Gemini 3.1 Pro suits very long documents; Grok 4.7 suits coding agents.

Next step

Choosing between them

The verified figures that separate this pair, computed from the catalog rather than restated boilerplate.

  • Context: Gemini 3.1 Pro takes 1.05M against 500K for Grok 4.7 — only decisive if your prompts approach the smaller window.
  • Measured capability: Grok 4.7 leads Artificial Analysis Intelligence Index 46.4 to 29.7 (measured 2026-09-26).

Choosing a harness rather than a model — Cursor, Copilot, Claude Code, Windsurf, or Lovable? Compare agentic harnesses · Latest releases.