INSIGHTS / ARTICLE

Not Every Step in Your AI Workflow Needs an LLM

Most AI cost problems aren't model problems. They're routing problems. Here's how to fix that before full production volume arrives.

Cartoon of executive shocked by token costs from an LLM-only furnace versus a hybrid workflow machine

The fastest way to drain an AI budget is to run deterministic work through a language model. If a step has a right answer — a file comparison, a balance check, a row count — you do not need probability. You need a rule. Sending that step to an LLM means paying for uncertainty on a question that has no uncertainty.

This isn't a theoretical concern. Andreas Horn made exactly this point in a recent LinkedIn post, citing a study by Nextwave and Alteryx that tested two approaches to daily trade reconciliation across 120 trades.

LinkedIn post by Andreas Horn arguing against using LLMs for deterministic computational tasks
LinkedIn post by Andreas Horn on avoiding using LLMs for deterministic work, via LinkedIn.

In the first run, an LLM compared both trade files itself. In the second, the LLM called a deterministic Alteryx workflow via MCP and only interpreted the results. Horn reports the second setup used roughly 20 times fewer tokens — and caught every break. The LLM-only run missed 2 of the 120 trades. In reconciliation, that means someone in finance redoes it by hand.

Horn's conclusion: "An LLM doing deterministic work means paying for probability where you need certainty."

We think this is one of the clearest formulations of a problem we see repeatedly in production AI work. The issue isn't the model. It's what gets routed to it.

One model for everything looks clean on paper

Horn identifies the real reason teams fall into this trap: one model is easier to buy, easier to govern, and easier to explain to a steering committee. So the model becomes the default destination for any step that touches data — including the matching and the rule checks that don't need it.

That's a governance decision masquerading as a technical one. And it has real costs. A language model re-derives the same rule on every run, can return different answers to identical inputs, and leaves no clean audit trail when something goes wrong. For compliance-sensitive work like trade reconciliation or financial reporting, that's not just expensive — it's a liability.

The fix isn't sophisticated. It's a question Horn suggests asking at every step in an agent workflow: does this step have a right answer? If yes, make it deterministic. If the step requires judgment — interpreting ambiguous input, drafting a response, classifying something that doesn't fit a fixed schema — then the model earns its tokens.

The cost shock is still ahead of most teams

What makes this urgent isn't the current spend. Horn's post makes a point worth taking seriously: most of what companies are struggling to pay for today is pilots and experiments. The real production volume hasn't arrived yet.

Editorial cartoon showing an executive shocked by token costs of an LLM-only workflow versus a hybrid approach
A LinkedIn post featuring an Andreas Horn cartoon on the costs of using LLMs for basic deterministic tasks.

The cartoon in his follow-up post captures it plainly: a furnace labeled "LLM ONLY" consuming gold coins, next to a compact machine labeled "HYBRID" with a green checkmark. The CFO's reaction — "We're burning tokens for basic math?!" — is the moment most teams hit when they move from prototype to production scale.

Agentic workflows make this worse in a specific way. Each request is no longer one answer. It's 20, 30, sometimes 50 intermediate steps — and each step re-reads the full context that came before it. The more capable the model, the more tokens it consumes on the reasoning chain, including the parts of that chain that didn't need a model at all.

Hybrid isn't a compromise — it's the correct architecture

Vitalii Chornyi makes a similar point at AgentsExplained: the right question isn't whether a task needs AI. It's which steps within that task need AI. Most real workflows are five or six steps that just move data and follow rules, plus one or two that actually require a judgment call. The n8n team calls this out explicitly in their production AI playbook — deterministic steps and AI steps are different things and should be treated as such.

The practical implication: a well-designed agent workflow uses the model selectively. It calls the LLM to interpret, classify, draft, or reason. It hands everything else — the matching, the counting, the rule checks — to code, scripts, or purpose-built automation tools that run deterministically and leave a clean log.

This also means the most expensive model doesn't belong in every step. A smaller model or a scripted function that handles a straightforward data transformation costs a fraction of GPT-4-class inference. Routing decisions don't need frontier-model reasoning. Formatting a date field definitely doesn't.

Ask the step-level question before you build

The practical test is simple. Before you wire a step into your agent, ask: if I gave this input to a junior analyst with a clear rulebook, could they do it without judgment? If yes, automate it without a model. If the input is unpredictable enough that the rulebook doesn't cover it, that's where the LLM earns its place.

The teams that survive the AI cost shock will be the ones who made this distinction before full production volume hit — not the ones who routed everything through the most capable (and most expensive) model in the room because it was easier to explain in a meeting.

Build the hybrid. Reserve the model for judgment. That's not a limitation on what AI can do — it's how you keep it in production when the invoice arrives.

Frequently asked

What is a deterministic workflow step?
A deterministic workflow step is any step that has exactly one correct answer given a specific input — a file comparison, a balance check, a row count, or a rule-based transformation. It does not require judgment. It requires a rule, a script, or an automation function, not a language model.
Why is routing deterministic work through an LLM a problem?
A language model re-derives the same rule on every run, can return different answers to identical inputs, and leaves no clean audit trail. According to a Nextwave and Alteryx study cited by Andreas Horn, an LLM-only approach to trade reconciliation missed 2 of 120 trades and used roughly 20 times more tokens than a hybrid approach that delegated deterministic checks to a purpose-built workflow.
What is a hybrid AI workflow architecture?
A hybrid AI workflow uses deterministic tools — scripts, automation functions, purpose-built software — for steps that have fixed correct answers, and reserves language models only for steps that require judgment, interpretation, or classification of ambiguous input. The LLM calls the deterministic layer and interprets the results rather than doing the computation itself.
How do I know which steps in my agent workflow need an LLM?
Ask one question per step: does this step have a right answer that a rulebook could cover? If yes, automate it without a model. If the input is unpredictable or requires contextual judgment that a fixed rule can't handle, that's where a language model belongs.
Do I need to use the most powerful AI model for every step?
No. The most capable — and most expensive — models are justified only where the complexity of the task demands them. Routing decisions, data formatting, and rule-based checks can run on smaller models or plain automation at a fraction of the cost. Matching model capability to task complexity is one of the most direct ways to control AI spend before production volume scales.

← Back to Insights

Not Every Workflow Step Needs an LLM — Article · NxtConnect AI | NxtConnect AI