head-to-head

Anthropic: Claude Sonnet Latest vs OpenAI: GPT-5.4 Mini

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

Anthropic: Claude Sonnet Latest OpenAI: GPT-5.4 Mini
Vendor~anthropicopenai
Quality Score100100
Benchmark Score-37.7
Input Price$2.00/M$0.75/M
Output Price$10.00/M$4.50/M
Context Window1,000,000400,000
Max Output128,000128,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index-39.7

Who wins by task?

TaskAnthropic: Claude Sonnet LatestOpenAI: GPT-5.4 Mini
SQL Generation 132 138
Code Review 132 139
Code Completion 117 131
Code Refactoring 136 142
Bug Fixing 136 143
Unit Test Generation 124 128
Code Documentation 129 134
Regex Writing 117 122
CI/CD Pipelines 120 124
Frontend Component Design 122 126
Data Analysis 124 130
CSV / Spreadsheet Cleanup 132 135
ETL Scripting 128 133
JSON Extraction 121 130
Bulk Data Labeling 118 128
OCR / Document Parsing 131 133
Table Extraction from PDFs 131 133
Long-Document Summarization 136 143
Short-Form Summarization 113 124
Blog Post Writing 120 126

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

Related comparisons

Anthropic: Claude Haiku Latest vs Anthropic: Claude Sonnet Latest Anthropic: Claude Haiku Latest vs OpenAI: GPT-5.4 Mini Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet Latest Anthropic: Claude Sonnet 5 vs OpenAI: GPT-5.4 Mini Anthropic: Claude Sonnet Latest vs Anthropic: Claude Sonnet 4.6 Anthropic: Claude Sonnet Latest vs ByteDance Seed: Seed-2.0-Lite Anthropic: Claude Sonnet Latest vs ByteDance Seed: Seed-2.0-Mini Anthropic: Claude Sonnet Latest vs Google: Gemini 3.1 Flash Lite Preview

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.