A frontier model will classify an invoice correctly. It will also write you a sonnet about the invoice, translate it into Portuguese, and reason through the tax implications. If your workflow only needs the classification, you pay for all of that range on every call. Two million times a month, that range turns into a line item someone in finance will ask about.

A growing body of practitioner writing agrees that small, specialized models can match or beat large general ones on focused work. Don't Panic Labs found that smaller models trained for JavaScript and TypeScript can rival bigger general models because they pick up domain-specific quirks. Note the "sometimes" in their title. Frontier models still win clearly on open-ended, multi-step work that needs deep reasoning. So the useful question is which of your workloads fall on which side, and what it takes to move one.

Here is a decision guide you can apply in an afternoon.

Three Options, Not Two

"Small model vs large model" sounds like a binary choice. In practice you have three options, and the middle one gets skipped most often:

Option What it means Upfront effort Reversibility
Stay on frontier Keep calling the most capable general model None Trivial
Prompt a cheaper model Swap to an off-the-shelf small or mid-size model with better prompts, few-shot examples, or retrieval Low (days) Easy
Specialize Fine-tune or RL-train a small model on your task, or buy one a vendor already trained High (weeks to months) Harder - you now own a model

Skipping the middle option is the most common mistake. A team sees a frontier bill, decides it needs a custom model, and starts a training project. Then it turns out that a mid-size general model with a tight prompt and ten good examples would have hit the quality bar. Chip Huyen lists "insisting on finetuning when prompting works" among the common AI engineering pitfalls, and it still happens.

Specialization earns its place when prompting has stalled below your quality, latency, or privacy requirement and the economics hold up. If you're weighing training methods once you get there, our SFT vs. RL comparison covers that next decision.

The Five-Factor Workload Score

Score each workload from 0 to 2 on five factors. Score workloads separately, never a whole product. One customer support system might contain a ticket classifier (a strong specialization candidate) and an escalation-reasoning step (a poor one).

1. Task narrowness

  • 0: Open-ended. Inputs vary widely and the right output depends on judgment (strategy memos, novel research questions, complex negotiation).
  • 1: Bounded but varied. A clear domain with real variety (drafting support replies within policy).
  • 2: Narrow and repetitive. Fixed input types and a fixed output schema (classify document type, extract 12 fields, route to one of 8 queues).

The Turing Post's survey of small models points to summarization, coding assistance, and local interactions as the areas where small models shine. Those are all tasks where the shape of the work stays stable from call to call.

2. Volume

  • 0: Hundreds of calls a month. Savings can't cover a training project.
  • 1: Tens of thousands a month.
  • 2: Millions a month, or a fast-growing curve.

3. Available labels or simulations

  • 0: No labeled examples, and correct outputs are hard to define.
  • 1: Some historical data (past human decisions in a CRM or ticketing system) that needs cleaning.
  • 2: Large labeled sets, or an environment where you can generate and verify outputs automatically (code that compiles and passes tests, extractions you can check against a system of record).

Simulations count here because reinforcement learning needs a reward signal, not a hand-labeled answer for every example. Our post on RL environments for LLM training covers what a usable environment requires.

4. Eval quality

  • 0: "We look at outputs and they seem fine."
  • 1: A spot-check set with informal criteria.
  • 2: A held-out, versioned eval set with explicit pass/fail criteria tied to business outcomes, which you can run against any model.

5. Cost or latency pressure

  • 0: Model spend is a rounding error and users can wait.
  • 1: Spend is visible in budget reviews, or latency hurts UX.
  • 2: Spend threatens unit economics, latency is a hard constraint (real-time voice, inline autocomplete), or data can't leave your environment.

The last point matters more than cost discussions usually admit. Privacy and control show up again and again in the reasons teams choose small models, because a small model can run on infrastructure you control.

Reading the score

Total (0-10) Recommendation
0-3 Stay on frontier. Optimize prompts, caching, and context instead.
4-6 Prompt a cheaper model, or route between tiers. Revisit in a quarter.
7-10 Specialization is a real candidate. Build the business case.

Apply two hard gates whatever the total. If eval quality scores 0, don't specialize. If labels/simulations score 0, don't specialize. Without an eval you can't tell whether the small model is better. Without data you have nothing to train it on. A workload that scores 2-2-2-0-2 is an eval project first and a model project later.

Two Workloads Scored Side by Side

Here are two contrasting cases, both labeled as composite examples.

Composite example A: insurance document classification. A carrier receives scanned claims packets and needs each page tagged as one of 14 document types before routing. Volume is about two million pages a month. Years of human-tagged pages sit in the claims system.

Factor Score Why
Narrowness 2 Fixed label set, fixed output
Volume 2 Millions per month
Labels 2 Historical human tags
Eval quality 1 Spot checks only, needs a proper held-out set
Cost/latency 2 Frontier spend is material at this volume
Total 9 Strong candidate, after the eval is built

Composite example B: quarterly strategy briefings. A leadership team wants an assistant that reads market news, internal metrics, and analyst notes, then drafts a strategic briefing. A few dozen runs a quarter.

Factor Score Why
Narrowness 0 Open-ended synthesis and judgment
Volume 0 Dozens per quarter
Labels 0 No clear "correct" briefing
Eval quality 0 Subjective review
Cost/latency 0 Spend is trivial
Total 0 Stay on frontier, no question

The briefing assistant is where a frontier model's breadth pays for itself. Acuvate's model selection guide makes the same split: smaller models for focused, efficient tasks and large foundation models for broad, complex reasoning. Shaving the bill on workload B would save almost nothing and cost real quality.

