Raphael Friedmann
← Understanding AI

When not to use AI: an operations view

When reaching for an LLM is the wrong choice, and a simple heuristic for telling those cases apart.

Most guidance covers where to use AI. In operations, knowing when not to use it is at least as valuable. Reaching for an LLM where it does not belong does not just waste effort, it adds a confident, plausible failure mode to a system that did not have one before.

The four times to put it down

When you need determinism. Same input, same output, every time. That is the foundation of anything automated you actually trust, and an LLM does not offer it: ask twice, get two phrasings, occasionally two different answers. For a pipeline, a check, a gate, that rules it out. A script produces identical output on every run, which is what production needs.

When a normal tool already does the job. A regex, a jq filter, a parser, a proper API. If the problem is well-defined, the deterministic tool is faster, free, testable, and does not hallucinate. An LLM in that role adds cost and variance without adding value.

When you cannot afford to verify, and cannot afford to be wrong. The model is confidently wrong sometimes, and fluently so. If checking its answer is as much work as doing the task, it saved you nothing. If you skip the check because it sounded right, you have shipped an undetected error.

When it has to act unattended. Drafting for a human to approve is the ideal case. If the model takes an action on production with nobody reading it first, an occasional error becomes an incident.

The common risk behind all four

In each case the demo works. The model handles the obvious 80% well, so the problem looks solved. The risk is the other 20%, where it fails not loudly but plausibly, producing something well-formed and wrong that a reviewer can easily miss. Deterministic tools fail in visible ways. LLMs fail in fluent, less visible ones, and that is the failure mode operations processes are least equipped to catch.

A practical heuristic

Before reaching for an LLM, two questions:

Good fit if

  • The input is messy or natural language
  • A human reads the output before it acts
  • Being roughly right, fast, is valuable

Wrong tool if

  • You need the same answer every time
  • A regex, parser, or API already does it
  • Nobody will check it, and wrong is costly

That is the whole filter. Messy input plus a human check makes a good use of an LLM. Determinism, ground truth, or unattended action means you should reach for something else.

Read it top to bottom, and stop at the first yes:

A quick filter: when NOT to reach for an LLM
Need the same answer every time? -> plain tool Can you not verify the output? -> plain tool Must it act unattended? -> plain tool otherwise: an LLM is a fine fit
Any yes above means a deterministic tool will serve you better than an LLM; only when all three are no does the model earn its place.

None of this argues against AI. I build entire systems with these models. It is a long-standing operations principle applied to a new tool: use a tool where it fits, know where it does not belong, and keep it out of those places.