Model vs model
Claude Sonnet 5 vs Grok 4.7
Claude Sonnet 5 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 Claude Sonnet 5 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 Claude Sonnet 5. Beyond that, they read the same files and neither is easier to try. In our test runs, Claude Sonnet 5 passed 46 of the 50 prompts both answered and Grok 4.7 47; 7 prompts split them, most on summarization (3 to 5).
Claude Sonnet 5 vs Grok 4.7, prompt by prompt
Every prompt Claude Sonnet 5 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 43, only Claude Sonnet 5 passed 3, only Grok 4.7 passed 4, and neither passed 0. Claude Sonnet 5 answered sooner on 36 of the 50 and Grok 4.7 on 5; the rest were within 10% of each other. The 50 replies cost $0.2030 on Claude Sonnet 5 and $0.3875 on Grok 4.7: 1.9× less on Claude Sonnet 5.
The 7 prompts only one of Claude Sonnet 5 and Grok 4.7 passed
Announce a second bakery shop on LinkedIn (writing): Grok 4.7 passed and Claude Sonnet 5 didn't. Claude Sonnet 5: Graded 3.5 of 5 on average (lowest 3). Grok 4.7: Graded 4.8 of 5 on average (lowest 4).
Rewrite corporate jargon in plain words (writing): Claude Sonnet 5 passed and Grok 4.7 didn't. Claude Sonnet 5: Graded 4.7 of 5 on average (lowest 4). Grok 4.7: Graded 3.7 of 5 on average (lowest 3).
Argue both sides of free buses (writing): Claude Sonnet 5 passed and Grok 4.7 didn't. Claude Sonnet 5: Graded 4.0 of 5 on average (lowest 4). Grok 4.7: Graded 4.7 of 5 on average (lowest 4); but a paragraph of 100 words, over the 90 allowed.
An article in three bullets (summarization): Grok 4.7 passed and Claude Sonnet 5 didn't. Claude Sonnet 5: Graded 3.7 of 5 on average (lowest 3). Grok 4.7: Graded 4.7 of 5 on average (lowest 4).
An email thread in one sentence (summarization): Grok 4.7 passed and Claude Sonnet 5 didn't. Claude Sonnet 5: Graded 5.0 of 5 on average (lowest 5); but 32 words, over the 30 allowed. Grok 4.7: Graded 4.7 of 5 on average (lowest 4).
Correlation between ad spend and sign-ups (data analysis): Grok 4.7 passed and Claude Sonnet 5 didn't. Claude Sonnet 5: Final answer 0.99; expected 0.97. Grok 4.7: Final answer 0.97: right.
A frustrated customer (customer support): Claude Sonnet 5 passed and Grok 4.7 didn't. Claude Sonnet 5: Graded 4.3 of 5 on average (lowest 4). Grok 4.7: Graded 3.7 of 5 on average (lowest 3).
Job by job, the widest gaps first
Summarization: Claude Sonnet 5 passed 3 of 5 and Grok 4.7 5 of 5. Their median waits were close, 2.7 s against 2.8 s. They cost about the same, $0.0140 against $0.0141 for the 5 replies. Claude Sonnet 5's replies ran 64% longer, in tokens of reply, thinking not counted.
Customer support: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 4 of 5. Claude Sonnet 5 answered 3.3× sooner at the median, 3.5 s against 11.6 s. Claude Sonnet 5 cost 1.7× less, $0.0182 against $0.0306 for the 5 replies. Claude Sonnet 5's replies ran 99% longer, in tokens of reply, thinking not counted.
Writing: Claude Sonnet 5 passed 4 of 5 and Grok 4.7 3 of 5. Claude Sonnet 5 answered 1.3× sooner at the median, 4.5 s against 6.0 s. Claude Sonnet 5 cost 1.7× less, $0.0171 against $0.0288 for the 5 replies. Claude Sonnet 5's replies ran 97% longer, in tokens of reply, thinking not counted.
Data analysis: Claude Sonnet 5 passed 4 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 1.7× sooner at the median, 5.3 s against 8.9 s. Claude Sonnet 5 cost 1.6× less, $0.0344 against $0.0556 for the 5 replies. Claude Sonnet 5's replies ran 22% longer, in tokens of reply, thinking not counted.
Translation: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 3.9× sooner at the median, 2.8 s against 10.7 s. Claude Sonnet 5 cost 2.8× less, $0.0149 against $0.0410 for the 5 replies. Claude Sonnet 5's replies ran 94% longer, in tokens of reply, thinking not counted.
Coding: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 11.8× sooner at the median, 2.7 s against 31.6 s. Claude Sonnet 5 cost 2.4× less, $0.0508 against $0.1229 for the 5 replies. Claude Sonnet 5's replies ran 58% longer, in tokens of reply, thinking not counted.
Math: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 3.0× sooner at the median, 3.9 s against 11.7 s. Claude Sonnet 5 cost 2.2× less, $0.0165 against $0.0362 for the 5 replies. Their replies ran to about the same length.
SQL: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 1.4× sooner at the median, 2.2 s against 3.0 s. Claude Sonnet 5 cost 1.7× less, $0.0142 against $0.0240 for the 5 replies. Claude Sonnet 5's replies ran 68% longer, in tokens of reply, thinking not counted.
Agents and tool use: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Claude Sonnet 5 answered 2.6× sooner at the median, 2.0 s against 5.2 s. Claude Sonnet 5 cost 1.6× less, $0.0121 against $0.0197 for the 5 replies. Claude Sonnet 5's replies ran 48% longer, in tokens of reply, thinking not counted.
RAG and answering from documents: Claude Sonnet 5 passed 5 of 5 and Grok 4.7 5 of 5. Their median waits were close, 1.8 s against 1.9 s. Claude Sonnet 5 cost 1.3× less, $0.0109 against $0.0146 for the 5 replies. Claude Sonnet 5's replies ran 86% longer, in tokens of reply, thinking not counted.
All 50 prompts: who passed, who answered sooner, who cost less
| Prompt | Result | Sooner | Cheaper |
|---|---|---|---|
| Turn a title into a URL slug | Both passed | Claude Sonnet 5, 6.3×took 2.3 s and 14.3 s | Claude Sonnet 5, 3.2×cost $0.0024 and $0.0078 |
| Parse a duration like “1h 30m” | Both passed | Claude Sonnet 5, 12.3×took 2.6 s and 31.6 s | Claude Sonnet 5, 4.6×cost $0.0036 and $0.0167 |
| Merge overlapping intervals | Both passed | Claude Sonnet 5, 2.3×took 2.7 s and 6.1 s | Claude Sonnet 5, 1.3×cost $0.0034 and $0.0045 |
| Evaluate an arithmetic expression, no eval | Both passed | Claude Sonnet 5, 6.5×took 16.9 s and 110.1 s | Claude Sonnet 5, 2.5×cost $0.0226 and $0.0574 |
| Parse CSV with quoted fields | Both passed | Claude Sonnet 5, 4.6×took 15.8 s and 72.2 s | Claude Sonnet 5, 1.9×cost $0.0187 and $0.0364 |
| Announce a second bakery shop on LinkedIn | Only Grok 4.7 | Claude Sonnet 5, 3.5×took 4.6 s and 16.1 s | Claude Sonnet 5, 2.5×cost $0.0037 and $0.0093 |
| Rewrite corporate jargon in plain words | Only Claude Sonnet 5 | Claude Sonnet 5, 7.4×took 2.7 s and 20.0 s | Claude Sonnet 5, 5.0×cost $0.0022 and $0.0112 |
| Decline a meeting and offer two times | Both passed | Grok 4.7, 1.1×took 2.8 s and 2.5 s | Closecost $0.0026 and $0.0024 |
| A product announcement with five rules | Both passed | Grok 4.7, 1.8×took 4.5 s and 2.5 s | Grok 4.7, 1.4×cost $0.0035 and $0.0025 |
| Argue both sides of free buses | Only Claude Sonnet 5 | Closetook 6.6 s and 6.0 s | Grok 4.7, 1.5×cost $0.0050 and $0.0034 |
| A discount, then sales tax | Both passed | Claude Sonnet 5, 2.5×took 1.9 s and 4.8 s | Claude Sonnet 5, 2.1×cost $0.0015 and $0.0033 |
| Pens at 3 for $4 | Both passed | Claude Sonnet 5, 2.9×took 6.3 s and 18.5 s | Claude Sonnet 5, 1.8×cost $0.0061 and $0.0111 |
| Compound interest over three years | Both passed | Claude Sonnet 5, 2.2×took 3.7 s and 8.0 s | Claude Sonnet 5, 2.4×cost $0.0021 and $0.0051 |
| Four-digit numbers whose digits sum to 9 | Both passed | Claude Sonnet 5, 3.4×took 4.5 s and 15.1 s | Claude Sonnet 5, 2.4×cost $0.0039 and $0.0093 |
| The highest of three dice is a 5 | Both passed | Claude Sonnet 5, 3.0×took 3.9 s and 11.7 s | Claude Sonnet 5, 2.6×cost $0.0028 and $0.0074 |
| An article in three bullets | Only Grok 4.7 | Closetook 2.6 s and 2.6 s | Closecost $0.0027 and $0.0025 |
| An email thread in one sentence | Only Grok 4.7 | Claude Sonnet 5, 1.2×took 2.3 s and 2.8 s | Claude Sonnet 5, 1.1×cost $0.0019 and $0.0021 |
| Decisions and action items from a meeting | Both passed | Claude Sonnet 5, 1.9×took 2.8 s and 5.3 s | Closecost $0.0033 and $0.0036 |
| A quarterly memo for the CEO | Both passed | Claude Sonnet 5, 1.4×took 3.0 s and 4.0 s | Closecost $0.0033 and $0.0035 |
| A study with a negative result | Both passed | Closetook 2.7 s and 2.8 s | Grok 4.7, 1.2×cost $0.0028 and $0.0024 |
| The region with the most revenue | Both passed | Claude Sonnet 5, 1.4×took 6.4 s and 8.9 s | Claude Sonnet 5, 1.7×cost $0.0041 and $0.0067 |
| Average order value in August | Both passed | Claude Sonnet 5, 2.3×took 3.9 s and 9.1 s | Claude Sonnet 5, 1.8×cost $0.0041 and $0.0072 |
| Revenue change from July to August | Both passed | Claude Sonnet 5, 1.5×took 5.3 s and 7.7 s | Claude Sonnet 5, 1.2×cost $0.0062 and $0.0074 |
| A median, filtered two ways | Both passed | Closetook 4.9 s and 4.4 s | Closecost $0.0036 and $0.0037 |
| Correlation between ad spend and sign-ups | Only Grok 4.7 | Claude Sonnet 5, 3.7×took 13.8 s and 50.5 s | Claude Sonnet 5, 1.9×cost $0.0165 and $0.0306 |
| A late order | Both passed | Claude Sonnet 5, 5.0×took 3.5 s and 17.5 s | Claude Sonnet 5, 2.4×cost $0.0036 and $0.0084 |
| A return inside the window | Both passed | Claude Sonnet 5, 1.7×took 2.9 s and 4.8 s | Claude Sonnet 5, 1.2×cost $0.0032 and $0.0039 |
| A frustrated customer | Only Claude Sonnet 5 | Claude Sonnet 5, 2.7×took 4.4 s and 11.6 s | Claude Sonnet 5, 1.8×cost $0.0041 and $0.0075 |
| A refund request outside the window | Both passed | Claude Sonnet 5, 1.1×took 3.2 s and 3.6 s | Closecost $0.0031 and $0.0034 |
| A message with a planted instruction | Both passed | Claude Sonnet 5, 2.6×took 4.6 s and 11.7 s | Claude Sonnet 5, 1.8×cost $0.0041 and $0.0075 |
| A delivery message into Spanish | Both passed | Claude Sonnet 5, 3.8×took 2.7 s and 10.2 s | Claude Sonnet 5, 2.3×cost $0.0029 and $0.0068 |
| A product description into French | Both passed | Claude Sonnet 5, 6.3×took 2.5 s and 15.7 s | Claude Sonnet 5, 3.3×cost $0.0029 and $0.0095 |
| A meeting note into German | Both passed | Claude Sonnet 5, 8.1×took 2.8 s and 22.4 s | Claude Sonnet 5, 4.5×cost $0.0027 and $0.0121 |
| Idioms into natural Japanese | Both passed | Claude Sonnet 5, 2.6×took 4.1 s and 10.7 s | Claude Sonnet 5, 2.2×cost $0.0028 and $0.0062 |
| A lease clause into Brazilian Portuguese | Both passed | Claude Sonnet 5, 2.6×took 3.8 s and 9.8 s | Claude Sonnet 5, 1.8×cost $0.0036 and $0.0064 |
| Customers in one country | Both passed | Grok 4.7, 1.2×took 1.8 s and 1.5 s | Closecost $0.0020 and $0.0022 |
| Count orders by status | Both passed | Grok 4.7, 1.5×took 2.0 s and 1.3 s | Closecost $0.0020 and $0.0021 |
| Revenue by category | Both passed | Grok 4.7, 1.2×took 3.5 s and 3.0 s | Closecost $0.0031 and $0.0032 |
| Every customer, even those without orders | Both passed | Claude Sonnet 5, 4.8×took 2.2 s and 10.3 s | Claude Sonnet 5, 2.4×cost $0.0030 and $0.0072 |
| Monthly revenue with a running total | Both passed | Claude Sonnet 5, 4.8×took 3.0 s and 14.3 s | Claude Sonnet 5, 2.2×cost $0.0042 and $0.0093 |
| A fact from one section | Both passed | Closetook 1.7 s and 1.6 s | Claude Sonnet 5, 1.3×cost $0.0019 and $0.0026 |
| Core hours and start times | Both passed | Closetook 2.1 s and 1.9 s | Claude Sonnet 5, 1.3×cost $0.0022 and $0.0028 |
| Two sections in one answer | Both passed | Closetook 1.8 s and 2.0 s | Claude Sonnet 5, 1.3×cost $0.0022 and $0.0029 |
| A later amendment changes the answer | Both passed | Claude Sonnet 5, 2.1×took 2.1 s and 4.4 s | Claude Sonnet 5, 1.4×cost $0.0026 and $0.0037 |
| A question the handbook doesn't answer | Both passed | Closetook 1.8 s and 1.9 s | Claude Sonnet 5, 1.4×cost $0.0019 and $0.0026 |
| Pick the tool and work out the date | Both passed | Claude Sonnet 5, 3.0×took 1.7 s and 5.2 s | Claude Sonnet 5, 1.3×cost $0.0018 and $0.0023 |
| Convert a currency | Both passed | Closetook 2.0 s and 1.9 s | Claude Sonnet 5, 1.3×cost $0.0018 and $0.0024 |
| Book a meeting from a sentence | Both passed | Claude Sonnet 5, 2.6×took 5.7 s and 14.7 s | Claude Sonnet 5, 2.3×cost $0.0037 and $0.0085 |
| Search, but don't book | Both passed | Claude Sonnet 5, 1.8×took 1.9 s and 3.4 s | Claude Sonnet 5, 1.1×cost $0.0020 and $0.0023 |
| Two calls with a unit conversion | Both passed | Claude Sonnet 5, 1.4×took 3.8 s and 5.2 s | Claude Sonnet 5, 1.5×cost $0.0028 and $0.0043 |
Claude Sonnet 5 vs Grok 4.7 in our test runs
Claude Sonnet 5 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 .
| Job | Claude Sonnet 5 | Grok 4.7 |
|---|---|---|
| Coding | 5 of 5 | 5 of 5 |
| Writing | 4 of 5 | 3 of 5 |
| Math | 5 of 5 | 5 of 5 |
| Summarization | 3 of 5 | 5 of 5 |
| Data analysis | 4 of 5 | 5 of 5 |
| Customer support | 5 of 5 | 4 of 5 |
| Translation | 5 of 5 | 5 of 5 |
| SQL | 5 of 5 | 5 of 5 |
| RAG and answering from documents | 5 of 5 | 5 of 5 |
| Agents and tool use | 5 of 5 | 5 of 5 |
| All jobs | 46 of 50 · 1 message each · $0.0041 a reply | 47 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, summarization: both replies to a prompt only one of them passed.
An everyday prompt: “An article in three bullets”, in full.
Claude Sonnet 5
Failed: Graded 3.7 of 5 on average (lowest 3).
- Aldmoor's 6-month trial bike lanes tripled cyclist trips (900→2,300/day), cut car traffic 14%, but added ~1 min to rush-hour drives. - Business impact mixed: 27 of 60 shops saw more customers, 19 fewer. - Injuries dropped (9→2); permanent install would cost €1.1M more.
725 tokens in, 125 out · 2.6 s · $0.0027 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Claude Platform on AWS ·
Grok 4.7
Passed: Graded 4.7 of 5 on average (lowest 4).
- Aldmoor’s six-month Market Street bike-lane trial ends; the council votes in November on making them permanent. - Daily bike trips rose from about 900 to 2,300; car traffic fell 14%, with rush-hour delays of just over a minute. - Businesses were split; cyclist injuries fell from nine to two; permanence would add €1.1 million to the €410,000 install cost.
1,759 tokens in, 115 out (25 of them reasoning) · 2.6 s · $0.0025 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·
Claude Sonnet 5 and Grok 4.7 on every plan
Whether the one-time free trial reaches each model, then each paid plan's messages on it.
| Plan | Price | Claude Sonnet 5 | Grok 4.7 |
|---|---|---|---|
| Free | $0 | Not in the trial | Not in the trial |
| Plus | $10 a month | Up to 62 a month | Up to 125 a month |
| Pro | $20 a month | Up to 125 a month | Up to 250 a month |
| Max | $50 a month | Up to 400 a month | Up to 800 a month |
| Ultra | $100 a month | Up to 900 a month | Up to 1,800 a month |
| Studio | $200 a month | Up to 2,000 a month | Up 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 Claude Sonnet 5.
Context window
Claude Sonnet 5 takes up to 1M 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
Claude Sonnet 5: Sent to Anthropic directly. Grok 4.7: Served through OpenRouter by xAI alone, on an endpoint that doesn't store or train on prompts.
Fact by fact
| Fact | Claude Sonnet 5 | Grok 4.7 |
|---|---|---|
| Context window | 1M tokens | 500K tokens |
| Reads images | Yes | Yes |
| PDFs | Whole file | Whole file |
| Reasoning | Yes | Yes |
| API price (October 2026) | $2.00 in / $10.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.0150 | $0.0122 |
| A $10 top-up adds | 100 messages | 200 messages |
| Where a message goes | Sent to Anthropic directly. | Served through OpenRouter by xAI alone, on an endpoint that doesn't store or train on prompts. |
| If the provider fails | If Anthropic fails before the reply starts (an overload, a server error, a dropped connection), llmwise sends the same request to Claude Sonnet 5 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 fallback | Doesn't apply | Doesn't apply |
Claude Sonnet 5 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
Claude Sonnet 5 vs Grok 4.7 is one pair of models. The page below covers the whole families.
- Claude Sonnet 5: price, limits and messages on every plan
- Grok 4.7: price, limits and messages on every plan
- Grok vs Claude
- Claude Opus 5.5 vs Claude Sonnet 5
- Claude Sonnet 5.5 vs Claude Sonnet 5
- Claude Fable 5.1 vs Claude Sonnet 5
- Claude Fable 5.1 vs Grok 4.7
- GPT-6 Astra vs Grok 4.7
- Claude Haiku 4.5 vs Grok 4.7
- Every model-vs-model page
Claude Sonnet 5 is a Claude model; Grok 4.7 is a Grok model.
Questions
Is Claude Sonnet 5 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 Claude Sonnet 5. 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 Claude Sonnet 5 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, Claude Sonnet 5 or Grok 4.7?
Claude Sonnet 5: 1M 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 Claude Sonnet 5 and Grok 4.7 in the same chat?
Yes. Pick Claude Sonnet 5 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, Claude Sonnet 5 or Grok 4.7?
On the same 50 prompts, run on October 2, 2026, Claude Sonnet 5 passed 46 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.