head-to-head

xAI: Grok Latest vs Anthropic: Claude Sonnet 5 (batch)

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.

xAI: Grok Latest Anthropic: Claude Sonnet 5 (batch)
Vendor~x-aianthropic
Quality Score100100
Benchmark Score5.863.9
Input Price$1.60/M$1.00/M
Output Price$4.80/M$5.00/M
Context Window500,0001,000,000
Max Output450,000128,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index11.463.0

Who wins by task?

TaskxAI: Grok LatestAnthropic: Claude Sonnet 5 (batch)
SQL Generation 134 141
Code Review 134 144
Code Completion 118 120
Code Refactoring 137 146
Bug Fixing 138 148
Unit Test Generation 125 131
Code Documentation 131 136
Regex Writing 119 125
CI/CD Pipelines 121 127
Frontend Component Design 123 129
Data Analysis 125 133
CSV / Spreadsheet Cleanup 133 135
ETL Scripting 129 136
JSON Extraction 122 122
Bulk Data Labeling 120 120
OCR / Document Parsing 131 134
Table Extraction from PDFs 131 134
Long-Document Summarization 139 147
Short-Form Summarization 115 118
Blog Post Writing 122 129

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Opus 5 (batch) vs Anthropic: Claude Sonnet 5 (batch) Anthropic: Claude Opus 5 (batch) vs xAI: Grok Latest Anthropic: Claude Sonnet 5 (batch) vs MiniMax: MiniMax M3 Anthropic: Claude Sonnet 5 (batch) vs Qwen: Qwen3.7 Plus Anthropic: Claude Sonnet 5 (batch) vs SpaceXAI: Grok 4.3 Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet 5 (batch) ByteDance Seed: Seed-2.0-Code vs Anthropic: Claude Sonnet 5 (batch) ByteDance Seed: Seed-2.0-Code vs xAI: Grok Latest

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.