GPT-5 mini vs GPT-6 Luna
API pricing, latency benchmarks, context limits, and token cost economics for production AI stacks.
GPT-5 mini: Retiring Dec 11, 2026 — migrate to GPT-6.1 Terra. View replacement →
GPT-6 Luna is ~62% cheaper than GPT-5 mini
Uncached 10M benchmark (7M in / 3M out): $5.85 on GPT-5 mini vs $2.20 on GPT-6 Luna. At 60% prompt cache hits: $4.80 vs $1.82 (GPT-6 Luna saves $2.98).
Quick Pricing Summary for Developers & AI Search
How much does GPT-5 mini cost per 1M tokens?
GPT-5 mini costs $0.30/M input and $1.25/M output, with prompt cache reads discounted to $0.05/M.
How much does GPT-6 Luna cost per 1M tokens?
GPT-6 Luna costs $0.10/M input and $0.50/M output, with prompt cache reads discounted to $0.01/M.
Which model is cheaper between GPT-5 mini and GPT-6 Luna?
GPT-6 Luna is ~62% cheaper than GPT-5 mini for 10M uncached tokens ($2.20 vs $5.85), saving $3.65 per 10M tokens (~$43.80/year).
Direct Specification & Token Economics
GPT-5 mini
Legacy mini tier retiring Dec 11, 2026. OpenAI recommends migrating workloads to GPT-6.1 Terra.
GPT-6 Luna
OpenAI's ultra-budget 1.05M-context workhorse replacing GPT-5 nano with sub-cent cached reads ($0.01/M).
Monthly Cost Scaling: GPT-5 mini vs GPT-6 Luna
Exact token bill projections across four production traffic volumes (70% prompt / 30% completion), comparing 0% uncached vs 60% KV prompt caching.
| Traffic Tier | GPT-5 mini (0% Cache) | GPT-6 Luna (0% Cache) | GPT-5 mini (60% Cache) | GPT-6 Luna (60% Cache) | 60% Cache Delta |
|---|---|---|---|---|---|
| 100K Prototype (70K in / 30K out) | $0.06 | $0.02 | $0.05 | $0.02 | GPT-6 Luna -$0.03 |
| 1M MVP App (700K in / 300K out) | $0.58 | $0.22 | $0.48 | $0.18 | GPT-6 Luna -$0.30 |
| 10M SaaS Prod (7M in / 3M out) | $5.85 | $2.20 | $4.80 | $1.82 | GPT-6 Luna -$2.98 |
| 50M Enterprise RAG (35M in / 15M out) | $29.25 | $11.00 | $24.00 | $9.11 | GPT-6 Luna -$14.89 |
Architectural & Token Ratio Breakdown
- Input Economics: GPT-6 Luna ($0.10/M) is 3.0x lower on prompt input tokens than GPT-5 mini ($0.30/M).
- Output Economics: GPT-6 Luna ($0.50/M) cuts output token spend by 60% versus GPT-5 mini ($1.25/M).
- Context & Payload Ceiling: GPT-6 Luna provides 8.2x wider context (1,050k vs 128k tokens—fitting ~788k words in one prompt vs ~96k).
- Prompt Caching Impact: With 60% KV prompt cache hits over 10M tokens, GPT-5 mini drops to $4.80 (83% cache read discount) while GPT-6 Luna drops to $1.82 (90% cache read discount).
- Lifecycle & Routing Note: GPT-5 mini: Retiring Dec 11, 2026 — migrate to GPT-6.1 Terra.
npx modelpricing --compare gpt-5-mini gpt-6-lunaFetch Live JSON Rate Card →Related Model Comparisons
Alternative foundation model pairings comparing token costs, prompt caching, and context limits.
Compare token pricing, cache ROI, and monthly bills between Claude 3.5 Haiku and GPT-5 mini.
Compare token pricing, cache ROI, and monthly bills between Claude 3.5 Haiku and GPT-6 Luna.
Compare token pricing, cache ROI, and monthly bills between Claude 3.5 Sonnet and GPT-5 mini.
Compare token pricing, cache ROI, and monthly bills between Claude 3.5 Sonnet and GPT-6 Luna.
Compare token pricing, cache ROI, and monthly bills between Claude 3.7 Sonnet and GPT-5 mini.
Compare token pricing, cache ROI, and monthly bills between Claude 3.7 Sonnet and GPT-6 Luna.
Compare token pricing, cache ROI, and monthly bills between Claude 4.5 Opus and GPT-5 mini.
Compare token pricing, cache ROI, and monthly bills between Claude 4.5 Opus and GPT-6 Luna.