Imagine paying for a sports car to run to the corner store every single day. That is basically what a lot of enterprises have been doing with their AI bills, firing up a massive frontier model to classify a support ticket or extract a date from an invoice.

In this article, we will look at why smaller language models are quietly outperforming their giant cousins on real enterprise work, what is driving this shift in cost per task, how distillation and mixture approaches make it possible, and the tradeoffs teams need to weigh before making the switch.

Why bigger is not always better here

Frontier models are genuinely impressive at open ended reasoning, creative writing, and handling questions nobody has thought to ask before. But most enterprise workloads are nothing like that. Classifying an email as spam or not spam, pulling a customer name out of a form, or deciding which internal team should handle a ticket are narrow, repetitive jobs with a fairly predictable shape.

Running a hundred billion parameter model to answer a question that has maybe a dozen possible correct outputs is like hiring a surgeon to put on a bandage. It works, but you are paying a premium for capability you never actually use, and you are paying it every single time the task runs.

The real cost is not just the API bill

When comparing the costs of different models, many people only consider the price of a model per token. However, this does not present the entire picture. For example, small language models typically contain between one and eight billion parameters, which means they have significantly shorter response times as they require fewer computations to execute a call. This lower latency is key for businesses that depend on making thousands of calls every day in a production environment (for example, for fraud detection).

Then there is the question of hardware. Smaller models can run on much cheaper hardware, sometimes even on chips with a single GPU or on the device itself. So the final cost of implementing a small model can be much lower than that of an oversized model, even if the latter gives a better answer.

Where small models are already winning

The best areas for using smaller models are three areas. The first one consists of classifications tasks, such as tagging support tickets according to urgency and assigning customer emails to appropriate departments since this area usually provides a well-defined output. Models designed for such types of labeling can achieve the same accuracy as much bigger models while working much faster.

Then come extraction tasks, such as extracting structured data from invoices, contracts, or resumes, as they often require smaller models as well. This is because all that needs to be done is identifying patterns within known structures, so specialized models that get trained on similar documents perform better in this task than larger models trying to guess the setup.

Another area, which is often associated with smaller models, is routing tasks, which involve a choice of the proper downstream system in almost no time since it usually requires just a few signals to make the right decision.

How teams are actually building these smaller models

Two approaches show up again and again when companies build task specific small models.

The first is distillation, where a large teacher model is used to generate a big batch of training examples, and a much smaller student model is then trained to mimic the teacher’s outputs on that specific task. The student never needs to be as broadly capable as the teacher, it only needs to be good at the narrow slice of behavior it was trained on. Done well, distillation can get a small model surprisingly close to the teacher’s accuracy on the target task while running many times cheaper and faster.

The second is a mixture approach, sometimes called a router or cascade setup, where a lightweight model handles the majority of incoming requests and only escalates the genuinely tricky or ambiguous ones up to a larger frontier model. This way, the expensive model is reserved for the small fraction of cases that actually need its extra reasoning power, and the bulk of traffic gets handled cheaply and quickly. Many production systems today are quietly built this way even if the marketing never mentions it.

The tradeoffs nobody should skip

It does not imply that small models are devoid of challenges. Especially, they often find difficulties in tasks that demand extensive knowledge of the world or multi-step reasoning taking place out of the training process. A small model that has been promptly trained for invoice extraction will struggle significantly when receiving a legal contract filled with weakly-known clauses.

There’s also the cost of maintenance which is usually underestimated. When working with one advanced model, the model is updated and improved by its supplier at any time. By contrast, the fleet of small models requires your team to watch for changes, retrain it from time to time, and control versions of the models.

So when should a team actually downsize

One of the things to keep in mind is to focus on the task’s structure rather than just appreciating the importance of the task. In cases where the task has a small output space and is performed many times on a regular basis using the same input, think of applying a simple model. In cases where the task requires reasoning abilities, various inputs, or one-off application, the cost of the specialized model may not make sense at the moment.

The most advanced teams do not stick to one model size that can serve for various tasks. They are assessing their operational tasks, rather than relying on estimations, and they are developing layered architecture, where simple models are used for the routine tasks while more complex ones are used in most complicated situations.

If the cost of AI increases while the workload remains the same, you should probably conduct such evaluation by yourself. You can assess the most frequently used calls and determine if they do require the advent of your reasoning ability and assess smaller models using the same metrics.

Share:

Get involved!

Get Connected!
Join our community. Expand your network and discover great content!

Comments

No comments yet