head-to-head

xAI: Grok Build 0.1 vs Anthropic Claude Sonnet Latest

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

xAI: Grok Build 0.1 Anthropic Claude Sonnet Latest
Vendorx-ai~anthropic
Quality Score100100
Input Price$1.00/M$3.00/M
Output Price$2.00/M$15.00/M
Context Window256,0001,000,000
Max Output-128,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--

Who wins by task?

TaskxAI: Grok Build 0.1Anthropic Claude Sonnet Latest
SQL Generation 130 132
Code Review 126 132
Code Completion 116 116
Code Refactoring 127 136
Bug Fixing 130 136
Unit Test Generation 121 124
Code Documentation 125 128
Regex Writing 119 116
CI/CD Pipelines 117 120
CSV / Spreadsheet Cleanup 127 132
ETL Scripting 122 128
JSON Extraction 123 120
Bulk Data Labeling 121 116
OCR / Document Parsing 128 131
Table Extraction from PDFs 128 131
Long-Document Summarization 129 136
Short-Form Summarization 115 112
Blog Post Writing 118 120

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

Related comparisons

StepFun: Step 3.7 Flash vs xAI: Grok Build 0.1 StepFun: Step 3.7 Flash vs Anthropic Claude Sonnet Latest xAI: Grok Build 0.1 vs Google: Gemini 3.5 Flash xAI: Grok Build 0.1 vs Google: Gemini 3.1 Flash Lite xAI: Grok Build 0.1 vs xAI: Grok 4.3 xAI: Grok Build 0.1 vs Mistral: Mistral Medium 3.5 xAI: Grok Build 0.1 vs NVIDIA: Nemotron 3 Nano Omni (free) xAI: Grok Build 0.1 vs Anthropic Claude Haiku Latest