Claude Sonnet 4.5vsGrok 4

  • Same input price
  • 1.3× larger window: Grok 4
PlaceModelcontextcapabilitiesTotal
01Claude Sonnet 4.51.0 / 2
02Grok 41.0 / 2

Places come from catalog data: input and output price, context window, time to first token and number of capabilities. Each metric is scaled from the worst model to the best, and the place is by total. We don't measure answer quality, so it isn't part of the score.

Every parameter

Prices in both catalogs, context, latency on real traffic and capabilities. Bars show magnitude; the best value in each row is highlighted.

best valueClaude Sonnet 4.5anthropic/claude-sonnet-4-5Grok 4xai/grok-4
Price
Verified, Input$2.88$2.88
Verified, Output$14.40$14.40
Verified, Cached input$0.29 (best value)$0.72
Community, Input$1.73—
Community, Output$8.64—
Context and speed
Context200K256K (best value)
Capabilities
Visionyesyes
Toolsyesyes
JSONyesyes
Reasoningyesyes
Prompt cachingyesno
Other
VendorAnthropicxAI
ReleasedSep 2025Jul 2025
Endpoint/v1/chat/completions/v1/chat/completions

Your monthly bill

Enter your monthly token volume and get the bill for every model in every catalog.

  • Claude Sonnet 4.5$43.20$25.92
  • Grok 4$43.20

VerifiedCommunityper month

Your first request in a minute

Create a key, change the base_url — and your code already works with any model. You only pay for answers.