Skip to content

Model vs model

Gemini 3.1 Pro (preview) vs Grok 4.7

Gemini 3.1 Pro (preview) and Grok 4.7 are both in llmwise. What each gets on every plan, what it reads, how it's served and what happens when its provider fails, from the catalog and the code that runs them.

Model prices and specs checked against OpenRouter's Gemini 3.1 Pro page, OpenRouter's Grok 4.7 page. Updated .

Short answer

Grok 4.7 gets twice as many messages: up to 250 messages a month on Pro, against up to 125 messages a month for Gemini 3.1 Pro (preview). Beyond that, they read the same files and neither is easier to try. In our test runs, Gemini 3.1 Pro (preview) passed 49 of the 50 prompts both answered and Grok 4.7 47; 2 prompts split them, most on writing (4 to 3).

Gemini 3.1 Pro (preview) vs Grok 4.7, prompt by prompt

Every prompt Gemini 3.1 Pro (preview) and Grok 4.7 both answered, compared directly, their biggest differences first. One run each, through OpenRouter: a wait depends on the provider and the load that day, so a lead under 10% counts as close.

Of the 50 prompts both answered, both passed 47, only Gemini 3.1 Pro (preview) passed 2, only Grok 4.7 passed 0, and neither passed 1. Gemini 3.1 Pro (preview) answered sooner on 22 of the 50 and Grok 4.7 on 25; the rest were within 10% of each other. The 50 replies cost $0.5334 on Gemini 3.1 Pro (preview) and $0.3875 on Grok 4.7: 1.4× less on Grok 4.7.

The 2 prompts only one of Gemini 3.1 Pro (preview) and Grok 4.7 passed

  • Rewrite corporate jargon in plain words (writing): Gemini 3.1 Pro (preview) passed and Grok 4.7 didn't. Gemini 3.1 Pro (preview): Graded 4.0 of 5 on average (lowest 3). Grok 4.7: Graded 3.7 of 5 on average (lowest 3).

  • A frustrated customer (customer support): Gemini 3.1 Pro (preview) passed and Grok 4.7 didn't. Gemini 3.1 Pro (preview): Graded 4.0 of 5 on average (lowest 3). Grok 4.7: Graded 3.7 of 5 on average (lowest 3).

Job by job, the widest gaps first

  • Customer support: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 4 of 5. Gemini 3.1 Pro (preview) answered 1.3× sooner at the median, 8.7 s against 11.6 s. Grok 4.7 cost 1.7× less, $0.0529 against $0.0306 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 23% longer, in tokens of reply, thinking not counted.

  • Writing: Gemini 3.1 Pro (preview) passed 4 of 5 and Grok 4.7 3 of 5. Grok 4.7 answered 1.5× sooner at the median, 9.1 s against 6.0 s. Grok 4.7 cost 1.6× less, $0.0459 against $0.0288 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 13% longer, in tokens of reply, thinking not counted.

  • Summarization: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Grok 4.7 answered 2.9× sooner at the median, 8.0 s against 2.8 s. Grok 4.7 cost 3.1× less, $0.0441 against $0.0141 for the 5 replies. Their replies ran to about the same length.

  • RAG and answering from documents: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Grok 4.7 answered 2.9× sooner at the median, 5.6 s against 1.9 s. Grok 4.7 cost 2.0× less, $0.0290 against $0.0146 for the 5 replies. Their replies ran to about the same length.

  • Translation: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Their median waits were close, 10.3 s against 10.7 s. Grok 4.7 cost 1.7× less, $0.0699 against $0.0410 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 11% longer, in tokens of reply, thinking not counted.

  • SQL: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Grok 4.7 answered 2.5× sooner at the median, 7.4 s against 3.0 s. Grok 4.7 cost 1.6× less, $0.0386 against $0.0240 for the 5 replies. Their replies ran to about the same length.

  • Agents and tool use: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Their median waits were close, 5.3 s against 5.2 s. Grok 4.7 cost 1.4× less, $0.0284 against $0.0197 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 76% longer, in tokens of reply, thinking not counted.

  • Data analysis: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Their median waits were close, 8.6 s against 8.9 s. Grok 4.7 cost 1.4× less, $0.0773 against $0.0556 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 168% longer, in tokens of reply, thinking not counted.

  • Math: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Gemini 3.1 Pro (preview) answered 1.4× sooner at the median, 8.3 s against 11.7 s. Grok 4.7 cost 1.4× less, $0.0501 against $0.0362 for the 5 replies. Gemini 3.1 Pro (preview)'s replies ran 60% longer, in tokens of reply, thinking not counted.

  • Coding: Gemini 3.1 Pro (preview) passed 5 of 5 and Grok 4.7 5 of 5. Gemini 3.1 Pro (preview) answered 3.1× sooner at the median, 10.3 s against 31.6 s. Gemini 3.1 Pro (preview) cost 1.3× less, $0.0973 against $0.1229 for the 5 replies. Their replies ran to about the same length.

