Skip to content

Model comparison

Gemini 3.1 Pro vs Grok 4.7

Both charge the same for input tokens. Gemini 3.1 Pro lists $2 in and $12 out per million tokens with a 1.05M context window; Grok 4.7 lists $2 and $6 with 500K.

On a reference workload Gemini 3.1 Pro costs 37% more than Grok 4.7; Gemini 3.1 Pro takes the longer prompt (1.05M against 500K).

Gemini 3.1 ProGrok 4.7
DeveloperGooglexAI
Input / 1M tokens$2$2
Output / 1M tokens$12$6
Context window1.05M500K
Max output66K-
ModalityMultimodalMultimodal
Open weightsNoNo
Released2026-022026-09-21
SourceProvider documentationProvider documentation
Illustrative month*$132$96

* 100 calls a day, about 10,000 tokens in and 2,000 out each, at list price, before caching, batching or volume discounts. Illustrative only. Pricing and context data verified 2026-10-11; "Secondary" figures come from pricing aggregators and trade press, so check the provider before relying on them. No benchmark scores: see methodology.

What a month costs

The same work on each model

Shape of workGemini 3.1 ProGrok 4.7Difference
Light20 calls a day, 4,000 in / 800 out$11$7.683.1 Pro costs 38% more than Grok 4.7
Reference100 calls a day, 10,000 in / 2,000 out$132$963.1 Pro costs 37% more than Grok 4.7
Heavy1,000 calls a day, 15,000 in / 3,000 out$1,980$1,4403.1 Pro costs 38% more than Grok 4.7
Document200 calls a day, 120,000 in / 2,000 out$1,584$1,5123.1 Pro costs 5% more than Grok 4.7

30 days at list price, before caching, batching or volume discounts. The shapes of work are the ones the cost calculator uses.

Gemini 3.1 Pro

Google's Pro tier, still offered only as a preview. Pricing is tiered: input doubles and output rises by half above 200K prompt tokens, which matters if you actually use the 1M window.

  • Watch: Preview model: no stable version yet
  • Watch: Tiered pricing above 200K input tokens catches people out
Gemini 3.1 Pro in full →

Grok 4.7

xAI's flagship for code, agentic tool calling and knowledge work, with configurable reasoning effort and no cap on text output. xAI's documentation now styles the company SpaceXAI.

  • Watch: Batch API not supported
  • Watch: Always returns encrypted reasoning on the Responses API
Grok 4.7 in full →

Other comparisons