Claude Opus 5vsGPT-5.6 Luna
Answer
Claude Opus 5 passes more of Terminal-Bench: 51.8% in Claude Code at Max effort, against 17.3% for GPT-5.6 Luna in Codex.[1][2] Claude Opus 5 costs $18.09 per task against $1.05 for GPT-5.6 Luna. Its +34.6 points cost 17× as much.
Claude Opus 5GPT-5.6 Luna
At a glance
marks the better value in a row. Terminal-Bench gaps smaller than two tasks, and Epoch AI gaps inside the margin of error, count as level. Epoch AI rows show each model at its best setting.
| Claude Opus 5 | GPT-5.6 Luna | |
|---|---|---|
| Released | Jul 24, 2026[5]Anthropic · Superseded Sep 22, 2026 | Jun 26, 2026[6]OpenAI · Superseded Sep 22, 2026 |
| Terminal-Bench | 51.8%Higher[1]Claude Code · Max | 17.3%[2]Codex · Max |
| Cost per task | $18.09[1] | $1.05Lower[2] |
| Output tokens per task | 200k[1] | 186k[2] |
| Minutes per task | 80 min[1] | 68 min[2] |
| MirrorCode | 87.8%Higher[3]Max · Epoch AI | 21.1%[3]Max · Epoch AI |
| GPQA Diamond | 93.9%[3]Max · Epoch AI | 91.6%[3]Max · Epoch AI |
| FrontierMath Tiers 1–3 | 85.6%[3]Max · Epoch AI | 82.1%[3]Max · Epoch AI |
| API price | $5/$25[4]Per 1M input/output tokens | $0.20/$1.20[4]Per 1M input/output tokens |
| Longest input | 1M tokens[4] | 922k tokens[4] |
| Frontier star | Superseded | Superseded |
Choose Claude Opus 5 if…
- You want the higher Terminal-Bench score: 51.8% against 17.3%.
- You hand it long coding projects: MirrorCode 87.8% against 21.1%.
- You work in Claude Code, Anthropic's own coding agent, where its Terminal-Bench run was made.
- You have a setup pinned to it, though Anthropic superseded it on Sep 22, 2026 with Claude Opus 5.5.
Choose GPT-5.6 Luna if…
- You want to spend less per task: $1.05 against $18.09 on Terminal-Bench.
- You pay by the token: $0.20/$1.20 per million input/output tokens against $5/$25.
- You work in Codex, OpenAI's own coding agent, where its Terminal-Bench run was made.
- You have a setup pinned to it, though OpenAI superseded it on Sep 22, 2026 with GPT-6 Luna.
Related comparisons
More with Claude Opus 5
More with GPT-5.6 Luna
In each lab's coding agent: Codex vs Claude Code
Questions.
Is Claude Opus 5 better than GPT-5.6 Luna for coding?
Claude Opus 5 passes more of Terminal-Bench: 51.8% in Claude Code at Max effort, against 17.3% for GPT-5.6 Luna in Codex. Claude Opus 5 costs $18.09 per task against $1.05 for GPT-5.6 Luna. Its +34.6 points cost 17× as much.
Which is cheaper, Claude Opus 5 or GPT-5.6 Luna?
Claude Opus 5: $18.09 per Terminal-Bench task, $5/$25 per million input/output tokens. GPT-5.6 Luna: $1.05 per Terminal-Bench task, $0.20/$1.20 per million input/output tokens.
How do Claude Opus 5 and GPT-5.6 Luna compare on Epoch AI's benchmarks?
Best scores, Claude Opus 5 first. MirrorCode: 87.8% against 21.1%. GPQA Diamond: 93.9% against 91.6%, within the margin of error. FrontierMath Tiers 1–3: 85.6% against 82.1%, within the margin of error.
When were Claude Opus 5 and GPT-5.6 Luna released?
Anthropic released Claude Opus 5 on Jul 24, 2026; OpenAI released GPT-5.6 Luna on Jun 26, 2026. Anthropic superseded Claude Opus 5 on Sep 22, 2026 with Claude Opus 5.5. OpenAI superseded GPT-5.6 Luna on Sep 22, 2026 with GPT-6 Luna.
Sources and scope
Terminal-Bench results are each model's run on the official leaderboard: the agent attempts all 66 tasks at least five times, errored trials count as failures, and passing trials are checked for reward hacking. Each lab's run uses the agent and setting it was submitted with, and cost per task is what the run reported. Epoch AI's scores test each model alone, under CC BY 4.0. API prices come from LiteLLM's price list. Written by aicharts from data checked Nov 24, 2026. Prices and scores change as labs update their models.