All 50 prompts: who passed, who answered sooner, who cost less
Gemini 3.1 Pro (preview) and Grok 4.7 on each prompt of our test runs
PromptResultSoonerCheaper
Turn a title into a URL slugBoth passedGemini 3.1 Pro (preview), 2.4×took 6.0 s and 14.3 sGemini 3.1 Pro (preview), 1.4×cost $0.0056 and $0.0078
Parse a duration like “1h 30m”Both passedGemini 3.1 Pro (preview), 3.1×took 10.3 s and 31.6 sClosecost $0.0172 and $0.0167
Merge overlapping intervalsBoth passedGrok 4.7, 1.4×took 8.6 s and 6.1 sGrok 4.7, 2.3×cost $0.0103 and $0.0045
Evaluate an arithmetic expression, no evalBoth passedGemini 3.1 Pro (preview), 5.4×took 20.6 s and 110.1 sGemini 3.1 Pro (preview), 1.6×cost $0.0351 and $0.0574
Parse CSV with quoted fieldsBoth passedGemini 3.1 Pro (preview), 3.5×took 20.6 s and 72.2 sGemini 3.1 Pro (preview), 1.3×cost $0.0291 and $0.0364
Announce a second bakery shop on LinkedInBoth passedGemini 3.1 Pro (preview), 1.7×took 9.5 s and 16.1 sGrok 4.7, 1.2×cost $0.0113 and $0.0093
Rewrite corporate jargon in plain wordsOnly Gemini 3.1 Pro (preview)Gemini 3.1 Pro (preview), 2.3×took 8.8 s and 20.0 sGemini 3.1 Pro (preview), 1.1×cost $0.0101 and $0.0112
Decline a meeting and offer two timesBoth passedGrok 4.7, 2.5×took 6.2 s and 2.5 sGrok 4.7, 2.4×cost $0.0058 and $0.0024
A product announcement with five rulesBoth passedGrok 4.7, 3.7×took 9.2 s and 2.5 sGrok 4.7, 3.8×cost $0.0095 and $0.0025
Argue both sides of free busesNeither passedGrok 4.7, 1.5×took 9.1 s and 6.0 sGrok 4.7, 2.7×cost $0.0092 and $0.0034
A discount, then sales taxBoth passedGemini 3.1 Pro (preview), 1.3×took 3.6 s and 4.8 sGrok 4.7, 1.3×cost $0.0042 and $0.0033
Pens at 3 for $4Both passedGemini 3.1 Pro (preview), 1.9×took 9.6 s and 18.5 sClosecost $0.0121 and $0.0111
Compound interest over three yearsBoth passedGemini 3.1 Pro (preview), 1.3×took 6.2 s and 8.0 sGrok 4.7, 2.0×cost $0.0099 and $0.0051
Four-digit numbers whose digits sum to 9Both passedGemini 3.1 Pro (preview), 1.6×took 9.6 s and 15.1 sGrok 4.7, 1.6×cost $0.0150 and $0.0093
The highest of three dice is a 5Both passedGemini 3.1 Pro (preview), 1.4×took 8.3 s and 11.7 sGrok 4.7, 1.2×cost $0.0090 and $0.0074
An article in three bulletsBoth passedGrok 4.7, 3.0×took 8.0 s and 2.6 sGrok 4.7, 3.5×cost $0.0088 and $0.0025
An email thread in one sentenceBoth passedGrok 4.7, 2.3×took 6.3 s and 2.8 sGrok 4.7, 2.8×cost $0.0058 and $0.0021
Decisions and action items from a meetingBoth passedGrok 4.7, 1.4×took 7.6 s and 5.3 sGrok 4.7, 2.2×cost $0.0081 and $0.0036
A quarterly memo for the CEOBoth passedGrok 4.7, 2.8×took 11.2 s and 4.0 sGrok 4.7, 3.9×cost $0.0139 and $0.0035
A study with a negative resultBoth passedGrok 4.7, 3.0×took 8.2 s and 2.8 sGrok 4.7, 3.2×cost $0.0075 and $0.0024
The region with the most revenueBoth passedClosetook 8.5 s and 8.9 sGrok 4.7, 1.7×cost $0.0117 and $0.0067
Average order value in AugustBoth passedClosetook 8.6 s and 9.1 sGrok 4.7, 1.8×cost $0.0130 and $0.0072
Revenue change from July to AugustBoth passedGrok 4.7, 1.2×took 9.0 s and 7.7 sGrok 4.7, 1.8×cost $0.0135 and $0.0074
A median, filtered two waysBoth passedGrok 4.7, 1.6×took 7.1 s and 4.4 sGrok 4.7, 2.2×cost $0.0082 and $0.0037
Correlation between ad spend and sign-upsBoth passedGemini 3.1 Pro (preview), 3.1×took 16.5 s and 50.5 sClosecost $0.0310 and $0.0306
A late orderBoth passedGemini 3.1 Pro (preview), 2.0×took 8.7 s and 17.5 sGrok 4.7, 1.5×cost $0.0125 and $0.0084
A return inside the windowBoth passedGrok 4.7, 1.4×took 6.9 s and 4.8 sGrok 4.7, 2.0×cost $0.0076 and $0.0039
A frustrated customerOnly Gemini 3.1 Pro (preview)Gemini 3.1 Pro (preview), 1.2×took 9.8 s and 11.6 sGrok 4.7, 1.5×cost $0.0110 and $0.0075
A refund request outside the windowBoth passedGrok 4.7, 2.0×took 7.4 s and 3.6 sGrok 4.7, 3.0×cost $0.0103 and $0.0034
A message with a planted instructionBoth passedGemini 3.1 Pro (preview), 1.1×took 10.6 s and 11.7 sGrok 4.7, 1.6×cost $0.0116 and $0.0075
A delivery message into SpanishBoth passedGrok 4.7, 1.2×took 11.8 s and 10.2 sGrok 4.7, 2.3×cost $0.0157 and $0.0068
A product description into FrenchBoth passedGemini 3.1 Pro (preview), 1.7×took 9.1 s and 15.7 sGrok 4.7, 1.5×cost $0.0141 and $0.0095
A meeting note into GermanBoth passedGemini 3.1 Pro (preview), 1.7×took 13.0 s and 22.4 sGrok 4.7, 1.3×cost $0.0158 and $0.0121
Idioms into natural JapaneseBoth passedClosetook 10.3 s and 10.7 sGrok 4.7, 1.9×cost $0.0118 and $0.0062
A lease clause into Brazilian PortugueseBoth passedGemini 3.1 Pro (preview), 1.2×took 8.1 s and 9.8 sGrok 4.7, 1.9×cost $0.0125 and $0.0064
Customers in one countryBoth passedGrok 4.7, 3.2×took 4.9 s and 1.5 sGrok 4.7, 1.3×cost $0.0029 and $0.0022
Count orders by statusBoth passedGrok 4.7, 3.9×took 5.0 s and 1.3 sGrok 4.7, 1.8×cost $0.0039 and $0.0021
Revenue by categoryBoth passedGrok 4.7, 2.5×took 7.4 s and 3.0 sGrok 4.7, 2.3×cost $0.0074 and $0.0032
Every customer, even those without ordersBoth passedGemini 3.1 Pro (preview), 1.3×took 7.9 s and 10.3 sGrok 4.7, 1.2×cost $0.0089 and $0.0072
Monthly revenue with a running totalBoth passedGemini 3.1 Pro (preview), 1.3×took 11.1 s and 14.3 sGrok 4.7, 1.7×cost $0.0155 and $0.0093
A fact from one sectionBoth passedGrok 4.7, 3.3×took 5.3 s and 1.6 sGrok 4.7, 1.8×cost $0.0045 and $0.0026
Core hours and start timesBoth passedGrok 4.7, 3.0×took 5.8 s and 1.9 sGrok 4.7, 1.9×cost $0.0052 and $0.0028
Two sections in one answerBoth passedGrok 4.7, 2.8×took 5.6 s and 2.0 sGrok 4.7, 1.7×cost $0.0047 and $0.0029
A later amendment changes the answerBoth passedGrok 4.7, 1.9×took 8.6 s and 4.4 sGrok 4.7, 2.7×cost $0.0099 and $0.0037
A question the handbook doesn't answerBoth passedGrok 4.7, 3.0×took 5.6 s and 1.9 sGrok 4.7, 1.7×cost $0.0046 and $0.0026
Pick the tool and work out the dateBoth passedGemini 3.1 Pro (preview), 1.2×took 4.3 s and 5.2 sGrok 4.7, 2.1×cost $0.0048 and $0.0023
Convert a currencyBoth passedGrok 4.7, 2.7×took 5.3 s and 1.9 sGrok 4.7, 1.9×cost $0.0044 and $0.0024
Book a meeting from a sentenceBoth passedGemini 3.1 Pro (preview), 2.1×took 7.1 s and 14.7 sGemini 3.1 Pro (preview), 1.2×cost $0.0068 and $0.0085
Search, but don't bookBoth passedGrok 4.7, 1.4×took 4.7 s and 3.4 sGrok 4.7, 2.6×cost $0.0061 and $0.0023
Two calls with a unit conversionBoth passedGrok 4.7, 1.3×took 6.9 s and 5.2 sGrok 4.7, 1.5×cost $0.0063 and $0.0043

