A small, specialized model can be cheaper and faster than a frontier model for narrow, high-volume tasks. Examples are document classification, field extraction, and ticket routing. For open-ended work, such as strategy or research, a frontier model is usually better. This guide gives a five-factor score that tells you which option fits each workload, and the cost math to check the decision.
Practitioner reports support this split. Don't Panic Labs found that small models trained on JavaScript and TypeScript can match larger general models. The small models learn the quirks of the domain. The title of their post says "sometimes", and that word is important. Frontier models still win on open-ended, multi-step work that needs deep reasoning.
You Have Three Options
The choice is not only "small model or large model". You have three options:
| Option | What it means | Upfront effort | Reversibility |
|---|---|---|---|
| Stay on frontier | Keep calling the most capable general model | None | Easy |
| Prompt a cheaper model | Use an off-the-shelf small or mid-size model with better prompts, examples, or retrieval | Low (days) | Easy |
| Specialize | Fine-tune or RL-train a small model on your task, or buy one that a vendor trained | High (weeks to months) | Hard - you now own a model |
Many teams skip the middle option. They see a large frontier bill and start a training project. Later, they find that a mid-size model with a clear prompt and ten good examples meets the quality target. Chip Huyen lists "insisting on finetuning when prompting works" as a common AI engineering pitfall.
Specialize only when two conditions are true:
- A prompted model cannot meet your quality, latency, or privacy requirement.
- The cost numbers show a payback.
To choose a training method after that, read our SFT vs. RL comparison.
Score Each Workload on Five Factors
A workload is one type of LLM call in your system. Give each workload a score from 0 to 2 on each of the five factors below. Score workloads, not products. For example, one support system can have a ticket classifier and an escalation step. The classifier is a good candidate for a small model. The escalation step is not.
1. Task narrowness
- 0: Open-ended. Inputs vary, and the correct output depends on judgment. Examples are strategy memos and research questions.
- 1: Bounded but varied. The domain is clear, but inputs vary. An example is support replies that must follow a policy.
- 2: Narrow and repetitive. Input types and the output format do not change. Examples are "classify the document type" and "extract 12 fields".
The Turing Post's survey of small models names summarization, coding help, and local tasks as good fits for small models. In all of these tasks, the shape of the work stays the same from call to call.
2. Volume
- 0: Hundreds of calls a month. The savings cannot pay for a training project.
- 1: Tens of thousands of calls a month.
- 2: Millions of calls a month, or fast growth.
3. Labels or simulations
A label is a known correct output for an input. A simulation is an environment that checks outputs automatically.
- 0: You have no labeled examples, and it is hard to define a correct output.
- 1: You have some historical data, such as past human decisions in a CRM. The data needs cleaning.
- 2: You have large labeled sets, or you can check outputs automatically. Examples are code that must pass tests, or extracted fields that you can compare to a system of record.
Simulations count because reinforcement learning needs a reward signal, not a label for each example. Our post on RL environments for LLM training tells you what a usable environment needs.
4. Eval quality
An eval set is a fixed set of test inputs with pass/fail criteria. You run it against each model to compare them.
- 0: No eval set. People look at outputs and say they look correct.
- 1: A small spot-check set with informal criteria.
- 2: A held-out, versioned eval set. The pass/fail criteria connect to business results, and you can run the set against any model.
5. Cost, latency, or privacy pressure
- 0: Model cost is very small, and users can wait.
- 1: Model cost shows in budget reviews, or slow responses hurt the user experience.
- 2: Model cost threatens your unit economics, latency is a hard limit, or data cannot leave your environment. Real-time voice and inline autocomplete are examples of hard latency limits.
Privacy is often the main reason to choose a small model. You can run a small model on infrastructure that you control.
Read the score
| Total (0-10) | Recommendation |
|---|---|
| 0-3 | Stay on the frontier model. Improve prompts, caching, and context. |
| 4-6 | Use a prompted cheaper model, or route between tiers. Check again in three months. |
| 7-10 | Specialization is a real candidate. Write the business case. |
Two rules apply at all totals:
- If eval quality is 0, do not specialize. Without an eval, you cannot show that the small model is better.
- If labels or simulations are 0, do not specialize. Without data, you cannot train the model.
For example, a workload with the scores 2-2-2-0-2 needs an eval project first. The model project comes later.
Example: Two Workloads Compared
The two cases below are composite examples. They are not real clients.
Composite example A: insurance document classification. An insurance carrier receives scanned claims packets. The system must tag each page as one of 14 document types before routing. The volume is about two million pages a month. The claims system holds years of pages that people tagged by hand.
| Factor | Score | Reason |
|---|---|---|
| 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 held-out set |
| Cost/latency | 2 | Frontier cost is high at this volume |
| Total | 9 | Strong candidate, after the team builds the eval set |
Composite example B: quarterly strategy briefings. A leadership team wants an assistant that reads market news, internal metrics, and analyst notes. The assistant then writes a strategy briefing. The team runs it a few dozen times each quarter.
| Factor | Score | Reason |
|---|---|---|
| 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 | Cost is very small |
| Total | 0 | Stay on the frontier model |
Workload B needs the broad reasoning of a frontier model. Acuvate's model selection guide gives the same split: small models for focused tasks, and large models for broad, complex reasoning. A cheaper model for workload B saves almost no money and lowers quality.
Most workloads score between 4 and 6. For these workloads, use routing. A router sends easy requests to a cheap model and sends the remaining requests to a frontier model. LLM routing in production shows how to build a router.
Calculate the Payback Before You Train
A small model costs less per token. A specialization project can still cost more than it saves. Below is the calculation for composite example A. All prices are illustrative. Use your own contract rates.
Assumptions: 2,000,000 pages a month. Each page uses about 1,500 input tokens and 50 output tokens.
- 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 |
The monthly difference is $9,820. Vendor pitches often leave out two types of cost:
- One-time costs: label cleaning, the eval set, training runs, and integration. For this example, use $40,000.
- Ongoing costs: hosting or a managed endpoint, monitoring, and retraining when document formats change.
With $40,000 one-time and $9,820 a month in savings, the payback period is about four months ($40,000 ÷ $9,820 ≈ 4.1). If ongoing costs are $3,000 a month, net savings are $6,820 a month. The payback period then increases to about six months.
Now change the volume to 50,000 pages a month. The frontier bill falls to $262.50 a month. At that volume, a training project does not pay back.
Before you specialize, check two other ways to cut cost:
- Prompt caching. If many calls share a long, repeated prefix, caching can cut the frontier cost a lot. Read what prompt caching saves.
- Token mix. Measure where your tokens go before you optimize. Tokenomics after GLM-5.2 explains how model choice affects unit economics.
If you host the small model yourself, test the quantized version that you plan to deploy. Do not test only the full-precision version. Lower precision can break structured outputs and tool calls. Our post on quantized model tool calling accuracy shows where this happens.
Two Public Examples of Specialized Models
Two companies have published how they built specialized models. In both cases, the vendor ran the evaluation, so read the results with that in mind.
Datadog's announcement of Scout describes a specialized model for site reliability work inside Bits AI. Incident investigation has a clear domain and a lot of telemetry. You can also check the model's outputs against what operators did. This work scores high on narrowness, data, and evals.
Stripe's engineering post on training LLMs for risk assessment describes another bounded task. Payments risk has very high volume, labeled history, and strict latency limits. It scores high on all five factors.
These companies have three things that many companies do not have:
- Large amounts of their own data.
- Eval infrastructure that already works.
- Engineers who maintain models.
Inference.net argues that the specialized model a business needs often does not exist yet, so the business must build it. This is true, and it also shows how much work building one takes.
The eval set is the part that lasts. You will retrain or replace the small model when better base models come out. With a good eval set, you can repeat the frontier-vs-small comparison in hours each time a new model ships. A good eval set has real inputs, clear pass criteria, and known failure cases. Some teams build the eval set first and find that a prompted mid-size model already passes. That is a good result, because they do not need a training project.
Test Vendor Benchmarks on Your Own Data
Model vendors publish charts that show their small model beating a well-known frontier model. These charts can be correct for the vendor's tasks. Your tasks are different.
Towards Data Science's guide to choosing between small and frontier models bases the choice on task structure and complexity. For this reason, a benchmark with a different task structure tells you little about your workload. Do these steps before you change models:
- Collect a held-out sample of a few hundred real inputs. Include rare but expensive cases.
- Write pass/fail criteria that connect to the business result. For classification, use the correct label. For extraction, use field-level accuracy against the system of record.
- Run each candidate model on the same sample: the current frontier model, a prompted cheaper model, and the specialized model.
- Run each model more than once. Outputs change between runs, even at temperature 0, so small differences can be noise. Read LLM nondeterminism and eval scores.
- Compare the types of errors, not only the error rates. If a small model has the same accuracy but fails on your most valuable documents, it is the worse model.
- Run the small model in shadow mode before you switch. Send live traffic to both models and compare the outputs.
Workflow-specific evals explains how to build this test set. If you cannot write down what "correct" means for a workload, do not change its model.
Map All Your Workloads
Use the five-factor score on all your workloads at the same time:
- List each LLM call in production.
- Score each call on the five factors.
- Sort the calls by score and by monthly cost.
Usually, one or two high-scoring workloads cause most of the cost. A middle group is a good fit for routing. The remaining workloads stay on frontier models. This map shows where specialization can pay back. It also supports the case for domain-specific agents over generic chatbots: match the system to the work.
OpenNash does this work in an audit:
- We list your LLM calls and score each one.
- We build an eval set from your real inputs.
- We test a cheaper model with a better prompt.
- We train a small model only if the cost numbers show a payback.
At the end, you own the models, the eval sets, and the pipelines. If one of your workloads scores 7 or higher, book a call and bring its monthly volume and a sample of inputs. We will test the frontier, prompted, and specialized options against your pass criteria.
This week, take your most expensive LLM call and score it on the five factors. Then check the two rules for evals and labels. If it fails either rule, build the eval set before you discuss training a model.