head-to-head

xAI: Grok 4.3 vs Anthropic Claude Sonnet Latest

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

xAI: Grok 4.3 Anthropic Claude Sonnet Latest
Vendorx-ai~anthropic
Quality Score100100
Benchmark Score57.7-
Input Price$1.25/M$3.00/M
Output Price$2.50/M$15.00/M
Context Window1,000,0001,000,000
Max Output-128,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index62.0-
ai_index_agentic39.8-
ai_index_coding69.7-

Who wins by task?

TaskxAI: Grok 4.3Anthropic Claude Sonnet Latest
SQL Generation 158 132
Code Review 155 132
Code Completion 120 116
Code Refactoring 155 136
Bug Fixing 164 136
Unit Test Generation 144 124
Code Documentation 139 128
Regex Writing 130 116
CI/CD Pipelines 136 120
Frontend Component Design 138 122
Data Analysis 153 124
CSV / Spreadsheet Cleanup 147 132
ETL Scripting 145 128
JSON Extraction 134 120
Bulk Data Labeling 124 116
OCR / Document Parsing 141 131
Table Extraction from PDFs 141 131
Long-Document Summarization 152 136
Short-Form Summarization 120 112
Blog Post Writing 134 120

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

Related comparisons

MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.3 MoonshotAI: Kimi K2.7 Code vs Anthropic Claude Sonnet Latest Qwen: Qwen3.7 Plus vs xAI: Grok 4.3 Qwen: Qwen3.7 Plus vs Anthropic Claude Sonnet Latest MiniMax: MiniMax M3 vs xAI: Grok 4.3 MiniMax: MiniMax M3 vs Anthropic Claude Sonnet Latest StepFun: Step 3.7 Flash vs xAI: Grok 4.3 StepFun: Step 3.7 Flash vs Anthropic Claude Sonnet Latest