Claude Sonnet 5 vs Grok 4.3

Both are Mid-tier models, from Anthropic and xAI respectively. Grok 4.3 is the cheaper choice overall at a 4:1 input:output ratio.

Which is cheaper

Side by side

SpecClaude Sonnet 5Grok 4.3
ProviderAnthropicxAI
TierMidMid
Context window1M1M
Max output128K—
Input $/1M$2.00$1.25
Output $/1M$10.00$2.50
Cache read $/1M$0.20$0.20
Cache write $/1M$2.50—
Modalitiestext, imagetext, image

Claude Sonnet 5. 5-minute cache write shown; 1-hour cache write is $4/MTok. The page now states explicitly the previously-scheduled Sep 1 2026 increase to $3/$15 will NOT occur - $2/$10 is permanent.

Grok 4.3. Short-context rate, for prompts under 200K tokens. At 200K and above: $2.50 input / $5 output, cache read $0.40 per 1M. Eligible for a 20% Batch API discount.

Sources

Claude Sonnet 5 — verified August 29, 2026

Grok 4.3 — verified August 29, 2026

Full Claude Sonnet 5 pricing page → · Full Grok 4.3 pricing page →