GPT-6 Luna vs DeepSeek V4.1 Flash: Real API Cost Compared
The verdict, in numbers: On our reference 200-step agent workload, DeepSeek V4.1 Flash bills $0.09 against $0.13 for GPT-6 Luna — 1.5x apart. List rates alone would not have told you that.
Engineering trade-offs & production reality
GPT-6 Luna ($0.10/$0.50) now undercuts even DeepSeek V4.1 Flash's off-peak base rate ($0.15/$0.60), though DeepSeek retains an edge on cached reads ($0.003 vs $0.01) and 384K max output.
Rate cards side by side
| Item | GPT-6 Luna | DeepSeek V4.1 Flash |
|---|---|---|
| Provider | OpenAI | DeepSeek |
| Input / 1M | $0.10 | $0.15 |
| Output / 1M | $0.50 | $0.60 |
| Cache read / 1M | $0.010 | $0.0030 |
| Context window | 1.05M | 1M |
Sources: OpenAI pricing ↗ and DeepSeek pricing ↗, both checked November 2026.
The same 200-step agent task, priced twice
One coding-agent task: 200 steps, a stable 40,000-token prefix written to cache on step 1 and re-read on the remaining 199, 500 output tokens per step. Cache-write billing follows each provider’s own rules (cache writes bill at 1.25x the uncached input rate; cache writes bill at the standard input rate).
| Component | GPT-6 Luna | DeepSeek V4.1 Flash |
|---|---|---|
| Cache write (once) | $0.01 | $0.01 |
| Cache reads (199 × 40K) | $0.08 | $0.02 |
| Output (200 × 500) | $0.05 | $0.06 |
| Total per task | $0.13 | $0.09 |
A heavy month on each
50M fresh input, 150M cached input, 10M output tokens in a month:
| Component | GPT-6 Luna | DeepSeek V4.1 Flash |
|---|---|---|
| Fresh input (50M) | $5.00 | $7.50 |
| Cached input (150M) | $1.50 | $0.45 |
| Output (10M) | $5.00 | $6.00 |
| Monthly total | $11.50 | $13.95 |
DeepSeek figures use off-peak rates; weekday peak hours (01:00–04:00 and 06:00–10:00 UTC) double input and output.
Frequently asked questions
Is GPT-6 Luna cheaper than DeepSeek V4.1 Flash?
On list rates, GPT-6 Luna costs $0.10/$0.50 per 1M input/output tokens versus $0.15/$0.60 for DeepSeek V4.1 Flash. On a 200-step agent workload (40K cached prefix, 500 output tokens per step), DeepSeek V4.1 Flash totals $0.09 versus $0.13 for GPT-6 Luna. Prices verified November 2026.
GPT-6 Luna vs DeepSeek V4.1 Flash: which has the longer context window?
GPT-6 Luna offers 1.05M tokens; DeepSeek V4.1 Flash offers 1M tokens, per provider documentation checked November 2026.
Where do these GPT-6 Luna and DeepSeek V4.1 Flash prices come from?
Both rate cards were read from the providers' own pricing pages in November 2026: https://openai.com/api/pricing/ and https://api-docs.deepseek.com/quick_start/pricing/.