All posts

"Small models for big workloads: when cheap wins"

Most of the tokens flowing through a production AI system are doing boring work: classify this, route that, pull out three fields. Pointing a frontier model at all of it is the most common cost mistake I see, and the fix is measurable, not speculative.

llm4 min read10 September 2026by Ahmed
"Small models for big workloads: when cheap wins"

Most of the tokens flowing through a production AI system are doing boring work. Classify this ticket. Route that email. Pull the invoice number, date and total out of this document. Decide whether this message needs a human. Teams point their most expensive model at all of it, usually because that is what the prototype used and nobody revisited the decision once volume arrived. The bill that follows is not a model problem; it is a routing problem.

Small, cheap models are genuinely good at a specific shape of task: a narrow output space that a machine can check. Classification against a fixed set of labels. Routing decisions. Extraction of well-defined fields into a strict schema. Reformatting. Yes-or-no gates. What these have in common is that the output is either right or wrong in a way your code can largely verify, which means you do not need the model to be brilliant, you need it to be adequate at volume, and you can catch it when it is not.

The price gap makes this worth taking seriously. Within a single provider's line-up, the small tier commonly runs at a fifth to a twentieth of the flagship's per-token price; reach for the smallest capable model on the market and the gap stretches to two orders of magnitude, at mid-2026 list prices, OpenAI's nano tier costs around five cents per million input tokens against five dollars for the flagship. Take a pipeline classifying 100,000 items a month at around 2,000 tokens each, 200 million input tokens. At flagship prices that is roughly a thousand dollars a month before output tokens; on a nano-class model it is about ten. Same pipeline, same prompts, and the only question that matters is whether the small model is accurate enough.

"Small models for big workloads: when cheap wins"

That question has a measurable answer, and this is where most teams go wrong: they decide by vibes. Build a labelled evaluation set, a few hundred representative examples, including the ugly ones, and run both models against it. If the small model scores 94 per cent and the frontier model scores 97, the decision is no longer "which model is better". It is "what do those three points cost us, and what does fixing them cost". Sometimes the three points are catastrophic. Often they are cases a human reviews anyway.

The pattern that captures most of the value is escalation: let the small model handle the bulk, and send the hard cases up. The mechanics matter here. Give the small model a strict schema to fill, Pydantic or Zod, validated on every response, and treat a validation failure as a signal, not just an error. Give it an explicit "cannot determine" option so it has somewhere honest to go. Route those failures and abstentions to the frontier model. In most workloads the hard cases are 10 to 20 per cent of volume, which means the expensive model runs on a fifth of your traffic while quality stays close to running it on everything.

I use this pattern in document extraction work, and it is the shape behind my public extraction pipeline at github.com/afareed007/docextract: field-level extraction against a strict schema runs comfortably on a small model when the input is a clean, well-structured document, and the degraded scans and unusual layouts, the ones that fail validation or come back with low-confidence fields, escalate. The small model does the tonnage; the big one earns its price on the cases that deserve it.

Be honest about where small models fall over, because they do. Long or messy context. Multi-step reasoning. Subtle instructions with exceptions to exceptions. And a particular failure mode worth naming: over-eagerness, a small model would often rather produce a confident wrong answer than abstain. Tight prompts, small label sets, strict schemas and a first-class escalation path are the mitigations, and they are also just good pipeline hygiene.

There is an operational cost to acknowledge too. Two models means two prompts to maintain, two eval baselines to re-run when anything changes, and two things that can drift when providers update models. That overhead is real, and below a modest volume it may not pay for itself. Above it, the arithmetic is rarely close.

My working heuristic: if the output can be validated by machine, try the small model first and measure. Treat the frontier model as the escalation path, not the default. Most teams who run the eval are surprised in the cheap direction. And the same arithmetic is what puts production AI within reach of smaller organisations, a charity or ten-person firm that could never justify frontier prices at volume can usually justify the small-model bill.

Working out which parts of a pipeline can run cheap, building the eval set that proves it, and wiring the escalation path is exactly the kind of engagement I take on. If your AI bill has volume-shaped growth, get in touch via the contact form on this site.

Senior engineering roles — or production AI consulting?

I'm open to senior AI and software engineering roles and to selective consulting on agents, RAG, and LLM automation in production. If this post resonates — as a hiring manager or as someone shipping similar work — get in touch.

Get in touch

© 2026 Ahmed Fareed. All rights reserved.

LOADING