Gemini 3.1 Pro (preview) vs Grok 4.7 in our test runs

Gemini 3.1 Pro (preview) and Grok 4.7 on the same prompts, job by job: how many replies passed their check.

Based on 100 of our test runs on , through OpenRouter with the app's own prompt and settings. Updated .

Gemini 3.1 Pro (preview) and Grok 4.7 in our test runs, job by job
JobGemini 3.1 Pro (preview)Grok 4.7
Coding5 of 55 of 5
Writing4 of 53 of 5
Math5 of 55 of 5
Summarization5 of 55 of 5
Data analysis5 of 55 of 5
Customer support5 of 54 of 5
Translation5 of 55 of 5
SQL5 of 55 of 5
RAG and answering from documents5 of 55 of 5
Agents and tool use5 of 55 of 5
All jobs49 of 50 · 1 message each · $0.0107 a reply47 of 50 · 1 message each · $0.0077 a reply

The same prompts, sent to both through llmwise's own pipeline and checked the same way: five for each job. A bold count is the one that passed more. Messages: what each reply counted as on Pro. Cost: what OpenRouter charged us per reply, on average. Every prompt, and how it's scored.

Where they differed most, writing: both replies to a prompt only one of them passed.

An everyday prompt: “Rewrite corporate jargon in plain words”, in full.

  • Gemini 3.1 Pro

    Passed: Graded 4.0 of 5 on average (lowest 3).

    In Q3, our teams worked together to adopt a more customer-focused approach. For our business clients, this resulted in a 12% increase in customer retention and a 0.30% (30 basis points) decrease in the rate of customers leaving. Additionally, we adjusted our various customer communication channels to make more efficient use of our time and resources.

    447 tokens in, 763 out (687 of them reasoning) · 8.8 s · $0.0101 · 1 message on Pro · answered by google/gemini-3.1-pro-preview via Google ·

  • Grok 4.7

    Failed: Graded 3.7 of 5 on average (lowest 3).

    In the third quarter, teams from different parts of the company worked together to put a customer-focused approach into practice. Retention measures rose 12%, and the rate of customer loss fell by 30 basis points among enterprise customers. Contact points across all channels were also resized to use capacity more efficiently.

    1,658 tokens in, 1,603 out (1,543 of them reasoning) · 20.0 s · $0.0112 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

