Compare AI models

API pricing
Input price
$2.00$1.25
Output price
$10.00$2.50
Cached input price
$0.20$0.20
Cheapest input
$2.00Amazon Bedrock—
Cheapest output
$10.00Amazon Bedrock—
Benchmarks
BullshitBench v2
80%56%
SWE-Bench Verified
85.2%76.7%
Overview
CompanyAnthropicSpaceXAI
Release dateJun 30 2026Feb 17 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 5 leads Grok 4.20 Beta on 2 of the 2 benchmarks they both report (BullshitBench v2, SWE-Bench Verified). Grok 4.20 Beta is cheaper on both input and output: $1.25 vs $2.00 per million input tokens, and $2.50 vs $10.00 per million output tokens. Figures are base-tier rates. Grok 4.20 Beta shipped 133 days before Claude Sonnet 5, 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 BullshitBench v2, Claude Sonnet 5 leads at 80% vs Grok 4.20 Beta at 56%. On SWE-Bench Verified, Claude Sonnet 5 leads at 85.2% vs Grok 4.20 Beta at 76.7%.