
TL;DR
The sub-$1.50 coding tier just got serious: DeepSeek V4 Flash 0731 posts frontier-adjacent agent scores at $0.14/$0.28, GPT-5.6 Luna dropped 80% to $0.20/$1.20, and Gemini 3.5 Flash and Claude Haiku 4.5 hold the hosted middle. Prices verified July 31, 2026.
Direct answer
The sub-$1.50 coding tier just got serious: DeepSeek V4 Flash 0731 posts frontier-adjacent agent scores at $0.14/$0.28, GPT-5.6 Luna dropped 80% to $0.20/$1.20, and Gemini 3.5 Flash and Claude Haiku 4.5 hold the hosted middle. Prices verified July 31, 2026.
Best for
Developers comparing real tool tradeoffs before choosing a stack.
Covers
Verdict, tradeoffs, pricing signals, workflow fit, and related alternatives.
Last updated: July 31, 2026
Two events in the last 48 hours make the cheap tier of coding models impossible to ignore. On July 30, OpenAI cut GPT-5.6 Luna by 80% to $0.20 per million input tokens. On July 31, DeepSeek shipped V4 Flash 0731 - a re-post-trained version of its budget model that posts agent benchmark scores well past what V4 Pro Preview managed in the spring, at the same $0.14/$0.28 prices. A tier that used to mean "good enough for extraction and classification" is now asking to handle whole agent loops.
This comparison covers the four models that anchor that tier in July 2026: DeepSeek V4 Flash, GPT-5.6 Luna, Gemini 3.5 Flash, and Claude Haiku 4.5. Every price below was verified against the live vendor pricing pages on July 31, 2026. Benchmark coverage is honest about what is third-party-verified and what is vendor-reported - the two are not the same thing.
| DeepSeek V4 Flash | GPT-5.6 Luna | Gemini 3.5 Flash | Claude Haiku 4.5 | |
|---|---|---|---|---|
| Vendor | DeepSeek | OpenAI | Anthropic | |
| Input (per MTok) | $0.14 | $0.20 | $1.50 | $1.00 |
| Output (per MTok) | $0.28 | $1.20 | $9.00 | $5.00 |
| Cache hit input | $0.0028 | $0.02 | $0.15 | $0.10 |
| Context window | 1M | 1M | 1M | 1M |
| Max output | 384K | long-context tier | 64K | 64K |
| License | MIT open weights | Proprietary | Proprietary | Proprietary |
| Latest version | V4-Flash-0731 (Jul 31) | price cut Jul 30 | GA since May | GA |
All prices verified July 31, 2026: DeepSeek pricing, OpenAI pricing, Gemini pricing, Anthropic pricing.
The price spread across the tier is now wider than the capability spread on many tasks. V4 Flash and Luna are in a class of their own on cost - 5 to 10x cheaper than the two hosted options on input, and the cache-hit rates are close to free. The interesting question is no longer "which is cheapest" but "how much agentic capability does each model actually bring to a loop."
DeepSeek's official change log describes the July 31 update precisely: "keeps the same model architecture and size as DeepSeek-V4-Flash-Preview, and was only re-post-trained." Same 1M context, same 384K max output, same $0.14/$0.28 pricing, same deepseek-v4-flash model name - but the benchmark table reads like a different model.
The vendor-reported numbers from the pricing page: Terminal Bench 2.1 at 82.7, DeepSWE at 54.4, Cybergym at 76.7. Those are long-horizon agent benchmarks - real terminal sessions and issue-resolving loops, not multiple choice - and they are the strongest claim this tier has ever made. Two caveats before you take them at face value: they are DeepSeek's own runs (the DeepSeek Harness is "to be released soon"), and the two biggest developer-facing numbers, Terminal Bench and DeepSWE, are the ones to benchmark against other models yourself.
What is not a caveat is the access story. V4 Flash is the only DeepSeek model with native Responses API support today, and DeepSeek publishes a one-line Codex setup script that wires the model into Codex CLI, the ChatGPT desktop app, and the VS Code extension. The economics post we wrote when V4 launched pinned Flash as an inner-loop model; the July 31 update analysis walks through what changed when that model started handling whole loops.
OpenAI's July 30 announcement cut Luna from $1/$6 to $0.20/$1.20 - an 80% drop - and Terra by 20% to $2/$12. Luna's cache hit is $0.02 per MTok, and long-context rates run $0.40/$1.80. Our breakdown of the announcement covered the reaction: a typical agent conversation of 50K input and 10K output tokens now costs about $0.022, cheap enough that the abstraction overhead of a router may not justify itself for high-volume work.
Luna's position in the tier is interesting because it is the only proprietary model here with a first-party agent stack behind it - Codex, Responses API, structured outputs, and the same tool-calling machinery as Sol. The HN thread around the cut included the counterpoint that Luna is "still more expensive than DeepSeek V4 Flash" per token, and the reply was the real argument: Luna handles tool calls and multi-step workflows that cheaper models cannot reliably execute. That capability gap is exactly what the 0731 update challenges on the DeepSeek side.
One note on naming: Luna is the entry tier of the GPT-5.6 family, and OpenAI's deprecation clock now applies to the original GPT-5 snapshots, not to Luna - it is the recommended replacement for gpt-5-nano and gpt-5-mini on the deprecations page.
From the archive
Jul 31, 2026 • 7 min read
Jul 31, 2026 • 7 min read
Jul 31, 2026 • 6 min read
Jul 31, 2026 • 7 min read
Google and Anthropic do not compete on price in this tier, and they do not need to - their budget models win on integration quality and provider-level guarantees.
Gemini 3.5 Flash at $1.50/$9.00 (verified July 31) has been GA since May and is the only model in this tier with first-party grounding with Google Search built in - 5,000 free search requests per month across Gemini 3.x models, then $14 per 1,000. If your workload needs fresh web context in the loop, that changes the cost math entirely: a search-grounded flash model at $1.50 input competes on total cost with cheaper models plus a separate search bill. Cache hits run $0.15 with $1 per MTok per hour storage. Gemini 3.1 Pro Preview at $2/$12 is the step up if the tier runs out of ceiling, and our comparison of the Anthropic and Google options covers that boundary.
Claude Haiku 4.5 at $1/$5 (verified July 31) is the middle option on price and the strongest on Anthropic-side integration: it is the default model for Claude Code's fast paths, inherits the 1M context window at flat pricing, and slots into any Anthropic API workflow with zero migration. Its role in the tier is the safety pick - if the rest of your stack is Claude, keeping the budget model in the same provider removes the wire-format and eval-surface differences that cross-provider routing introduces.
The frame that matters in this tier is dollars per completed task, not dollars per million tokens. A representative agentic coding task - 200K input tokens, 20K output, no cache - runs:
So the spread is about 14x across the tier for the same token count. The catch is that token counts are not the same: models that fail more retry more, and retries compound input tokens fast. A model that completes the task in one attempt at $0.48 is cheaper than a model that needs five attempts at $0.034. This is the argument for measuring completion rates before switching, and it is the reason cost-per-task analysis keeps beating sticker-price comparisons.
DeepSeek adds a scheduling wrinkle no other vendor in this tier has: a peak/off-peak pricing policy is coming, with 2x prices during 9:00-12:00 and 14:00-18:00 Beijing time. For batch-able work, that makes off-peak scheduling real money - batching agent work into the cheap window is how the already-low numbers get lower.
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.6 Luna | Gemini 3.5 Flash | Claude Haiku 4.5 |
|---|---|---|---|---|
| Terminal Bench 2.1 | 82.7 (vendor) | not published | not published | not published |
| DeepSWE | 54.4 (vendor) | not published | not published | not published |
That table is thin, and that is the honest state of the tier. DeepSeek publishes hard agent numbers (vendor-reported, with config documented). The other three vendors publish marketing-tier claims and point to their flagship models for the benchmark pages. If you are choosing among these four, the benchmark evidence is currently a DeepSeek-first story - which is exactly why independent evals matter more here than at the frontier, where multiple third parties benchmark every release.
What the tier does have in common: all four models are cheap enough that the cost of running your own golden-set evaluation is trivial. Our eval-before-switch day plan applies verbatim - build a golden set, run it against all four, compare completion rates and cost per task. At this tier the eval is the cheapest part of the migration.
The budget tier fails in two ways worth naming. First, long-horizon autonomy: if your tasks run hours and tolerate no mid-task regression, the frontier tier exists for that - Opus 5 at $5/$25 and GPT-5.6 Sol at $5/$30 are the current defaults, and a failed hour-long run costs more in developer time than the tier difference saves in tokens. Second, output-heavy reasoning: Luna's $1.20 output and Flash's $0.28 output are still orders of magnitude below the frontier's $25-$30, but long reasoning traces on a budget model are where the quality gap shows up most.
The other skip signal is organizational: if your team already standardizes on one provider for compliance, support, or eval reasons, the cross-provider savings of this tier may not clear the bar. The model routing strategies post covers when routing between tiers pays and when it does not.
DeepSeek V4 Flash at $0.14 per million input and $0.28 per million output tokens, verified July 31, 2026. GPT-5.6 Luna is the closest competitor at $0.20/$1.20 after its July 30 price cut.
DeepSeek's own numbers (not yet third-party verified) put it at 82.7 on Terminal Bench 2.1 and 54.4 on DeepSWE - the strongest agent benchmark claims ever published for the budget tier, from a model that costs $0.14/$0.28 and supports the Responses API and Codex integration.
Both are sub-$0.50 input models. Luna (proprietary) brings OpenAI's tool-calling and Responses API stack and costs $0.20/$1.20. V4 Flash (MIT open weights) costs $0.14/$0.28, can be self-hosted, and just shipped a re-post-training update aimed at agent workloads.
For search-grounded work, Gemini 3.5 Flash's built-in grounding can make it cheaper in total cost than a cheaper model plus a separate search bill. Claude Haiku 4.5 is the value pick when the rest of your stack is Anthropic - same provider, same wire format, 1M context at flat pricing.
Yes, for volume. The standard split is budget models for high-volume, well-understood work and frontier models for the hard tail. The July 2026 updates narrow the gap on the volume side - V4 Flash 0731 and Luna at $0.20 both handle tool loops that used to require a step up.
| Resource | Description | Last Verified |
|---|---|---|
| DeepSeek Models & Pricing | V4 Flash/Pro pricing, 0731 version, peak/off-peak policy | July 31, 2026 |
| DeepSeek Change Log | V4-Flash-0731 re-post-training announcement | July 31, 2026 |
| OpenAI API Pricing | Luna $0.20/$1.20, long-context and batch rates | July 31, 2026 |
| OpenAI Model Deprecations | GPT-5.6 family as replacement targets | July 31, 2026 |
| Gemini API Pricing | 3.5 Flash rates, grounding pricing, cache storage | July 31, 2026 |
| Anthropic API Pricing | Haiku 4.5 rates, flat 1M context | July 31, 2026 |
Read next
DeepSeek re-post-trained V4 Flash into an agent workhorse: Terminal Bench 82.7, DeepSWE 54.4, native Responses API, and first-party Codex support - all at $0.14/$0.28 per million tokens. What changed, what the numbers actually mean, and how to wire it up today.
9 min readOpenAI slashes GPT-5.6 Luna by 80% to $0.20/M input tokens, cuts Terra by 20%, adds Sol Fast mode at 2.5x speed, and reveals Sol autonomously optimized its own production kernels.
7 min readSame-day-verified llm api pricing july 2026: Claude Fable 5, GPT-5.6 Sol/Terra/Luna, Claude Sonnet 5, Gemini 3.5 Flash, and DeepSeek V4 compared per million tokens, plus the caveats that change the math.
11 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Open-source AI pair programming in your terminal. Works with any LLM - Claude, GPT, Gemini, local models. Git-aware ed...
View ToolAnthropic's AI. Opus 4.6 for hard problems, Sonnet 4.6 for speed, Haiku 4.5 for cost. 200K context window. Best coding m...
View ToolGoogle's frontier model family. Gemini 2.5 Pro has 1M token context and top-tier coding benchmarks. Gemini 3 Pro pushes...
View ToolAnthropic's smallest Claude 4.5 model. Near-frontier coding performance at one-third the cost of Sonnet 4 and up to 4-5x...
View ToolInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedDeep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI AgentsUse opus, sonnet, haiku, and best to switch models easily.
Claude Code
Exploring Google's New Gemini 2.5 Flash In this video, we dive into Google's newly released Gemini 2.5 Flash model, a cost-effective and flexible thinking model. Key features include multimodal...

