PriceIndex

Models, measured side by side

Gemini 3.1 Pro (Preview) vs Grok 4.7

Compare Gemini 3.1 Pro (Preview), Grok 4.7 by token pricing, context length, benchmark results, speed and tool support.

Updated Nov 2026 · Last verified Nov 9, 2026 · Public listed prices. Confirm with the provider.

Verdict

Gemini 3.1 Pro (Preview) vs Grok 4.7
Cheaper

Grok 4.7

33% less than next at 3:1

Smarter

Grok 4.7

AA 46.4 vs 29.7

Bigger context

Gemini 3.1 Pro (Preview)

1M vs 500K

Choose Gemini 3.1 Pro (Preview) if…

  • you need the biggest context window (1M vs 500K tokens)

Choose Grok 4.7 if…

  • you want the lowest cost on input-heavy work (33% cheaper at 3:1)
  • you generate a lot of output ($6.00 vs $12.00 per 1M output tokens)
  • you need the strongest reasoning (AA Intelligence 46.4 vs 29.7)
10M input + 2M output / monthGemini 3.1 Pro (Preview): $44.00Grok 4.7: $32.00

Monthly workload

Monthly cost breakdown

InputOutput

Gemini 3.1 Pro (Preview)

$100 / mo

Grok 4.7

$70 / mo

Performance comparison

Gemini 3.1 Pro (Preview)

29.7

Grok 4.7

46.4

Overview

Provider
Gemini 3.1 Pro (Preview)
Google
Grok 4.7
xAI
Released
Gemini 3.1 Pro (Preview)
Not listed
Grok 4.7
2026-09-21
Status
Gemini 3.1 Pro (Preview)
Active
Grok 4.7
Active
Input formats
Gemini 3.1 Pro (Preview)
audiofileimagetextvideo
Grok 4.7
textimagefile
Output formats
Gemini 3.1 Pro (Preview)
text
Grok 4.7
text

Pricing & capacity

Input / 1M tokens
Gemini 3.1 Pro (Preview)
$2.00
Grok 4.7
$2.00
Output / 1M tokens
Gemini 3.1 Pro (Preview)
$12
Grok 4.7
$6.00
Cached input / 1M
Gemini 3.1 Pro (Preview)
$0.20
Grok 4.7
$0.50
Monthly cost
Gemini 3.1 Pro (Preview)
$100
Grok 4.7
$70
Context window
Gemini 3.1 Pro (Preview)
1M
Grok 4.7
500K
Maximum output
Gemini 3.1 Pro (Preview)
66K
Grok 4.7
450K

Benchmarks & performance

Arena Elo
Gemini 3.1 Pro (Preview)
1,272
Grok 4.7
Not listed
MMLU-Pro
Gemini 3.1 Pro (Preview)
85.6%
Grok 4.7
Not listed
Intelligence Index
Gemini 3.1 Pro (Preview)
29.7
Grok 4.7
46.4
GPQA
Gemini 3.1 Pro (Preview)
94.1%
Grok 4.7
Not listed
Humanity’s Last Exam
Gemini 3.1 Pro (Preview)
47%
Grok 4.7
43.1%
SciCode
Gemini 3.1 Pro (Preview)
58.7%
Grok 4.7
57.4%
Output speed
Gemini 3.1 Pro (Preview)
120 tokens/s
Grok 4.7
83 tokens/s
Time to first token
Gemini 3.1 Pro (Preview)
25.66 s
Grok 4.7
0.04 s
DesignArena rating
Gemini 3.1 Pro (Preview)
1,229
Grok 4.7
1,268
DesignArena win rate
Gemini 3.1 Pro (Preview)
54.4%
Grok 4.7
47.7%

Tools & features

Function calling
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported
Structured outputs
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported
JSON mode
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported
Reasoning
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported
Log probabilities
Gemini 3.1 Pro (Preview)
Not listed
Grok 4.7
Supported
Deterministic seed
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported
Prompt caching
Gemini 3.1 Pro (Preview)
Supported
Grok 4.7
Supported

