// head_to_head

GPT-5.2-Codex vs GPT-5.6 Luna

Published LiveBench scores across all seven categories, live list pricing, context windows, and the measured cost of a point of capability — for both models, side by side.

OpenRouter + LiveBenchAll comparisonsFull leaderboard

Effectively the same quality — GPT-5.6 Luna is the cheaper way to get it.

The two are within 0.4 points overall, which is inside the range that effort settings alone move a LiveBench score, so treat them as quality-equivalent. GPT-5.6 Luna lists 11× cheaper per blended million tokens. When quality ties, cost is the whole decision.

openai

GPT-5.2-Codex

Blended / 1M
$4.81
Context
400K
Released
Jan 14, 2026
Overall score
74.0
reasoningtool callingimage inputprompt caching

openai

GPT-5.6 Luna

Blended / 1M
$0.450
Context
1.1M
Released
Jul 9, 2026
Overall score
73.6
reasoningtool callingfile inputimage inputprompt caching

Specs and pricing

MetricGPT-5.2-CodexGPT-5.6 Luna
LiveBench overall

Mean of the seven LiveBench category scores, 0–100. Higher is better.

74.073.6
Cost per point

Measured benchmark spend divided by overall score — dollars per point of capability.

$0.1001$0.0911
Blended price / 1M

3:1 input:output mix, the usual shape of production traffic.

$4.81$0.450win
Input price / 1M$1.75$0.200win
Output price / 1M$14.00$1.20win
Cached input / 1M

Price of an input token served from the prompt cache, where the provider publishes one.

$0.175$0.020win
Context window400K1.1Mwin
Max output tokens128K128K

Benchmarks by category

An overall score averages away the thing you probably care about. These are the seven LiveBench categories scored separately — GPT-5.2-Codex on top, GPT-5.6 Luna below, both out of 100.

Agentic codingtoo close to call
49.4
48.4
Codingtoo close to call
83.6
82.9
Reasoning
77.7
85.6
Mathematics
88.8
87.2
Data analysistoo close to call
78.2
78.0
Language
73.7
72.6
Instruction following
66.4
60.1

What each one costs to run

Per-token prices are hard to feel. These are monthly list costs for both models across five workload shapes, using each provider's published cached-input rate where there is one.

WorkloadGPT-5.2-CodexGPT-5.6 Luna
Support chatbot

1.2K in / 400 out × 200K requests

$1426.60/mo$131.04/mo
RAG assistant

8K in / 600 out × 100K requests

$1610.00/mo$160.00/mo
Coding agent

40K in / 4K out × 20K requests

$1638.00/mo$155.20/mo
Document extraction

20K in / 1.5K out × 50K requests

$2721.25/mo$281.00/mo
Bulk classification

500 in / 20 out × 5M requests

$4987.50/mo$530.00/mo
Run these two through the cost calculator

Which should you pick?

You need to fit large documents in one call

GPT-5.6 Luna

Wider context window — 1.1M against 400K.

GPT-5.2-Codex vs GPT-5.6 Luna FAQ

Which is better, GPT-5.2-Codex or GPT-5.6 Luna?

Effectively the same quality — GPT-5.6 Luna is the cheaper way to get it. The two are within 0.4 points overall, which is inside the range that effort settings alone move a LiveBench score, so treat them as quality-equivalent. GPT-5.6 Luna lists 11× cheaper per blended million tokens. When quality ties, cost is the whole decision.

Is GPT-5.2-Codex cheaper than GPT-5.6 Luna?

GPT-5.6 Luna is cheaper. On a 3:1 input:output blend, GPT-5.2-Codex lists at $4.81 per million tokens and GPT-5.6 Luna at $0.450 — GPT-5.6 Luna is 11× cheaper. Input and output are priced separately — GPT-5.2-Codex charges $1.75 in and $14.00 out, GPT-5.6 Luna charges $0.200 and $1.20 — so the model that looks cheaper flips depending on how output-heavy your workload is.

GPT-5.2-Codex vs GPT-5.6 Luna: which scores higher on benchmarks?

GPT-5.2-Codex scores 74.0 and GPT-5.6 Luna scores 73.6 overall on LiveBench, the mean of its seven categories. That gap is inside the range that effort settings alone move a score, so treat them as equivalent on published quality. Category scores differ from the overall figure — a model can lead on reasoning and trail on coding, which the per-category table above breaks out.

Which gives better value for money, GPT-5.2-Codex or GPT-5.6 Luna?

They are close. GPT-5.2-Codex costs $0.1001 per point of overall capability and GPT-5.6 Luna costs $0.0911, a difference small enough that workload shape will matter more than the rate.

Does GPT-5.2-Codex or GPT-5.6 Luna have a bigger context window?

GPT-5.6 Luna has the larger context window: 400K for GPT-5.2-Codex against 1.1M for GPT-5.6 Luna. Note that a window you can fill is not a window you should fill — retrieval quality usually degrades well before the limit, and you pay for every token you put in it.

Do GPT-5.2-Codex and GPT-5.6 Luna support prompt caching?

Both publish a cached-input rate: $0.175 per million for GPT-5.2-Codex and $0.020 for GPT-5.6 Luna, against full input rates of $1.75 and $0.200. On a workload with a long stable prefix — a system prompt, a tool schema, a retrieved corpus — that changes the economics more than the headline price does.

Related comparisons

How these numbers are produced

  • Price — provider list price from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
  • ScoresLiveBench release 2026-06-25, using their own category map. Each model shows its strongest published run. A blank means “not evaluated”, never “bad”.
  • Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
  • “Win” — awarded only past a threshold: one full point on a benchmark score, 10% on a price, 25% on a context window. Anything tighter reports as a tie, because effort settings alone move a LiveBench score by more than that.

Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.