# Claude Sonnet 5 vs Grok 4.7

As of Oct 14, 2026, Claude Sonnet 5 leads Grok 4.7 in 4 of 8 shared categories: General LLM, Reasoning, Long context, and Factuality.

Claude Sonnet 5: $4.000000000000001 per 1M blended tokens.

Grok 4.7: $3 per 1M blended tokens.

Claude Sonnet 5: closed weights.

Grok 4.7: closed weights.

- Which to pick, General LLM: As of Oct 14, 2026, Claude Sonnet 5 leads Grok 4.7 in General LLM at #39 against #63.
- Which to pick, Reasoning: As of Oct 14, 2026, Claude Sonnet 5 leads Grok 4.7 in Reasoning at #34 against #62.
- Which to pick, Science: As of Oct 14, 2026, Grok 4.7 leads Claude Sonnet 5 in Science at #19 against #32.
- Which to pick, Coding: As of Oct 14, 2026, Grok 4.7 leads Claude Sonnet 5 in Coding at #8 against #19.
- Which to pick, Coding › Agentic: As of Oct 14, 2026, Grok 4.7 leads Claude Sonnet 5 in Coding › Agentic at #8 against #19.
- Which to pick, Coding › Web dev: As of Oct 14, 2026, Grok 4.7 leads Claude Sonnet 5 in Coding › Web dev at #13 against #38.
- Which to pick, Long context: As of Oct 14, 2026, Claude Sonnet 5 leads Grok 4.7 in Long context at #31 against #63.
- Which to pick, Factuality: As of Oct 14, 2026, Claude Sonnet 5 leads Grok 4.7 in Factuality at #47 against #80.

As of Oct 14, 2026, Claude Sonnet 5 is ranked #19 in Coding (since Oct 14, 2026; sources Terminal-Bench 4.0; methodology v1.0).

As of Oct 14, 2026, Grok 4.7 is ranked #8 in Coding (since Oct 14, 2026; sources Terminal-Bench 4.0; methodology v1.0).
