Source excerptSpring AI: Decision Models | Decision Extensions | Demo Applications often need to make decisions with a predefined set of outcomes: Is this message a jailbreak attempt? Which team should handle this support ticket? How helpful is this answer? A chat model can handle these tasks, but the application still has to turn its text reply into a boolean, an enum or a numeric score. Last year we used a chat model and recursive advisors to implement LLM-as-a-Judge. That is still a useful approach, particularly when an evaluation requires general knowledge, reasoning or a written explanation of what went wrong. For many classification and evaluation tasks, however, the input contains all the information needed to make the decision. Specialized decision models can perform these tasks at comparable accuracy, with considerably lower latency and cost, and they provide typed answers together with probability information. In an independent study, Jev came within three points of a frontier chat model on such tasks, at a median latency of 0.15 seconds and less than 1% of the cost. It fell behind where the verdict had to be derived, as in math, code and logic. Spring AI 2.1 adds a DecisionModel API…