CFOtech Ireland - Technology news for CFOs & financial decision-makers
Ireland
Not Every AI Decision Needs an LLM

Not Every AI Decision Needs an LLM

Thu, 26th Nov 2026 (Today)
Jeff Kuo
JEFF KUO Founder/CEO Ragic Inc.

Businesses use AI to support a growing range of workflows, but sometimes large language models (LLMs) bring too much processing power to simple tasks. AI processing isn't free, and using LLMs for every step of a workflow can become costly and introduce errors.

Management may view AI as an efficient way to streamline customer service, but every customer request still requires processing, consuming billable AI tokens and potentially driving up costs.  If each evaluation invokes a general-purpose LLM, processing costs can quickly add up, even when only a few requests require action.

Part of the problem is that classification work can be easy to overlook when budgeting for AI. When an AI agent drafts a response, the output is visible and the processing involved may seem intuitive. Classification, by contrast, produces little that users can see: a request is routed to the right department, an urgent issue is flagged, or a case is sent for human review. Because these decisions appear simple and generate little visible output, businesses may underestimate the AI computational work they require.

These smaller decisions rely on classifiers, machine learning algorithms that automatically assign a category, class label, or group to an input based on its features. A single classification may seem insignificant, but when an AI agent makes thousands of these decisions across a large operation, the cumulative processing costs can become substantial.

To make AI workloads more economical, organizations should choose the right tools for each workflow step, whether that step requires a classification or an AI agent. Understanding how to apply explicit rules, specialized decision models, and general-purpose LLMs in business automation helps control costs while keeping workflows useful and accountable.

What Is the Best AI Approach for the Task?

Choosing the right tools for a workflow starts with identifying the simplest, most effective way to handle each task. Sometimes that means using conventional software and explicit business rules rather than AI. Other tasks benefit from specialized AI models or the broader capabilities of large language models (LLMs). 

There are three main approaches to consider:

  1. Explicit business rules (no AI required): Deterministic software applies predefined conditions to produce predictable outcomes.
  2. Specialised AI models or classifiers: These models interpret inputs, such as text, and assign categories or select from a defined set of outcomes.
  3. General-purpose LLMs: These models generate language, interpret complex requests, and apply broader reasoning to address less-defined problems.

Consider processing an overdue invoice. If the due date has passed and a balance remains outstanding, conventional software can flag the invoice using a straightforward rule. An LLM adds unnecessary processing to a task with a clear, deterministic answer. If the task instead requires interpreting a customer's explanation for a late payment and determining the appropriate response, an AI model may be useful. The key is to match the approach to the task rather than defaulting to AI for every step of a workflow.

What if a customer emails, "We were charged twice after changing our plan." To assign the responsibility to customer service or finance, the system must interpret the message. A classifier agent can assess the meaning and route it to the right department using a defined list, whereas a simple keyword rule may struggle to route the same request correctly.

The issue may need further investigation. Someone may need to track the request, understand the circumstances, and explain the outcome, though an LLM can help draft a response using verified account information, with appropriate review.

Each task has different decision requirements. Using an LLM to treat them all as one large prompt can make the workflow harder to evaluate and more expensive to run. It also increases room for error. Breaking the decisions into separate parts lets the business apply explicit rules to known conditions, reserving model inference for steps that require interpretation and a response.

Jev, Laya, and Bounded Judgements

TypeSafe's Jev is gaining momentum as a solution for making structured decisions inside software to reduce processing overhead. 

Jev reads text and returns a choice, score, or probability that the code can use directly, rather than writing text, holding conversations, or generating code. Jev is a specialized decision model, that provides three types of structured judgments: Choice selects among predefined options, Score rates an input against defined levels, and Noul estimates the probability that a yes-or-no condition is true.

For instance, an incoming customer message needs to be routed to the appropriate team. The possible choices are sales, support, billing, or other. Jev makes it easier to route the message properly, since it can choose the best option from the available choices and score the request for urgency. A complex or unclear request would require a larger reasoning model or routing to a human agent. However, it does not guarantee the right choice. Even a well-formed answer may still be wrong.

Using Jev for task classification can yield substantial savings compared with AI agents. In an independent test, Ragic engineers compared using an AI agent to Jev classification to help a sales team track customer queries, update categories, and generate follow-up tasks. The engineers expected that the agent would cost less than $1 per month, but it ran more than 10,000 times over several weeks. At an estimated $0.02 per run using Gemini Flash, the total cost was about $200. Switching to Jev to classify tasks yields an estimated 97% to 98% savings over agent costs.

Laya from ConvAI Innovations is available as an open-source alternative to Jev. that can also evaluate text and return structured judgments in lieu of prose responses. This makes it easier to incorporate into workflows.

For example, Laya can process an incoming customer email and:

  • Choose whether it belongs to billing, support, or sales.
  • Score the message for urgency.
  • Estimate the probability that the message expresses an intention to cancel an order.

Where Jev is hosted, Laya offers downloadable models under an Apache 2.0 license, including a version fine-tuned for specific workflows. Businesses should test the selected model on their own data and decide whether they need additional fine-tuning. Self-hosting also requires computing resources, maintenance, and evaluation.

The structured outputs of both Jev and Laya can simplify integration into business processes. When a workflow calls for a category choice rather than an explanation, a specialized model may be a better option because it costs less or has lower latency. You must test the workflow to confirm it's accurate enough. 

Match Each Decision to the Right Tool

Before assigning an LLM, examine the decisions the workflow needs to make. Some tasks will follow explicit rules, while others must interpret information within defined categories. Only certain steps need the broader reasoning or language generation an LLM provides. Separating those tasks can reduce unnecessary model calls while keeping the workflow under control.

Apex Unlimited Services, a vegetation management company, handles much of its operational work using explicit logic rather than AI agents. Its business automation connects proposals, jobs, invoices, field reports, and equipment maintenance. When an employee reports an equipment problem, the workflow uses answers to safety and usability questions to determine priority. When the specified criteria are met, the system removes the equipment from the available asset list until it can be repaired or inspected. Built-in software features and JavaScript execute those rules without requiring an LLM to reconsider them for every report.

A written report may introduce a different task, such as interpreting an employee's description of a problem. A specialized decision model could classify the report using predefined maintenance categories, with explicit rules to govern notifications, permissions, and equipment availability. An LLM could summarize a lengthy repair history, but classification wouldn't require an AI agent.

Customer service might follow the same principle. A specialized classifier can route incoming customer messages to billing, technical support, or sales. Once the message is assigned, a routine request may need only a database query and a standard response. A more complicated issue may warrant an LLM or a specialist. This avoids invoking a general-purpose model for every decision along every path.

Any workflow also needs to handle uncertainty. When classification is unclear, application logic should send the case for further assessment. Confidence thresholds must be tested against actual outcomes, and an "other" category applied to give unfamiliar requests a review path. The aim is to use the least resource-intensive approach that meets the task's accuracy and control requirements, reserving LLM calls for the steps where they add value.

AI can be a valuable business automation tool, but to make it cost-effective, match the tool to the task and measure the cost of getting the right results. Businesses should measure human review efforts, test accuracy, and assess operating costs using real-world cases. Combining explicit business rules, specialized models, and LLMs where each adds value can make workflows more efficient, reliable, and affordable.