Model comparison

vs

Grok 4.7 vs Claude Sonnet 5.5

xAI against Anthropic, compared on listed price, real workload cost, context and capabilities.

The short answer

  • On Terminal-Bench 4.0, as each maker reports it, Grok 4.7 scores 37.6% and Claude Sonnet 5.5 70.6%.
  • Grok 4.7 lists the lower output price; input prices match.
  • Claude Sonnet 5.5 offers the larger context window.
  • Claude Sonnet 5.5 reads cached input for less ($0.1/M against Grok 4.7's $0.5/M), which decides the bill for agents that resend long context.

Side-by-side specs

SpecGrok 4.7Claude Sonnet 5.5
ProviderxAIAnthropic
Input price$2/M$2/M
Output price$6/M$10/M
Cached input$0.5/M$0.1/M
Blended price (3:1)$3/M$4/M
Context window500k tokens1M tokens
Max output—128k tokens
InputText, ImagesText, Images
Structured outputYesYes
WeightsClosedClosed
ReleasedSeptember 21, 2026September 28, 2026
Terminal-Bench 4.0 (maker-reported)37.6%70.6%
CursorBench 4.0 (maker-reported)46.3%55.5%

Same work, both models

WorkloadGrok 4.7Claude Sonnet 5.5
One chat reply3,000 tokens in, 500 outClaude Sonnet 5.5 costs 1.2× as much as Grok 4.7$0.009$0.01
Summarise a 100-page report50,000 tokens in, 1,500 out, one requestClaude Sonnet 5.5 costs 1.1× as much as Grok 4.7$0.11$0.12
1,000 classification calls500 tokens in, 20 out, per call$1.12$1.20
Coding-agent session2M tokens in across ~60 turns, 60,000 out, no cache$4.36$4.60
Same session, cached85% of input read from the prompt cache, the rest written to itGrok 4.7 costs 1.2× as much as Claude Sonnet 5.5$1.81$1.52

At listed rates. Token counts are typical sizes, not measurements.

Grok 4.7 pricing notes

  • Once a prompt reaches 200K tokens, every rate doubles for the whole request ($4 input, $12 output, $1 cached); the listed price is the sub-200K rate.

Claude Sonnet 5.5 pricing notes

  • The full 1M-token window bills at the standard rate, with no long-context surcharge.
  • Cache writes bill at $2.50 per 1M tokens (5-minute tier); cache hits at $0.10, half Sonnet 5's $0.20.

When to pick which

Grok 4.7

xAI's model for coding and knowledge work, launched September 2026 as the successor to Grok 4.6 at the same price and speed. It takes text and images, and reasoning is always on.

Pick it if

  • you want xAI's top model for coding and multi-hour terminal tasks
  • your prompts repeat: cached input bills at a quarter of the input rate
  • you need text and image input in one 500K window

Skip it if

  • Grok Build 0.1 fits your work: half the input, a third the output price
  • you need a non-reasoning mode: reasoning on Grok 4.7 cannot be disabled

Claude Sonnet 5.5

Anthropic's mid-tier Claude model, which Anthropic describes as its best combination of speed and intelligence. It succeeds Sonnet 5 at the same $2 / $10 rate, with a 1M-token context and half the cache-read price, and sits below Opus 5.5.

Pick it if

  • you want Claude at half of Opus 5.5's per-token price
  • you resend long prompts; cache hits bill at 5% of input
  • your prompts need a 1M-token window at the standard rate

Skip it if

  • Haiku 5.5 handles your high-volume classification or routing more cheaply
  • your code forces tool use or sets temperature; both return errors

FAQ

Which is better, Grok 4.7 or Claude Sonnet 5.5?

On Terminal-Bench 4.0, as each maker reports it, Grok 4.7 scores 37.6% and Claude Sonnet 5.5 70.6%. These are each maker's own numbers, not a controlled head-to-head; the spec table lists every benchmark both publish.

Which is cheaper, Grok 4.7 or Claude Sonnet 5.5?

Grok 4.7 lists the lower output price; input prices match. On a coding-agent session (2M tokens in, 60,000 out) Grok 4.7 costs $4.36 and Claude Sonnet 5.5 $4.60.

Which has the larger context window?

Claude Sonnet 5.5 offers the larger context window. Grok 4.7: 500k tokens; Claude Sonnet 5.5: 1M tokens.

Can I switch between Grok 4.7 and Claude Sonnet 5.5 mid-task?

Yes. In an Octomind session, /model octohub:grok-4.7 and /model octohub:claude-sonnet-5-5 switch models without losing the conversation, so you can draft on one and review on the other.

Try either model

Switch between models inside the same Octomind session.

Prices from the catalog of 2026-10-31