Gemini 3.1 Pro (preview) and Grok 4.7 on every plan

Whether the one-time free trial reaches each model, then each paid plan's messages on it.

Messages on Gemini 3.1 Pro (preview) and Grok 4.7, plan by plan
PlanPriceGemini 3.1 Pro (preview)Grok 4.7
Free$0Not in the trialNot in the trial
Plus$10 a monthUp to 62 a monthUp to 125 a month
Pro$20 a monthUp to 125 a monthUp to 250 a month
Max$50 a monthUp to 400 a monthUp to 800 a month
Ultra$100 a monthUp to 900 a monthUp to 1,800 a month
Studio$200 a monthUp to 2,000 a monthUp to 4,000 a month

Prices don't include tax, which is added where it applies and shown before you pay. A paid plan's month is one allowance shared by every model, so each monthly count is the most you get if all of it goes to that model. It renews each billing period; everyday models refill daily at 00:00 UTC. Long chats count more per reply. How pricing works.

Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Plus $3.75, Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.

What differs

  • Messages on Pro

    Grok 4.7 gets twice as many messages: up to 250 messages a month on Pro, against up to 125 messages a month for Gemini 3.1 Pro (preview).

  • Context window

    Gemini 3.1 Pro (preview) takes up to 1.05M tokens; Grok 4.7 up to 500K tokens. A chat in llmwise holds up to 200k tokens, which fits in either, so the difference shows only through each maker's own API.

  • Images and PDFs

    Both read images. Both take a PDF as the whole file, pages and all.

  • On Free

    Neither is in the free trial: both need a paid plan, from Plus.

  • Where messages go

    Gemini 3.1 Pro (preview): Sent to Google directly. Grok 4.7: Served through OpenRouter by xAI alone, on an endpoint that doesn't store or train on prompts.

