Gemini 3.1 Pro vs Grok 4.7
Google against xAI, costed on the same three workloads. Grok 4.7 is cheaper on all three workloads.
Run this comparison on your own numbers
Monthly bill, side by side
| Workload | Gemini 3.1 Pro | Grok 4.7 | Difference |
|---|---|---|---|
| Support chatbot 2,500 six-turn conversations a day |
$8,865 | $6,435 | $2,430 (+38%) |
| Document summarizer 1,000 single-shot summaries a day |
$1,020 | $876 | $144 (+16%) |
| Coding agent 200 twelve-turn sessions a day |
$5,976 | $4,896 | $1,080 (+22%) |
No prompt caching and no batch discount on either side, so the comparison is like for like. Both figures assume 30 days a month.
Verdict by workload
- Support chatbot: Grok 4.7 wins, saving $2,430 a month over Gemini 3.1 Pro (1.4x). Each conversation reads about 26,700 input tokens and writes 5,400, so roughly 202 output tokens per 1,000 input; the input rate decides most of this bill.
- Document summarizer: Grok 4.7 wins, saving $144 a month over Gemini 3.1 Pro (1.2x). Each conversation reads about 12,200 input tokens and writes 800, so roughly 66 output tokens per 1,000 input; the input rate decides most of this bill.
- Coding agent: Grok 4.7 wins, saving $1,080 a month over Gemini 3.1 Pro (1.2x). Each conversation reads about 318,000 input tokens and writes 30,000, so roughly 94 output tokens per 1,000 input; the input rate decides most of this bill.
Where the answer flips
There is no read-versus-write mix where the answer flips: Grok 4.7 is as cheap or cheaper on both the input and the output rate.
Price history
- Gemini 3.1 Pro: no change to its input or output rate on record (tracked since 2026-08-02).
- Grok 4.7: no change to its input or output rate on record (tracked since 2026-09-22).
Benchmark
- Grok 4.7: 34 on Artificial Analysis Intelligence Index, independent (Artificial Analysis), highest listed effort setting. Source, read 2026-10-30.
Only one side has a sourced figure on this benchmark, so it is shown for context, not as a head-to-head.
The rate cards
| Gemini 3.1 Pro | Grok 4.7 | |
|---|---|---|
| Input, per 1M tokens | $2 | $2 |
| Output, per 1M tokens | $12 | $6 |
| Cached input | $0.2 | $0.5 |
| Context window | 1.05M | 500K |
| Maximum output | 66K | 500K |
| Reasoning model | yes | yes |
| Vision | yes | yes |
Beyond the price
- Gemini 3.1 Pro reads up to 1.05M tokens of context in one request; Grok 4.7 stops at 500K.
- Grok 4.7 can write up to 500K tokens in one response, against 66K for Gemini 3.1 Pro.
- Cached input costs 90% less than fresh input on Gemini 3.1 Pro and 75% less on Grok 4.7, which matters most for workloads that resend the same prompt.
Run this comparison on your own numbers
Full detail: Gemini 3.1 Pro pricing · Grok 4.7 pricing
More comparisons
Other head-to-heads that include Gemini 3.1 Pro or Grok 4.7.
- Gemini 3.1 Pro vs Claude Opus 4.6
- Gemini 3.1 Pro vs Claude Opus 4.7
- Gemini 3.1 Pro vs Claude Opus 4.8
- Grok 4.7 vs Qwen 3.8 Max
- Grok 4.7 vs GPT-5.4
- Grok 4.7 vs GPT-5.6 Terra
Common questions
Which is cheaper, Gemini 3.1 Pro or Grok 4.7?
Grok 4.7 is cheaper on all three workloads.
How much would Gemini 3.1 Pro and Grok 4.7 cost each month?
On PromptSpend's standard workloads, per month: support chatbot: Gemini 3.1 Pro $8,865, Grok 4.7 $6,435 (Grok 4.7 is cheaper by $2,430); document summarizer: Gemini 3.1 Pro $1,020, Grok 4.7 $876 (Grok 4.7 is cheaper by $144); coding agent: Gemini 3.1 Pro $5,976, Grok 4.7 $4,896 (Grok 4.7 is cheaper by $1,080). No prompt caching and no batch discount is assumed.
How do Gemini 3.1 Pro and Grok 4.7 differ apart from price?
Gemini 3.1 Pro reads up to 1.05M tokens of context in one request; Grok 4.7 stops at 500K. Grok 4.7 can write up to 500K tokens in one response, against 66K for Gemini 3.1 Pro. Cached input costs 90% less than fresh input on Gemini 3.1 Pro and 75% less on Grok 4.7, which matters most for workloads that resend the same prompt.