Gemini 3.7 FlashvsGPT-5.6 Luna
Answer
GPT-5.6 Luna passes more of Terminal-Bench: 17.3% in Codex at Max effort, against 11.2% for Gemini 3.7 Flash in mini-SWE-agent.[1][2] Gemini 3.7 Flash costs $3.82 per task against $1.05 for GPT-5.6 Luna. GPT-5.6 Luna also scores higher.
Gemini 3.7 FlashGPT-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.
| Gemini 3.7 Flash | GPT-5.6 Luna | |
|---|---|---|
| Released | Aug 13, 2026[5]Google · Superseded Sep 2, 2026 | Jun 26, 2026[6]OpenAI · Superseded Sep 22, 2026 |
| Terminal-Bench | 11.2%[1]mini-SWE-agent · High | 17.3%Higher[2]Codex · Max |
| Cost per task | $3.82[1] | $1.05Lower[2] |
| Output tokens per task | 158k[1] | 186k[2] |
| Minutes per task | 28 minQuicker[1] | 68 min[2] |
| MirrorCode | 41.1%[3]High · Epoch AI | 21.1%[3]Max · Epoch AI |
| GPQA Diamond | 94.8%[3]High · Epoch AI | 91.6%[3]Max · Epoch AI |
| FrontierMath Tiers 1–3 | 71.6%[3]High · Epoch AI | 82.1%Higher[3]Max · Epoch AI |
| API price | $0.75/$3.75[4]Per 1M input/output tokens | $0.20/$1.20[4]Per 1M input/output tokens |
| Longest input | 1.05M tokens[4] | 922k tokens[4] |
| Frontier star | Superseded | Superseded |
Choose Gemini 3.7 Flash if…
- You want quicker runs: 28 minutes per task against 68.
- You work in Antigravity CLI, Google's own coding agent.
- You have a setup pinned to it, though Google superseded it on Sep 2, 2026 with Gemini 3.8 Flash.
Choose GPT-5.6 Luna if…
- You want the higher Terminal-Bench score: 17.3% against 11.2%.
- You want to spend less per task: $1.05 against $3.82 on Terminal-Bench.
- You need hard math: FrontierMath Tiers 1–3 82.1% against 71.6%.
- You pay by the token: $0.20/$1.20 per million input/output tokens against $0.75/$3.75.
- 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 Gemini 3.7 Flash
More with GPT-5.6 Luna
In each lab's coding agent: Codex vs Antigravity CLI
Questions.
Is Gemini 3.7 Flash better than GPT-5.6 Luna for coding?
GPT-5.6 Luna passes more of Terminal-Bench: 17.3% in Codex at Max effort, against 11.2% for Gemini 3.7 Flash in mini-SWE-agent. Gemini 3.7 Flash costs $3.82 per task against $1.05 for GPT-5.6 Luna. GPT-5.6 Luna also scores higher.
Which is cheaper, Gemini 3.7 Flash or GPT-5.6 Luna?
Gemini 3.7 Flash: $3.82 per Terminal-Bench task, $0.75/$3.75 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 Gemini 3.7 Flash and GPT-5.6 Luna compare on Epoch AI's benchmarks?
Best scores, Gemini 3.7 Flash first. MirrorCode: 41.1% against 21.1%, within the margin of error. GPQA Diamond: 94.8% against 91.6%, within the margin of error. FrontierMath Tiers 1–3: 71.6% against 82.1%.
When were Gemini 3.7 Flash and GPT-5.6 Luna released?
Google released Gemini 3.7 Flash on Aug 13, 2026; OpenAI released GPT-5.6 Luna on Jun 26, 2026. Google superseded Gemini 3.7 Flash on Sep 2, 2026 with Gemini 3.8 Flash. 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.