API prices / Compare

Claude Sonnet 5 vs Grok 4.7: price

Grok 4.7 is 1.3× cheaper than Claude Sonnet 5 for a typical chat workload (1,500 tokens in, 500 out).

ItemClaude Sonnet 5Grok 4.7
Input per 1M tokens$2.00$2.00
Output per 1M tokens$10.00$6.00
Cached input per 1M$0.20–
1,000 chat messages1,500 tokens in, 500 out each$8.00$6.00
Summarize a 50-page PDF30,000 tokens in, 1,000 out$0.07$0.066
One coding-agent task60,000 tokens in, 4,000 out, no caching$0.16$0.144

List prices checked September 28, 2026. Price is half the story: see how people rate each one today.

Claude Sonnet 5 vs Grok 4.7 in numbers

Output, usually the bigger part of the bill, costs $10.00 on Claude Sonnet 5 and $6.00 on Grok 4.7, so Grok 4.7 is 1.7× cheaper there. Input costs the same, $2.00 per million tokens. For a coding-agent task (60,000 tokens in, 4,000 out) that is $0.16 on Claude Sonnet 5 and $0.144 on Grok 4.7. Claude Sonnet 5 accepts 1M tokens of context and Grok 4.7 500K tokens. Claude Sonnet 5 came out on June 30, 2026 and Grok 4.7 on September 21, 2026.

Claude Sonnet 5 is made by Anthropic; Grok 4.7 by xAI. Estimate your own bill for both in the cost calculator.

Which one feels dumber today?

  1. –no votes yet
  2. –no votes yet

Frequently asked questions

Is Claude Sonnet 5 or Grok 4.7 cheaper?

Grok 4.7 is 1.3× cheaper than Claude Sonnet 5 for a typical chat workload (1,500 tokens in, 500 out). Output, usually the bigger part of the bill, costs $10.00 on Claude Sonnet 5 and $6.00 on Grok 4.7, so Grok 4.7 is 1.7× cheaper there.

Which is better, Claude Sonnet 5 or Grok 4.7?

It depends on the task, and price is only part of it. Check how people rate each one today on the Claude Sonnet 5 and Grok 4.7 pages, and read what users report in Discussions.