The default answer to “our AI code isn't reliable enough” has become “pay for a bigger model.” It works, partially — and it makes model spend the fastest-growing line item on the engineering budget. There's a second lever most teams haven't pulled: stop assuming quality at generation and start enforcing it at review.
The economics, plainly
Frontier subscriptions and API bills scale with seats and tokens. For a team of any size that's hundreds to thousands of dollars a month, and the marginal token is spent re-generating code the previous attempt got almost right. Meanwhile the open and mid-tier model ecosystem — the class you can run for a fraction of the price, or even on your own hardware — produces solid work for the majority of everyday engineering tasks.
The blocker was never average quality. It's the tail: the one output in ten that invents an SDK method or quietly fakes a refund path. You can't staff a human review of every AI diff, so teams buy the expensive model as insurance on the tail.
A gate changes the equation
Put a validation gate in the assistant's loop and the tail stops being your problem to catch:
- Deterministic reality gates — invented APIs, mock/placeholder code in the wire path, unproven completion claims, faked outcomes — each with veto power. These are exactly the failure classes where smaller models are weakest.
- An independent quality review (ISO/IEC 25010: performance, scalability, reliability, maintainability) that scores whatever survives the gates — applied identically no matter which model wrote the code.
- Findings the model can act on — the gate returns specific defects with the math, so the cheap model fixes its own output and resubmits. Iteration is where small models close most of the gap.
A migration path that doesn't bet the codebase
- Week 1: wire the gate into your current setup (frontier model + gate) — a one-block MCP config in Claude Code, Cursor or Windsurf. Baseline how often your expensive model gets vetoed. It won't be never.
- Week 2: route routine work — tests, migrations, refactors, CRUD — to a cheaper model with the same gate and the same standing rule: validate before claiming done, fix findings, re-validate.
- Week 3+: compare vetoed-output rates and re-work loops between models on gated tasks. Expand the cheap tier to whatever the data supports; keep the frontier model for genuinely hard design work.
What to hold constant
The discipline that makes this safe is that the bar never moves. Every model — frontier or 7B — goes through the same veto gates and the same review standard. “The AI wrote it and it looked fine” and “the work survived a veto-empowered review” are different claims; only the second one is an engineering statement. How the gate works, including a verbatim rejection verdict on plausible-looking code, is on the Verificate MCP page.
