aicharts

GPT-6 LunavsGemini 3.8 Flash

Terminal-Bench, Epoch AI scores and cost per taskData checked All comparisons

Answer

GPT-6 Luna and Gemini 3.8 Flash are level on Terminal-Bench: 16.4% in Codex against 19.1% in mini-SWE-agent, within two tasks' worth of each other.[1][2] Gemini 3.8 Flash's run reported no cost. In output tokens per task, GPT-6 Luna used 138k and Gemini 3.8 Flash 206k.

GPT-6 LunaGemini 3.8 Flash

0%10%20%30%40%50%60%70%$0.25$0.5$1$2$5$10$25$50Pareto frontierCost per task (log)GPT-6 Luna
GPT-6 Luna in Codex · 16.4% on Terminal-Bench · $0.22 per taskGemini 3.8 Flash in mini-SWE-agent · 19.1% on Terminal-Bench · no cost reported
GPT-6 Luna and Gemini 3.8 Flash against every current model, one dot per model's Terminal-Bench run. The dashed line is the cost frontier: no model scores higher for less.

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.

GPT-6 Luna and Gemini 3.8 Flash compared
GPT-6 LunaGemini 3.8 Flash
ReleasedSep 22, 2026[5]OpenAI · CurrentSep 2, 2026[6]Google · Superseded Nov 12, 2026
Terminal-Bench16.4%[1]Codex · Max19.1%[2]mini-SWE-agent · High
Cost per task$0.22[1]Not reported
Output tokens per task138kFewer[1]206k[2]
Minutes per task38 min[1]33 min[2]
MirrorCode26.7%[3]Max · Epoch AI38.9%[3]High · Epoch AI
GPQA Diamond90.5%[3]Max · Epoch AI95.4%Higher[3]High · Epoch AI
FrontierMath Tiers 1–378.9%Higher[3]Max · Epoch AI68.4%[3]High · Epoch AI
API price$0.10/$0.50[4]Per 1M input/output tokens$0.75/$3.75[4]Per 1M input/output tokens
Longest input922k tokens[4]1.05M tokens[4]
Frontier starNoneSuperseded

Choose GPT-6 Luna if…

  • You want fewer output tokens: 138k per task against 206k.
  • You need hard math: FrontierMath Tiers 1–3 78.9% against 68.4%.
  • You pay by the token: $0.10/$0.50 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 want a current model: Google superseded Gemini 3.8 Flash on Nov 12, 2026 with Gemini 4 Hydrogen.

GPT-6 Luna benchmarks and pricing

Choose Gemini 3.8 Flash if…

  • You need graduate-level science: GPQA Diamond 95.4% against 90.5%.
  • You work in Antigravity CLI, Google's own coding agent.
  • You have a setup pinned to it, though Google superseded it on Nov 12, 2026 with Gemini 4 Hydrogen.

Gemini 3.8 Flash benchmarks and pricing

In each lab's coding agent: Codex vs Antigravity CLI

Questions.

Is GPT-6 Luna better than Gemini 3.8 Flash for coding?

GPT-6 Luna and Gemini 3.8 Flash are level on Terminal-Bench: 16.4% in Codex against 19.1% in mini-SWE-agent, within two tasks' worth of each other. Gemini 3.8 Flash's run reported no cost. In output tokens per task, GPT-6 Luna used 138k and Gemini 3.8 Flash 206k.

Which is cheaper, GPT-6 Luna or Gemini 3.8 Flash?

GPT-6 Luna: $0.22 per Terminal-Bench task, $0.10/$0.50 per million input/output tokens. Gemini 3.8 Flash: $0.75/$3.75 per million input/output tokens.

How do GPT-6 Luna and Gemini 3.8 Flash compare on Epoch AI's benchmarks?

Best scores, GPT-6 Luna first. MirrorCode: 26.7% against 38.9%, within the margin of error. GPQA Diamond: 90.5% against 95.4%. FrontierMath Tiers 1–3: 78.9% against 68.4%.

When were GPT-6 Luna and Gemini 3.8 Flash released?

OpenAI released GPT-6 Luna on Sep 22, 2026; Google released Gemini 3.8 Flash on Sep 2, 2026. Google superseded Gemini 3.8 Flash on Nov 12, 2026 with Gemini 4 Hydrogen.

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.

  1. Terminal-Bench leaderboard: Codex with GPT-6 Luna
  2. Terminal-Bench leaderboard: mini-SWE-agent with Gemini 3.8 Flash
  3. Epoch AI, Capabilities & benchmarking (CC BY 4.0)
  4. LiteLLM model prices (MIT)
  5. OpenAI: GPT-6 Luna
  6. Google: Gemini 3.8 Flash

Open GPT-6 Luna in the explorer