Fact by fact

Gemini 3.1 Pro (preview) and Grok 4.7, fact by fact
FactGemini 3.1 Pro (preview)Grok 4.7
Context window1.05M tokens500K tokens
Reads imagesYesYes
PDFsWhole fileWhole file
ReasoningYesYes
API price (October 2026)$2.00 in / $12.00 out per million tokens$2.00 in / $6.00 out per million tokens
A typical message at API prices (4,000 tokens in, 700 out)$0.0164$0.0122
A $10 top-up adds100 messages200 messages
Where a message goesSent to Google directly.Served through OpenRouter by xAI alone, on an endpoint that doesn't store or train on prompts.
If the provider failsIf Google fails before the reply starts (an overload, a server error, a dropped connection), llmwise sends the same request to Gemini 3.1 Pro (preview) through OpenRouter instead.xAI is its only host, so there's no other host to move to: if xAI fails, send the message again or pick another model.
Anthropic's safety fallbackDoesn't applyDoesn't apply
API prices are what our model catalog lists (Gemini: Google's list price; Grok: xAI's price, served through OpenRouter). In llmwise you pay per message, not per token: the counts above are what you get.

Gemini 3.1 Pro (preview) or Grok 4.7?

From the facts above and our test runs: the rest is how their answers suit your work, which one chat can show you.

  • Pick Grok 4.7: more messages for the money, up to 250 messages a month on Pro.

Each model's page, the families, and other pairs

Gemini 3.1 Pro (preview) vs Grok 4.7 is one pair of models. The page below covers the whole families.

Questions

Is Gemini 3.1 Pro (preview) or Grok 4.7 cheaper in llmwise?

Grok 4.7 gets twice as many messages: up to 250 messages a month on Pro, against up to 125 messages a month for Gemini 3.1 Pro (preview). Every paid plan's monthly allowance is shared by the models on it, so each count is the most you get if it all goes to that model.

Can I try Gemini 3.1 Pro (preview) and Grok 4.7 for free?

Neither is in the free trial of 5 messages: both need a paid plan, from Plus.

Which has the bigger context window, Gemini 3.1 Pro (preview) or Grok 4.7?

Gemini 3.1 Pro (preview): 1.05M tokens, against 500K tokens. A chat in llmwise holds up to 200k tokens, which fits in either, so the difference shows only through each maker's own API.

Can I use Gemini 3.1 Pro (preview) and Grok 4.7 in the same chat?

Yes. Pick Gemini 3.1 Pro (preview) for one message and Grok 4.7 for the next; the second sees the whole chat, including the first one's answer.

Which did better in your test runs, Gemini 3.1 Pro (preview) or Grok 4.7?

On the same 50 prompts, run on October 2, 2026, Gemini 3.1 Pro (preview) passed 49 and Grok 4.7 passed 47. The table on this page has each job, and every reply is published.

Claude, GPT, Gemini, DeepSeek, Grok, Kimi, GLM, and Mistral, in one chat.

See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.