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 86 other text models in the LLM7 catalog, judged by TypeSafe Jev from public information (2026-10-20). 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

67%

Moderate

grok-4.7 · leads in 10

59%

Moderate

Knowledge & reasoning

  • General knowledge

    anthropic/claude-sonnet-5Leads77%
    grok-4.766%
  • Logical reasoning

    anthropic/claude-sonnet-541%
    grok-4.7Leads69%
  • Mathematics

    anthropic/claude-sonnet-556%
    grok-4.7Leads77%
  • Scientific and technical depth

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

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

Coding & tools

  • Code generation

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

    anthropic/claude-sonnet-560%
    grok-4.7Leads69%
  • Agentic coding

    anthropic/claude-sonnet-552%
    grok-4.7Leads71%
  • Tool and function calling

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

    anthropic/claude-sonnet-564%
    grok-4.7Leads65%

Writing & language

  • Creative writing

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

    anthropic/claude-sonnet-5Leads85%
    grok-4.757%
  • Conversational quality

    anthropic/claude-sonnet-5Leads81%
    grok-4.758%
  • Multilingual ability

    anthropic/claude-sonnet-5Leads61%
    grok-4.737%
  • Translation

    anthropic/claude-sonnet-5Leads74%
    grok-4.753%
  • Summarization

    anthropic/claude-sonnet-5Leads65%
    grok-4.742%

Data & professional work

  • Data analysis

    anthropic/claude-sonnet-5Leads64%
    grok-4.761%
  • Professional domains

    anthropic/claude-sonnet-5Leads78%
    grok-4.758%
  • Information extraction

    anthropic/claude-sonnet-5Leads74%
    grok-4.763%
  • Classification and labeling

    anthropic/claude-sonnet-568%
    grok-4.7Leads69%
  • Long-context handling

    anthropic/claude-sonnet-5Leads44%
    grok-4.720%

Reliability & control

  • Instruction following

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

    anthropic/claude-sonnet-5Leads91%
    grok-4.762%
  • Factual accuracy

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

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

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

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

Speed, cost & vision

  • Response speed

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

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

    anthropic/claude-sonnet-558%
    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.81%

grok-4.7

33.33%

Average response time

anthropic/claude-sonnet-5

9,621.62 ms

grok-4.7

101,699.33 ms

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.

Keep exploring