Decision Models for AI Agents: From Token-by-Token Generation to Direct Selection
Decision models offer a lower-cost alternative for AI agents that repeatedly choose among a few actions: instead of generating text token by token, they score candidate options and return a probability distribution. This article covers the cost of generative decision-making, how decision models are trained, what to evaluate (latency, calibration, generalization, and option scale), where they fit and where they do not, and key deployment and selection considerations.
The Cost of Generative Decision-Making
Agents make many small decisions every day: which button to click, which email to answer first, whether to call an API, or whether to hand a task to a human. These decisions look simple, but they recur constantly. Even a low per-decision cost can add up.
Traditional large language models handle such problems by writing out the answer one token at a time. The model first writes a reasoning process, then writes the selected action. Every new token requires a full computation, so longer outputs mean higher latency and cost. In long-chain tasks, an error in an earlier step can propagate through later steps, and the error gradually accumulates.
This approach is not without value. Drafting emails, explaining code, and planning multi-step tasks inherently require generated content. The problem is that when the task is simply to pick one option from a few candidates, applying the same generation pipeline spends a large amount of compute on text that is irrelevant to the result.
How Decision Models Work
Decision models take a different approach. They do not output natural language. Instead, they receive the current state and candidate options, assign a score to each option, and convert the scores into a probability distribution. The caller can directly select the option with the highest probability, or use the probabilities to set thresholds that decide whether to execute automatically or send the case for human confirmation.
This design has two direct benefits. First, the output consists only of option probabilities, with no intermediate text, so computation is concentrated on the judgment itself. Second, the candidate set can be relatively large; the model evaluates all options in one pass instead of generating each one and comparing them afterward.
Training this type of model requires different data. Training samples usually include the current state, a problem description, candidate options, and the labeled correct option. A good dataset includes options that look plausible but are actually wrong; otherwise, the model cannot learn to discriminate between them. The training objective also changes from “predict the next token” to “rank candidates and produce reliable probabilities,” so evaluation criteria must change accordingly.
What to Evaluate in Decision Models
Many people look at leaderboard scores first, but a score only shows how a model performs on one set of questions. When selecting a model, it is better to validate it yourself across the following dimensions.
The first is latency. Median latency is useful, but tail latency matters more—for example, the 95th and 99th percentiles—because these numbers determine user experience and system stability. When measuring, record the hardware type, batch size, input length, and whether cold-start time is included. The same model can produce very different numbers under different conditions, so before comparing two sets of results directly, confirm that the test conditions are consistent.
The second is calibration. Calibration measures whether the probabilities a model provides are reliable. If a batch of predictions all have a probability of 85%, then the actual hit rate for those predictions should be close to 85%. A common metric is Expected Calibration Error, which groups predictions by probability and computes the difference between each group’s average probability and its actual hit rate. Only a well-calibrated model is suitable for using probabilities for risk tiers and threshold-based decisions.
The third is generalization. Questions in public test sets may already appear in a model’s training data. A more reliable approach is to prepare a set of business-relevant samples that have never been made public, run a blind test before launch, and observe how much performance drops relative to the public test. A smaller drop indicates that the model relies less on memorization.
The fourth is option scale. The number of candidate actions in production varies by scenario. Tests should approximate the real scale rather than only checking the theoretical maximum number of options a model supports.
Appropriate Use Cases and Boundaries
Decision models are suitable for high-frequency, structured scenarios with clearly defined options, such as email classification, ticket routing, API routing, selecting page elements, and deciding whether human review is needed. These scenarios have clear problem boundaries, and errors can be controlled through thresholds and fallback processes.
Some tasks should still be handled by generative models. Open-ended content creation, complex semantic understanding, long-text analysis that requires explanations, and tasks that need long-chain planning all require the model to generate complete text or plans. A decision model can be one stage in such workflows, but it is not suitable for handling these tasks on its own.
A common combination is for a generative model to propose options and a decision model to choose among them. The former answers “what can be done,” while the latter answers “which one to choose now.” When responsibilities are clearly divided, the system is easier to test and problems are easier to locate.
Deployment and Selection Considerations
When choosing model size, start by estimating the hardware budget. Larger parameter counts require more memory and higher inference cost. Quantization, batching, and caching can reduce cost, but each technique may affect accuracy and latency, so it must be revalidated on your own business data.
Local deployment helps protect sensitive data. Customer information, financial data, and internal processes can remain on the enterprise intranet. However, local deployment also means the enterprise is responsible for model updates, security patches, monitoring, and alerts.
Before launch, complete the following checks: confirm that the test set does not overlap with training data; record the conditions under which latency was measured; check probability calibration and set thresholds; design a human review path for low-confidence decisions; and log the input, output, and final outcome of each decision for post-hoc analysis.
Conclusion
The value of decision models is that they make “which one to choose” faster, cheaper, and easier to measure. They cannot replace generative models, nor are they suitable as a general-purpose solution. For teams building agents, a safer approach is to run a small-scale validation on their own data first, confirm that speed, cost, and reliability meet requirements, and then gradually expand usage.