API & availability

API identifier
Gemini 3.1 Pro (Preview)
gemini-3.1-pro-preview
Grok 4.7
grok-4.7
API providers
Gemini 3.1 Pro (Preview)
Google, Google AI Studio
Grok 4.7
Amazon Bedrock, xAI
Prices checked
Gemini 3.1 Pro (Preview)
Nov 9, 2026
Grok 4.7
Nov 9, 2026

About the models

Gemini 3.1 Pro (Preview)

Google's 3rd generation Pro model, built for multimodal understanding, agentic capabilities, and vibe-coding.

Full pricing & details

Grok 4.7

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

Full pricing & details

Comparison FAQ

Gemini 3.1 Pro (Preview): $2.00 input and $12 output per million tokens. Grok 4.7: $2.00 input and $6.00 output per million tokens. The cheaper choice depends on your input-to-output ratio; a model can have a lower input rate but a higher output rate.

For an example workload of 20 million input tokens and 5 million output tokens per month: Gemini 3.1 Pro (Preview): $100. Grok 4.7: $70. These are token-only estimates using the displayed rates, without caching discounts, additional tool charges or taxes. Actual bills depend on usage and endpoint pricing.

Gemini 3.1 Pro (Preview): 1M tokens of context; maximum output 66K tokens. Grok 4.7: 500K tokens of context; maximum output 450K tokens. Context capacity and maximum output are separate limits. A larger context window allows more material in a request but does not guarantee more accurate answers.

Gemini 3.1 Pro (Preview): Artificial Analysis SciCode 58.7%. Grok 4.7: Artificial Analysis SciCode 57.4%. Compare coding results within the same evaluation, then test representative tasks from your own codebase. A missing score is not a zero, and a single benchmark does not establish the best model for every programming task.

These evaluations measure different tasks and use different scales. Arena Elo and DesignArena ratings must remain separate, as must Artificial Analysis Intelligence Index and MMLU-Pro. Compare models within the same evaluation rather than combining scores. Missing results are marked Not listed, not treated as measured zeroes.

Gemini 3.1 Pro (Preview): Artificial Analysis output speed 120 tokens/s; time to first token 25.66 seconds. Grok 4.7: Artificial Analysis output speed 83 tokens/s; time to first token 0.04 seconds. Output speed measures generation throughput, while time to first token measures the initial wait. Real-world latency also depends on the API provider, request size and load; missing measurements cannot establish a speed winner.

Gemini 3.1 Pro (Preview): listed input formats: audio, file, image, text, video; output formats: text. Grok 4.7: listed input formats: text, image, file; output formats: text. Input and output support are different capabilities: accepting an image does not mean a model generates images. Confirm formats and file limits for the endpoint you plan to use.

Gemini 3.1 Pro (Preview): listed features: Function calling, Structured outputs, JSON mode, Reasoning, Deterministic seed, Prompt caching. Grok 4.7: listed features: Function calling, Structured outputs, JSON mode, Reasoning, Log probabilities, Deterministic seed, Prompt caching. Only recorded capabilities are shown; an unlisted feature is not proof that it is unsupported. Availability can vary by API provider, so confirm tool calling and JSON schema support for your chosen endpoint.

Gemini 3.1 Pro (Preview): cached input price $0.20 per million tokens. Grok 4.7: cached input price $0.50 per million tokens. Caching may reduce charges for eligible repeated input when supported by the endpoint. A listed cached rate does not guarantee every request qualifies; cache duration, minimum token counts and any write charges depend on the provider.

Gemini 3.1 Pro (Preview): catalog status active; API identifier gemini-3.1-pro-preview; listed API hosts Google, Google AI Studio. Grok 4.7: catalog status active; API identifier grok-4.7; listed API hosts Amazon Bedrock, xAI. Catalog status is not a live availability check. Before integrating, verify the provider's documentation, endpoint access, rate limits, regional availability and data-handling terms.

Popular model comparisons