Learn The Fundamentals Of Becoming An AI Engineer On Scrimba; https://v2.scrimba.com/the-ai-engineer-path-c02v?via=developersdigest #ai #software #gemini Links: https://blog.google/technology/go...

Sign up for Runbear with the below link to receive a 25% discount! https://runbear.io/?utm_source=developerdigest Coupon Code: DEVELOPERDIGEST Valid until February 2025 In this video, I demonstrat...

DeepSeek re-post-trained V4 Flash into an agent workhorse: Terminal Bench 82.7, DeepSWE 54.4, native Responses API, and...

OpenAI slashes GPT-5.6 Luna by 80% to $0.20/M input tokens, cuts Terra by 20%, adds Sol Fast mode at 2.5x speed, and rev...

Same-day-verified llm api pricing july 2026: Claude Fable 5, GPT-5.6 Sol/Terra/Luna, Claude Sonnet 5, Gemini 3.5 Flash,...

A practical guide to routing between Claude Opus 5, Sonnet 5, Haiku 4.5, GPT-5.6 Sol/Terra/Luna, and Kimi K3 based on ta...

GPT-5.4 vs Gemini 3.1 Pro vs DeepSeek V4: pricing, benchmarks, context behavior, and license terms for the mid-tier mode...

How much of an AI session can you actually take with you? Store defaults, encrypted reasoning, opaque compaction, hidden...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.