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-06-18.

Anthropic Claude Haiku Latest OpenAI: GPT-5.4 Nano
Vendor~anthropicopenai
Quality Score100100
Benchmark Score-70.5
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--
Benchmark Scores
ai_index-63.1
ai_index_agentic-78.5
ai_index_coding-72.4

Who wins by task?

TaskAnthropic Claude Haiku LatestOpenAI: GPT-5.4 Nano
SQL Generation 129 164
Code Review 124 159
Code Completion 114 133
Code Refactoring 124 158
Bug Fixing 128 173
Unit Test Generation 120 148
Code Documentation 122 141
Regex Writing 118 133
CI/CD Pipelines 116 139
Frontend Component Design 122 141
Data Analysis 124 163
CSV / Spreadsheet Cleanup 125 149
ETL Scripting 120 148
JSON Extraction 122 144
Bulk Data Labeling 120 134
OCR / Document Parsing 127 143
Table Extraction from PDFs 127 143
Long-Document Summarization 125 155
Short-Form Summarization 114 130
Blog Post Writing 117 137

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

Related comparisons

MoonshotAI: Kimi K2.7 Code vs Anthropic Claude Haiku Latest MoonshotAI: Kimi K2.7 Code vs OpenAI: GPT-5.4 Nano Qwen: Qwen3.7 Plus vs Anthropic Claude Haiku Latest Qwen: Qwen3.7 Plus vs OpenAI: GPT-5.4 Nano MiniMax: MiniMax M3 vs Anthropic Claude Haiku Latest MiniMax: MiniMax M3 vs OpenAI: GPT-5.4 Nano StepFun: Step 3.7 Flash vs Anthropic Claude Haiku Latest StepFun: Step 3.7 Flash vs OpenAI: GPT-5.4 Nano