head-to-head

Anthropic Claude Haiku Latest vs xAI: Grok 4.20

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

Anthropic Claude Haiku Latest xAI: Grok 4.20
Vendor~anthropicx-ai
Quality Score100100
Input Price$1.00/M$2.00/M
Output Price$5.00/M$6.00/M
Context Window200,0002,000,000
Max Output64,000-
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--

Who wins by task?

TaskAnthropic Claude Haiku LatestxAI: Grok 4.20
SQL Generation 129 133
Code Review 124 132
Code Completion 114 118
Code Refactoring 124 136
Bug Fixing 128 136
Unit Test Generation 120 124
Code Documentation 122 130
Regex Writing 118 118
CI/CD Pipelines 116 120
CSV / Spreadsheet Cleanup 125 133
ETL Scripting 120 128
JSON Extraction 122 122
Bulk Data Labeling 120 119
OCR / Document Parsing 127 131
Table Extraction from PDFs 127 131
Long-Document Summarization 125 137
Short-Form Summarization 114 114
Blog Post Writing 117 121

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

Related comparisons

NVIDIA: Nemotron 3 Nano Omni (free) vs Anthropic Claude Haiku Latest NVIDIA: Nemotron 3 Nano Omni (free) vs xAI: Grok 4.20 Anthropic Claude Haiku Latest vs OpenAI GPT Mini Latest Anthropic Claude Haiku Latest vs Google Gemini Pro Latest Anthropic Claude Haiku Latest vs MoonshotAI Kimi Latest Anthropic Claude Haiku Latest vs Google Gemini Flash Latest Anthropic Claude Haiku Latest vs Qwen: Qwen3.5 Plus 2026-04-20 Anthropic Claude Haiku Latest vs Qwen: Qwen3.6 Flash