Unbundling the LLM

For the last few years we’ve built AI systems as though the foundation model were the whole system. A request comes in and one model classifies it, retrieves what it needs, reasons, does the math, applies policy, formats the output, checks its own work and writes the reply. That was reasonable while we were still finding out what an LLM could do. The better question now is which of those jobs actually need one, and the list keeps getting shorter.

Routing went first. RouteLLM and vLLM’s Semantic Router use a small classifier to decide what kind of request arrived and which model or tool should take it, so nobody pays a frontier model to decide whether a frontier model is needed. Ranking followed. A reranker like Cohere Rerank takes a query and a stack of documents and scores each one for relevance. It never writes a word. Safety checks moved to models like IBM’s Granite Guardian and Meta’s Llama Guard, which only judge whether a prompt, a response or a tool call carries a specific risk.

Formatting is going the same way. We used to write “return valid JSON” in the prompt and hope. Constrained decoding engines like XGrammar block every token that would break the grammar, so the model still picks the content and the output parses every time. Arithmetic left even earlier. The model writes the calculation and a calculator runs it, and the same handoff now covers database queries, code execution, search and API calls. Checking is splitting off too, with one component producing an answer and a different one accepting it, rejecting it or sending it back.

Even token generation is being split. In speculative decoding a small model drafts the next few tokens and the large model checks them in one pass, keeping the ones it would have produced itself.

Jev, which TypeSafe AI released in September, belongs on this list. You give it a block of state and a set of typed questions, and it returns a choice for each with a probability attached. It doesn’t write anything. If what your software needs is “given this state, pick A, B or C and tell me how sure you are,” then every token of prose a general model produces on the way there is cost and latency you didn’t need. That’s a more interesting claim than “it’s fast.”

A prompt used to go into one model and an answer came out. Now a request gets classified, routed, matched with retrieved documents that have been reranked, reasoned over only where reasoning is needed, handed to deterministic code for anything deterministic code can do, checked, and forced into the right format on the way out. The rule underneath all of it is to use the cheapest component that reliably does each job. Sometimes that’s a frontier model. Often it’s a small classifier, a retrieval model or plain software.

For a short while it looked as though one giant probabilistic model would take over most of the software stack. What’s showing up looks more like a division of labor. The foundation model keeps the work that justifies its price, which is ambiguity, interpretation, synthesis, novel reasoning and language. Everything else is a candidate to move out.

The model vendors are pulling the other way, and it’s worth looking at what they’re actually shipping. The big APIs now offer structured output as a switch, tool calling is built in, reasoning models check their own work before they answer, and longer context windows let you paste in a whole document set and skip retrieval. From the outside that looks like one model taking the jobs back. Behind the API, the structured output switch runs the same constrained decoding, and the tool the model calls is still ordinary code. The vendor did the unbundling for you and sold it under one name.

Self-checking and long context do put work back inside the model, and both charge for it on every call. A reasoning model pays for its check in output tokens, and a long context window pays to process the same documents again each time. That’s fine for a request you make a hundred times a day. For a decision your system makes a million times a day, a small model built for that one job costs a fraction as much per call, and the bill settles the argument. Pulling a job out has its own cost, since every extra component has to be tested, versioned and watched, so it only pays for jobs that are narrow, frequent and easy to check. Routing, ranking, safety checks and bounded decisions are exactly those jobs.

The usual story of automation runs from symbolic software to machine learning to LLMs to agents, with the model at the center of each step. I’d tell it as programmatic systems, then monolithic foundation models, then decomposed systems where the probabilistic model is one component surrounded by code. Agents belong in that third stage, since an agent is a model wrapped in tools, checks and routing.

Jev is a clean example because it asks the question outright, and I expect we’ll keep hearing it for years: why are we generating language when all we need is a decision?


Posted

in

by

Tags: