Small language models vs frontier models: which should run your business AI?

By Muhammad Sohaib Khan, Certified Senior AI & Software Architect5 min read

The short answer

Use a frontier model for the hard, rare decisions: planning, reasoning over messy input, anything a customer reads. Use a small model for the high-volume, well-defined work: classification, extraction, routing, summaries behind the scenes. Most production systems I build use both, with a router in front deciding which handles each request.

The question clients actually ask

It usually arrives as 'should we use GPT or something open source?' and what they mean is 'how do we stop the bill from scaring us, without the product getting dumber?' Fair question. The answer is that model choice is not one decision. It is one decision per feature.

Where small models win

  • Volume. Classifying ten thousand support tickets a day into twelve categories is a small-model job. A frontier model does it slightly better and costs many times more.
  • Latency. A small model on a nearby server answers in tens of milliseconds. Voice agents and autocomplete feel the difference.
  • Privacy and residency. Healthcare, finance and public sector clients often cannot send data to a third-party API. A small model on their own infrastructure removes the argument.
  • Predictable cost. Hosting a small model is a flat bill. API calls scale with usage, including the usage you did not plan for.
Close-up of a silicon wafer covered in rows of iridescent chips

Where frontier models win

  • Reasoning over messy input: a customer's rambling email, a contract clause, a plan with dependencies.
  • Anything a customer reads. Tone, nuance and not embarrassing you are worth the premium.
  • Tool use and multi-step agent work, where one wrong decision cascades.
  • Low volume, high stakes. If a feature runs two hundred times a day, the cost difference is pocket change. Use the best model.

Side by side

Small open modelFrontier model
Typical size1 to 15 billion parametersHundreds of billions or more
Runs whereYour servers, a GPU box, even a laptopVendor API
Cost shapeFlat hostingPer token, scales with use
LatencyVery lowHigher, network plus model
Best atClassify, extract, route, summariseReason, plan, write for humans
Data stays with youYesDepends on contract

The pattern I ship most often

A router sits in front. It is itself a small model, or sometimes just rules. It decides whether a request is routine or hard. Routine goes to the small model. Hard goes to the frontier model. On the agent that answers questions on this site, that is exactly what happens: a fast model routes to a specialist, and the specialist is sized to the question. The user never sees the hand-off.

The result is usually a large share of traffic on the cheap path, and the expensive model reserved for the cases that justify it. Costs fall and quality on the hard cases goes up, because you can afford the best model there.

How to decide

  • List every place AI is called in your product. For each one, write the volume per day and what a wrong answer costs.
  • High volume plus low cost of error means small model. Low volume plus high cost of error means frontier.
  • For the middle, start on the frontier model, log everything, and fine-tune a small model on those logs once you have a few thousand good examples.

Related reading

Sources

  1. Hugging Face Open LLM Leaderboard
  2. Ollama documentation (running open models locally)
  3. OpenAI API pricing
  4. Anthropic API pricing

Related service

LLM Integration & MCP Development

Put large language models to work inside your product. Sohaib integrates GPT, Claude, Gemini and open-source LLMs with web search, file search, function calling and MCP tools, adds retrieval and guardrails, and fine-tunes models where it pays off.