Most real workloads land in the 4-6 band, and that's where routing does its work. Send the easy 80 percent of traffic to a cheap model and escalate the rest. LLM routing in production walks through how to build that split.

Run the Payback Math Before Anyone Trains Anything

"Small models are cheaper" holds per token and can be false per project. Here is the calculation for composite example A. Every price below is illustrative. Plug in your current contract rates.

Assumptions: 2,000,000 pages a month, about 1,500 input tokens and 50 output tokens per page.

  • Monthly input tokens: 2,000,000 × 1,500 = 3 billion
  • Monthly output tokens: 2,000,000 × 50 = 100 million
Illustrative frontier pricing Illustrative small-model pricing
Input price per 1M tokens $3.00 $0.20
Output price per 1M tokens $15.00 $0.80
Monthly input cost $9,000 $600
Monthly output cost $1,500 $80
Monthly total $10,500 $680

That's a monthly difference of $9,820. Now add the costs that vendor pitches tend to leave out:

  • One-time: cleaning labels, building the eval set, training runs, and integration. Say an illustrative $40,000 all-in.
  • Ongoing: hosting or a managed endpoint, monitoring, and retraining when document formats drift.

At $40,000 one-time and $9,820 a month in savings, payback takes a little over four months ($40,000 ÷ $9,820 ≈ 4.1), before ongoing costs. If ongoing costs run $3,000 a month, net savings fall to $6,820 and payback stretches to about six months. That's still a good deal. Now cut volume to 50,000 pages a month and redo it: the frontier bill falls to $262.50, and no training project pays back in any reasonable time.

Two levers are worth checking before you assume specialization is the only way to cut cost. Long, repeated prefixes can often be cached, which changes the frontier side of the table a lot (see what prompt caching saves). And many teams don't know what their token mix is, so they optimize the wrong thing. Tokenomics after GLM-5.2 covers how model choice becomes a unit-economics decision.

If you serve the small model yourself, test the quantized build you plan to deploy rather than the full-precision checkpoint. Precision changes can quietly break structured outputs and tool calls. Our post on quantized model tool calling accuracy shows where that happens.

How Serious Companies Evaluate Specialized Models

Two public examples show what disciplined specialization looks like. Both describe vendor-run evaluations, and you should read them that way.

Datadog's announcement of Scout, a specialized model for SRE work inside Bits AI, is a bounded-task case. Incident investigation in an observability platform has a defined domain, rich telemetry, and outcomes you can check against what operators ended up doing. That combination scores well on narrowness, data, and evals.

Stripe's engineering write-up on training LLMs for risk assessment is another bounded case: a high-volume decision with historical outcomes to learn from. Payments risk has huge volume, labeled history, and tight latency budgets. It hits all five factors.

Notice what these companies have that most don't. They hold proprietary data at scale, they have eval infrastructure in place, and they have engineers who maintain models. Inference.net argues that the specialized model a business needs often doesn't exist off the shelf and has to be built. That's true, and it also tells you what building one involves.

The counter-intuitive lesson from careful teams is that the eval set outlasts the model. You'll retrain or replace the small model as base models improve. A good eval set of real inputs, explicit pass criteria, and known failure cases lets you re-run the frontier-vs-small comparison every time a new model ships, in hours instead of weeks. Teams that build the eval first sometimes find a prompted mid-size model already passes. That result is a success, because you skipped the training project.

Don't Take the Benchmark's Word for It

Every model vendor publishes charts where its small model beats a famous frontier model. Some of those charts are accurate for the vendor's tasks, but your work isn't the vendor's tasks.

Towards Data Science's guide to choosing between small and frontier models frames the choice around task structure and complexity, which is why a benchmark built on different task structures transfers badly. Before switching, run this checklist:

  1. Pull a held-out sample of your real inputs. Use a few hundred at minimum, stratified so rare but expensive cases appear.
  2. Write pass/fail criteria tied to the business outcome. For classification, that's the correct label. For extraction, it's field-level accuracy against the system of record.
  3. Run every candidate on the same sample. That means the current frontier model, a prompted cheaper model, and the specialized candidate.
  4. Run each more than once. Outputs vary between runs even at temperature 0, and small gaps can be noise. See LLM nondeterminism and eval scores.
  5. Compare error types along with error rates. A small model with the same accuracy that fails on your highest-value documents is the worse model.
  6. Shadow it in production before cutover. Run the small model alongside the incumbent and diff the outputs on live traffic.

Workflow-specific evals covers how to build that test set in more depth. The short version: if you can't write down what "correct" means for the workload, you aren't ready to swap models in either direction.

Mapping Your Workloads to the Right Model Tier

The five-factor score works best as a portfolio exercise. List every LLM call in production, score each one, and you'll usually find one or two high-scoring workloads making up most of the spend, a middle tier that should be routed, and a long tail that should stay on frontier models. That map tells you where an investment in specialization has a real chance of paying back. It also lines up with the broader case for domain-specific agents over generic chatbots: fit the system to the work.

OpenNash runs this kind of exercise as part of an audit. We score workloads, build the eval set first, test a prompted cheaper model before any training, and specialize only where the payback math holds, with the models, evals, and pipelines handed over to the client. If you have a workload that already looks like a 7 or higher, bring its volume numbers and a sample of inputs to a call and we'll test frontier, prompted, and specialized options against your own pass criteria.

For a start this week, pick your highest-spend LLM call, score it on the five factors, and see whether it clears both hard gates. If it doesn't, build the eval set before anyone talks about training a model.