OpenAI: GPT-5.6 Luna Pro vs Anthropic: Claude Sonnet 5
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-10-09.
| OpenAI: GPT-5.6 Luna Pro | Anthropic: Claude Sonnet 5 | |
|---|---|---|
| Vendor | openai | anthropic |
| Quality Score | 100 | 100 |
| Benchmark Score | - | 63.9 |
| 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 | - | 63.0 |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, GPT-5.6 Luna Pro costs $0.50 and Claude Sonnet 5 costs $4.50, so GPT-5.6 Luna Pro is about 9.0 times cheaper for the same work.
Both take in a similar amount of text: 1,050,000 and 1,000,000 tokens, about 1,575 and 1,500 pages.
Across the 20 tasks where they differ, GPT-5.6 Luna Pro scores higher on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others), Claude Sonnet 5 on 16 (SQL Generation, Code Review, Code Refactoring and others).
GPT-5.6 Luna Pro was released in July 2026 and Claude Sonnet 5 in June 2026.
Pick GPT-5.6 Luna Pro if you need lower cost; pick Claude Sonnet 5 if you need the stronger all-round task scores.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | OpenAI: GPT-5.6 Luna Pro | Anthropic: Claude Sonnet 5 |
|---|---|---|
| SQL Generation | 133 | 140 |
| Code Review | 132 | 144 |
| Code Completion | 131 | 118 |
| Code Refactoring | 136 | 146 |
| Bug Fixing | 136 | 148 |
| Unit Test Generation | 124 | 131 |
| Code Documentation | 131 | 135 |
| Regex Writing | 119 | 123 |
| CI/CD Pipelines | 120 | 127 |
| Frontend Component Design | 122 | 129 |
| Data Analysis | 124 | 133 |
| CSV / Spreadsheet Cleanup | 133 | 135 |
| ETL Scripting | 128 | 136 |
| JSON Extraction | 131 | 121 |
| Bulk Data Labeling | 129 | 118 |
| OCR / Document Parsing | 131 | 134 |
| Table Extraction from PDFs | 131 | 134 |
| Long-Document Summarization | 137 | 146 |
| Short-Form Summarization | 123 | 116 |
| Blog Post Writing | 121 | 128 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →