Learn AI · Foundations
When NOT to Use AI
The honest guide to tasks where AI makes things worse, not better. Know when to skip the LLM and use a spreadsheet, a SQL query, or a human instead.
Key takeaways
- 1If the correct answer lives in a database, query the database — don't ask an LLM to guess.
- 2High-stakes decisions (medical, legal, financial) need human review, not AI autonomy — even when the model is confident.
- 3Tasks with zero tolerance for hallucination (account balances, compliance filings, dosage calculations) are not AI tasks.
- 4If you can't build an eval set with known correct answers, you can't verify the AI works — don't ship it.
- 5Sometimes the best AI feature is no AI feature. A well-designed form beats a chatbot for structured input.
The question nobody asks
Every AI product roadmap starts with "what can we build with AI?" The better question is "what should we leave alone?"
The AI hype cycle pushes teams to bolt LLMs onto everything. Most of those features would be better as a form, a filter, a SQL query, or a human process. Knowing when to skip AI is more valuable than knowing how to prompt.
The decision checklist
Before adding AI to any feature, run through this:
- Can I eval it? — Do you have 30+ examples with known correct answers? If not, you can't verify it works. Don't ship.
- Does the answer already exist? — If it's in a database, API, or spreadsheet, query it directly. LLMs guess; databases don't.
- What's the cost of a wrong answer? — Low (suggested emoji)? Ship with confidence. High (medical, legal, financial)? Human review or no AI.
- Is the input structured? — Dropdowns, checkboxes, and date pickers beat chatbots for structured data collection. Every time.
- Will users verify the output? — If users blindly trust AI output without checking, you're building a liability.
If you fail checks 1, 2, or 3 — stop. Use a different tool.
Where AI actively makes things worse
Exact answers from structured data
"What's our Q3 revenue by region?" is a SQL query, not an LLM prompt. The model will hallucinate a plausible number. Your CFO will make decisions on it.
Use instead: SQL, BI tools, APIs, spreadsheets.
This applies to anything where the ground truth lives in a system of record: inventory counts, account balances, employee records, compliance deadlines.
Zero-error-tolerance calculations
Dosage calculations, tax computations, structural engineering loads, aviation weight-and-balance — these need deterministic math, not probabilistic text generation.
LLMs can do arithmetic sometimes. "Sometimes" is not acceptable when lives or money are at stake.
Use instead: Calculators, validated formulas, rule engines.
Real-time or rapidly changing data
Stock prices, weather, sports scores, breaking news — anything that changes minute-to-minute. LLMs are frozen at training time. RAG helps only if your retrieval pipeline is faster than the data changes, which is harder than it sounds.
Use instead: Live APIs, webhooks, traditional search with freshness ranking.
Accountability and audit trails
When someone needs to answer "why did the system make this decision?" in a courtroom, regulatory audit, or post-incident review — LLM outputs don't cut it. You can't explain a probability distribution to a judge.
Use instead: Rule-based systems with explicit decision logs, human decision-makers with documented rationale.
Workflows where the human is the product
Therapy, executive coaching, legal counsel, creative direction — the value is the human relationship, judgment, and accountability. Wrapping an LLM around these doesn't scale the human; it replaces them with something worse.
AI can assist (draft notes, suggest questions), but the human must own the outcome.
Where AI is fine — with caveats
Not everything is black and white. These are the gray zones:
| Task | AI role | Caveat |
|---|---|---|
| Customer support drafts | Suggest reply, human sends | Human must review every message |
| Content generation | First draft, human edits | Never publish raw AI output |
| Code suggestions | Autocomplete, human commits | Tests and review catch errors |
| Data classification | Route tickets, tag documents | Eval the classifier, monitor drift |
| Search enhancement | Rerank results, summarize snippets | Always link to source documents |
| Internal knowledge Q&A | Retrieve + generate with citations | Works when users verify citations |
The pattern: AI proposes, human or system disposes. The moment you remove the verification step, you move from the right column to the "don't use AI" list.
The "we added AI" trap
Three common failure modes when teams add AI because they "should," not because they "need to":
1. The chatbot that should be a form
"We replaced our 5-field intake form with an AI chatbot." Now users type free text, the model extracts fields (sometimes wrong), and support tickets increased because the chatbot misunderstood.
Fix: Keep the form. Add AI behind the scenes if you need NLP on free-text fields.
2. The dashboard that should be a query
"We built an AI copilot for our analytics platform." Users ask "what were sales last quarter?" and the model hallucinates a chart.
Fix: Natural language → SQL translation can work, but show the generated SQL and let users verify before running. Better yet, give them the query builder.
3. The automation that should have a human
"We automated compliance review with an LLM." It misses edge cases. Regulators find out. Fines follow.
Fix: AI flags suspicious items. Humans make final determinations. Log everything.
How to say no (without sounding like a Luddite)
When stakeholders push for AI everywhere:
- Ask for the eval set. "Show me 50 examples where we know the right answer." If they can't, the feature isn't ready — AI or not.
- Calculate the cost of wrong. "If this is wrong 5% of the time, what happens?" Quantify it.
- Propose the simpler alternative. "A filtered dropdown solves this in a week. The AI version takes a month and we can't verify it." Let the tradeoff speak.
- Offer AI where it fits. "I'll add AI to the draft-generation step, but the approval workflow stays human." Compromise without compromise on safety.
The meta-point
The best AI engineers aren't the ones who add LLMs to everything. They're the ones who know when a regex, a SQL query, or a well-designed UI solves the problem better.
AI is a tool, not a strategy. Use it where probabilistic generation adds value. Skip it where determinism, accountability, or simplicity wins.
If you can't eval it, don't ship it. If the answer is in a database, query it. If a wrong answer is expensive, keep a human in the loop. Everything else is negotiable.
Common misconceptions
The wrong-but-common takes worth correcting.
Myth
AI can handle anything a human can — it just needs a better prompt.
Reality
LLMs are probabilistic text generators, not reasoning engines. They fail predictably on exact computation, real-time data, and tasks requiring accountability.
Myth
Adding AI to a product always makes it better.
Reality
AI adds latency, cost, unpredictability, and compliance risk. If a dropdown or a search bar solves the problem, use that.
Myth
We can fix hallucinations with RAG.
Reality
RAG reduces hallucinations on factual retrieval — it doesn't eliminate them. For zero-error-tolerance tasks, RAG isn't enough. You need deterministic systems.
Real-world use cases
Decision framework
Use this article's checklist before adding AI to any feature — saves months of building the wrong thing.
Stakeholder conversations
When leadership says "add AI to everything," this is your evidence-backed counter-argument.
Architecture reviews
Evaluate whether a proposed AI feature should be a SQL query, a rules engine, or a human workflow instead.
Interview prep
When would you NOT use an LLM — know the answer cold for senior interviews.
Open
Frequently asked questions
Watch
Hand-picked videos from official + trusted channels. Opens in a new tab.
- Gary Marcus
Gary Marcus on LLM limitations
The contrarian case — useful even if you disagree, because the failure modes are real.
- Simon Willison
Simon Willison on practical AI limits
A builder's perspective on what LLMs are actually good at vs marketing claims.
- AnthropicOfficial
Anthropic responsible scaling
Official perspective on where AI should and shouldn't be deployed.
Related on AIKnowHub
Concept
LLM Cost Optimization
The operational playbook for cutting LLM spend without cutting quality. Model routing, caching, batching, and the metrics that actually matter.
Concept
Structured Outputs Explained
Structured outputs make models return valid JSON every time — no more parsing failures, no more 'almost JSON.' Here's how they work and when to use them.
Concept
AI Ethics Explained
What AI ethics actually means in practice — beyond the principle-statements. Real incidents, current regulation, and what builders are responsible for.
Tool Guide
Langfuse Guide
The definitive guide to Langfuse for LLM observability — traces, prompt versions, evals, cost tracking, self-host setup, and when to pick it over Braintrust or Phoenix.
Workflow
Build an AI Docs Chatbot
A RAG-powered chatbot that answers questions from your documentation with citations — the kind every SaaS site needs in 2026.
Prompt
Competitive Analysis (No BS)
Get a clear-eyed competitive landscape, not a generic feature matrix.