head-to-head

Anthropic Claude Haiku Latest vs OpenAI: GPT-5.4 Nano

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

Anthropic Claude Haiku Latest OpenAI: GPT-5.4 Nano
Vendor~anthropicopenai
Quality Score100100
Input Price$1.00/M$0.20/M
Output Price$5.00/M$1.25/M
Context Window200,000400,000
Max Output64,000128,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--

Who wins by task?

TaskAnthropic Claude Haiku LatestOpenAI: GPT-5.4 Nano
SQL Generation 129 133
Code Review 124 132
Code Completion 114 131
Code Refactoring 124 136
Bug Fixing 128 136
Unit Test Generation 120 124
Code Documentation 122 131
Regex Writing 118 119
CI/CD Pipelines 116 120
CSV / Spreadsheet Cleanup 125 133
ETL Scripting 120 128
JSON Extraction 122 131
Bulk Data Labeling 120 129
OCR / Document Parsing 127 131
Table Extraction from PDFs 127 131
Long-Document Summarization 125 137
Short-Form Summarization 114 123
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 OpenAI: GPT-5.4 Nano 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