head-to-head
OpenAI: GPT-5.6 Luna vs Anthropic: Claude Sonnet 5
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-08-25.
| OpenAI: GPT-5.6 Luna | Anthropic: Claude Sonnet 5 | |
|---|---|---|
| Vendor | openai | anthropic |
| Quality Score | 100 | 100 |
| Benchmark Score | 88.2 | 91.6 |
| Input Price | $0.20/M | $2.00/M |
| Output Price | $1.20/M | $10.00/M |
| Context Window | 1,050,000 | 1,000,000 |
| Max Output | 128,000 | 128,000 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 86.3 | 91.2 |
| ai_index_agentic | 77.4 | 82.0 |
| ai_index_coding | 100.0 | 100.0 |
Who wins by task?
| Task | OpenAI: GPT-5.6 Luna | Anthropic: Claude Sonnet 5 |
|---|---|---|
| SQL Generation | 172 | 172 |
| Code Review | 167 | 168 |
| Code Completion | 133 | 119 |
| Code Refactoring | 164 | 165 |
| Bug Fixing | 180 | 182 |
| Unit Test Generation | 154 | 155 |
| Code Documentation | 143 | 142 |
| Regex Writing | 137 | 135 |
| CI/CD Pipelines | 144 | 145 |
| Frontend Component Design | 146 | 147 |
| Data Analysis | 171 | 172 |
| CSV / Spreadsheet Cleanup | 154 | 153 |
| ETL Scripting | 154 | 155 |
| JSON Extraction | 149 | 139 |
| Bulk Data Labeling | 135 | 124 |
| OCR / Document Parsing | 146 | 147 |
| Table Extraction from PDFs | 146 | 147 |
| Short-Form Summarization | 132 | 122 |
| Blog Post Writing | 140 | 140 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Meta: Muse Spark 1.2 Contributor vs OpenAI: GPT-5.6 Luna
Meta: Muse Spark 1.2 Contributor vs Anthropic: Claude Sonnet 5
DeepSeek: DeepSeek V4 Flash Vision Exp vs OpenAI: GPT-5.6 Luna
DeepSeek: DeepSeek V4 Flash Vision Exp vs Anthropic: Claude Sonnet 5
Ox Alpha vs OpenAI: GPT-5.6 Luna
Ox Alpha vs Anthropic: Claude Sonnet 5
Qwen: Qwen3.8 27B vs OpenAI: GPT-5.6 Luna
Qwen: Qwen3.8 27B vs Anthropic: Claude Sonnet 5