Stage 3 · Teens · Advanced Topics

When Not to Use an LLM

Parsers, lookups, and classifiers still win when the problem is not messy language.

LLMs are strong at messy language: paraphrase, incomplete sentences, "do what I mean." They are a weak default for known structure, exact lookups, and high-volume labels you can define with rules or a small classifier.

If you can write a precise spec of success — a regex, a SQL query, a schema, a finite state machine — start there. Use an LLM for the residue that genuinely needs language understanding, or as a fallback when the parser fails.

Same Logs, Two Extractors
2026-08-12 shipped ORD-104221 to Austin refund opened for ORD-104198 see also ticket T-88
ORD-104221, ORD-104198, ORD-104300
~800ms · ~$0.002 · invented ORD-104300
The model almost gets it, then fabricates a plausible extra ID that never appeared. At 100k log lines/day that is both expensive and wrong in a way that is hard to audit.

Same log lines: the model invents an extra order ID; the regex does not.

All lessons in Stage 3: Agents and safety