Product
When not to use an LLM
Deterministic rules, search, forms or classic ML are often better, cheaper and more reliable.
What it is and why it exists
If the logic can be written as rules, the answer is a database lookup, the input is a form, or a small classifier does the job, an LLM adds cost, latency and unpredictability. LLMs shine on unstructured language, fuzzy matching and generation.
Quick prototype
LLM for everything.
In production, at scale
LLM only where the task needs language understanding or generation; deterministic code around it for everything that can be exact.
Vendors and tools
| Rules engines / search / classic ML | Often the right tool |
|---|
How it fails
- An LLM computing tax amounts
What the interviewer asks next
Give an example where you’d say no to an LLM.
Calculating a refund amount from a policy table: use code. Let the LLM explain the result in plain language.