LLM7.io
LLM7.io
Toggle theme

Chat comparison

anthropic/claude-sonnet-5vsgrok-4.7

xAI logo

Compare the things that matter before you build: current price, capabilities, and latest aggregated LLM7 statistics.

Current pricing

See the cost difference clearly

anthropic/claude-sonnet-5

Checking current pricing…

What's different

Only capabilities that differ between these models are listed. Green highlights the broader supported option or larger context window.

Input formats

anthropic/claude-sonnet-5

text, image, json

grok-4.7

text

Vision

anthropic/claude-sonnet-5Better fit

Supported

grok-4.7

Not supported

Reasoning

anthropic/claude-sonnet-5

Not supported

grok-4.7Better fit

Supported

Capability scores

AI-estimated ratings on 30 criteria from head-to-head comparisons against 91 other text models in the LLM7 catalog, judged by TypeSafe Jev from public information (2026-11-14). Each score is the win rate against the field, relative to the strongest model for that criterion (100%). Not a benchmark.

Below 50%50–79%80–94%95%+

anthropic/claude-sonnet-5 · leads in 19

66%

Moderate

grok-4.7 · leads in 8

58%

Moderate

Knowledge & reasoning

  • General knowledge

    anthropic/claude-sonnet-5Leads76%
    grok-4.765%
  • Logical reasoning

    anthropic/claude-sonnet-540%
    grok-4.7Leads68%
  • Mathematics

    anthropic/claude-sonnet-555%
    grok-4.7Leads75%
  • Scientific and technical depth

    anthropic/claude-sonnet-566%
    grok-4.7Leads67%
  • Planning and task decomposition

    anthropic/claude-sonnet-539%
    grok-4.7Leads66%

Coding & tools

  • Code generation

    anthropic/claude-sonnet-5Leads65%
    grok-4.761%
  • Debugging and code review

    anthropic/claude-sonnet-559%
    grok-4.7Leads67%
  • Agentic coding

    anthropic/claude-sonnet-551%
    grok-4.7Leads69%
  • Tool and function calling

    anthropic/claude-sonnet-5Leads71%
    grok-4.768%
  • SQL and query writing

    anthropic/claude-sonnet-563%
    grok-4.763%

Writing & language

  • Creative writing

    anthropic/claude-sonnet-5Leads79%
    grok-4.760%
  • Professional writing

    anthropic/claude-sonnet-5Leads84%
    grok-4.755%
  • Conversational quality

    anthropic/claude-sonnet-5Leads80%
    grok-4.757%
  • Multilingual ability

    anthropic/claude-sonnet-5Leads57%
    grok-4.734%
  • Translation

    anthropic/claude-sonnet-5Leads73%
    grok-4.752%
  • Summarization

    anthropic/claude-sonnet-5Leads63%
    grok-4.741%

Data & professional work

  • Data analysis

    anthropic/claude-sonnet-5Leads62%
    grok-4.758%
  • Professional domains

    anthropic/claude-sonnet-5Leads79%
    grok-4.757%
  • Information extraction

    anthropic/claude-sonnet-5Leads72%
    grok-4.760%
  • Classification and labeling

    anthropic/claude-sonnet-565%
    grok-4.765%
  • Long-context handling

    anthropic/claude-sonnet-5Leads43%
    grok-4.719%

Reliability & control

  • Instruction following

    anthropic/claude-sonnet-5Leads80%
    grok-4.759%
  • Structured output

    anthropic/claude-sonnet-5Leads90%
    grok-4.761%
  • Factual accuracy

    anthropic/claude-sonnet-5Leads89%
    grok-4.751%
  • Safety and alignment

    anthropic/claude-sonnet-5Leads90%
    grok-4.742%
  • Steerability

    anthropic/claude-sonnet-5Leads83%
    grok-4.758%
  • Output consistency

    anthropic/claude-sonnet-5Leads93%
    grok-4.757%

Speed, cost & vision

  • Response speed

    anthropic/claude-sonnet-527%
    grok-4.7Leads54%
  • Cost efficiency

    anthropic/claude-sonnet-524%
    grok-4.7Leads75%
  • Image understanding

    anthropic/claude-sonnet-554%
    grok-4.7No image input

Latest LLM7 statistics

Recent aggregated percentages and response-time metrics from LLM7, not a global model benchmark or traffic disclosure.

Recent stability

anthropic/claude-sonnet-5

99.91%

grok-4.7

99.6%

Average response time

anthropic/claude-sonnet-5

1,990.63 ms

grok-4.7

3,688.08 ms

P95 API latency

anthropic/claude-sonnet-5

10,000 ms

grok-4.7

30,000 ms

Side-by-side trends

Shared charts make the observed differences easier to read. Metrics without enough history stay hidden.

Request success rate

Both models on the same scale

anthropic/claude-sonnet-5: 100%grok-4.7: 100%
17 Oct14 Nov

Average API latency

Both models on the same scale

anthropic/claude-sonnet-5: 3,491 msgrok-4.7: 5,534 ms
17 Oct14 Nov

P95 API latency

Both models on the same scale

anthropic/claude-sonnet-5: 10,000 msgrok-4.7: 30,000 ms
19 Oct14 Nov

Estimate your workload

Published rates are loaded from the pricing API; per-request quotes are billed from actual provider usage.

Checking current pricing…
Checking current pricing…

Quick take

  • anthropic/claude-sonnet-5 supports image input while the other model does not.
  • The recent stability rates are too close to distinguish meaningfully.
  • anthropic/claude-sonnet-5 recorded a lower observed p95 API latency on LLM7 during this period.

Keep exploring