Compare AI models

Specifications
Context window
—500k
API pricing
Input price
$2.00$2.00
Output price
$10.00$6.00
Cached input price
$0.20$0.50
Cheapest input
$2.00Amazon Bedrock$2.00xAI
Cheapest output
$10.00Amazon Bedrock$6.00xAI
Benchmarks
CursorBench 4.0
34.1%46.3%
Next.js Evals
81%94%
Supabase Evals · with skills
79.7%89.9%
Supabase Evals · no skills
75.4%78.3%
Terminal-Bench 4.0
12.42%38%
GDPval-AA v2.1
14491695
AA-Briefcase v1.1
13591657
threejseval
12051621
Overview
CompanyAnthropicSpaceXAI
Release dateJun 30 2026Sep 21 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Grok 4.7 leads Claude Sonnet 5 on 8 of the 8 benchmarks they both report. Both charge $2.00 per million input tokens. Grok 4.7 is cheaper on output: $6.00 vs $10.00 per million tokens. Figures are base-tier rates. Claude Sonnet 5 shipped 83 days before Grok 4.7, 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 CursorBench 4.0, Grok 4.7 leads at 46.3% vs Claude Sonnet 5 at 34.1%. On Next.js Evals, Grok 4.7 leads at 94% vs Claude Sonnet 5 at 81%. On Supabase Evals · with skills, Grok 4.7 leads at 89.9% vs Claude Sonnet 5 at 79.7%. On Supabase Evals · no skills, Grok 4.7 leads at 78.3% vs Claude Sonnet 5 at 75.4%. On Terminal-Bench 4.0, Grok 4.7 leads at 38% vs Claude Sonnet 5 at 12.42%. On GDPval-AA v2.1, Grok 4.7 leads at 1695 vs Claude Sonnet 5 at 1449. On AA-Briefcase v1.1, Grok 4.7 leads at 1657 vs Claude Sonnet 5 at 1359. On threejseval, Grok 4.7 leads at 1621 vs Claude Sonnet 5 at 1205.