Compare AI models

API pricing
Input price
$2.00$1.00
Output price
$10.00$2.00
Cached input price
$0.20$0.20
Cheapest input
$2.00Amazon Bedrock—
Cheapest output
$10.00Amazon Bedrock—
Benchmarks
SWE-Bench Verified
85.2%70.8%
Overview
CompanyAnthropicSpaceXAI
Release dateJun 30 2026Aug 28 2025
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 5 leads Grok Code Fast 1 on 1 of the 1 benchmark they both report (SWE-Bench Verified). Grok Code Fast 1 is cheaper on both input and output: $1.00 vs $2.00 per million input tokens, and $2.00 vs $10.00 per million output tokens. Figures are base-tier rates. Grok Code Fast 1 shipped 306 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 SWE-Bench Verified, Claude Sonnet 5 leads at 85.2% vs Grok Code Fast 1 at 70.8%.