Claude Sonnet 4vsGrok Code Fast 1

Claude Sonnet 4
Grok Code Fast 1
API pricing
Input price
$1.00
Output price
$2.00
Cached input price
$0.20
Cheapest input
$3.00Amazon Bedrock
Cheapest output
$15.00Amazon Bedrock
Benchmarks
SWE-Bench Verified
72.7%70.8%
Benchmarks
BullshitBench v2
30%
GPQA Diamond
75.4%
Overview
CompanyAnthropicSpaceXAI
Release dateMay 22 2025Aug 28 2025
AccessProprietaryProprietary

Other comparisons

Claude Sonnet 4vsGPT-5.6 SolGrok Code Fast 1vsGPT-5.6 SolClaude Sonnet 4vsGemini 3.7 FlashGrok Code Fast 1vsGemini 3.7 FlashClaude Sonnet 4vsMuse GlimmerGrok Code Fast 1vsMuse GlimmerClaude Sonnet 4vsDeepSeek-V4-Pro-0813Grok Code Fast 1vsDeepSeek-V4-Pro-0813Claude Sonnet 4vsMistral Medium 3.5Grok Code Fast 1vsMistral Medium 3.5Claude Sonnet 4vsKimi K3Grok Code Fast 1vsKimi K3

Frequently asked questions

Claude Sonnet 4 leads Grok Code Fast 1 on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only Grok Code Fast 1 has a verified first-party API price: $1.00 per million input tokens and $2.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Claude Sonnet 4 shipped 98 days before Grok Code Fast 1, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On SWE-Bench Verified, Claude Sonnet 4 leads at 72.7% vs Grok Code Fast 1 at 70.8%.

Claude Sonnet 4 was released by Anthropic on May 22 2025.

Grok Code Fast 1 was released by SpaceXAI on Aug 28 2025.

Claude Sonnet 4 leads on SWE-Bench Verified — Claude Sonnet 4 72.7% vs Grok Code Fast 1 70.8%.

Only Grok Code Fast 1 has a verified first-party API price: $1.00 per million input tokens and $2.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Rates are pay-as-you-go API prices verified on August 18, 2026.