Don't Spend a Model on What a Rule Can Do: A Local-First Manual for Everyday Automation
2026-08-03 · 12 min read
Your receipt does not need a conversation.
Your thermostat does not need an agent. Your photo folder does not need a data center. A date in a PDF needs Find. A total needs a calculator. Printed text needs OCR. A fixed warning light needs a rule.
Sending all of that to a general-purpose generative model is not sophistication. It is failing to choose a tool.
When routine computing becomes a metered cloud conversation, people pay in token credits, network dependency, disclosure risk, and electricity they cannot inspect. The problem is not that generation exists. The problem is making it the tollbooth for work that ordinary computers already know how to do.
This is not a model ranking, a buying guide, or an affiliate pitch. It takes the user's side:
Use the least powerful tool that can finish the task. Climb only when the lower rung fails.
Local-first is a routing rule, not a purity test. The goal is not zero AI. It is justified AI.
The LOCAL ladder
Run this test before opening a chatbot.
| Rung | Start here | Move up only when |
|---|---|---|
| L — Locate | Original document, official manual, saved answer, public dataset | The source does not resolve the task |
| O — Ordinary software | Search, sort, calculator, formula, regex, parser, OCR, barcode decoder | A fixed procedure cannot handle the variation |
| C — Compute close | On-device or approved on-premises classifier, detector, or speech recognizer | Local tools cannot resolve genuine ambiguity |
| A — Ask | A bounded generative request for synthesis, explanation, translation, or drafting | Another system truly must be changed |
| L — Link last | A connected service with an exact preview and human approval | Never move past an irreversible action without consent |
The 30-second version:
- Is the answer already present?
- Can an exact rule produce it?
- Can a narrow detector recognize it locally?
- What does generation add that extraction cannot?
- Does anything really need permission to act?
Use probabilistic generation for ambiguity. Use deterministic software for facts and rules.
Most “AI tasks” are smaller than they sound
The useful question is not “Which model should I use?” It is “What operation is this?”
| Job | Smallest useful tool | Not the default |
|---|---|---|
| Find a clause or date | Text search; local OCR for a scan | Uploading the entire document |
| Check a total | Spreadsheet formula or calculator | Asking a language model to do arithmetic |
| Read a QR or product code | Local barcode decoder | Sending a photograph to a vision model |
| Validate an email, invoice, or order number | Parser, lookup table, regex plus test cases | Generating a likely-looking answer |
| Detect motion in a fixed camera | Background subtraction | Captioning every frame in the cloud |
| Recognize a stable icon or mark | Template matching or thresholding | General visual reasoning |
| Sort repeated messages | Scored rules, then a small local Bayesian classifier | A remote agent reading the whole inbox |
| Flag unusual sensor readings | Threshold, moving average, then a validated anomaly detector | A chatbot deciding what is dangerous |
These tools are not “less intelligent.” They are narrower—and narrow is often better. Their inputs are bounded, their output can be tested, and their failure does not arrive disguised as fluent prose.
Classical machine learning still matters. Logistic regression, Naive Bayes, decision trees, support-vector machines, random forests, and isolation forests can run on ordinary CPUs without generating a single token. OpenCV provides local thresholding, template matching, and background subtraction. Tesseract turns local images into searchable text. None requires a remote conversation to complete the core job [3, 4, 5].
Energy: measure the task, not the slogan
First, keep the units straight:
- Watts (W) measure power at a moment. - Watt-hours (Wh) measure energy used over time. - Tokens are billing or workload units, not units of electricity.
There is no honest universal energy price for “one AI prompt.” Model size, task, output length, hardware, batching, location, and accounting boundary all matter. Reasoning, agentic workflows, and video can require hundreds or thousands of times more electricity per query than simple text generation [1].
The system-level trend is clear. The IEA reports that global data-center electricity demand rose 17% in 2025, while electricity use by AI-focused data centers rose 50%. It projects total data-center use to grow from 485 TWh in 2025 to about 950 TWh in 2030 [1]. That is not a per-prompt figure, and not all data-center demand is AI.
So make the narrow claim you can defend: skipping an unnecessary model call avoids that model call. It saves the associated token charge and remote inference. It does not make the local device impact-free.
Do not buy an oversized GPU to perform a job that a dormant CPU, spreadsheet, or ten-line rule can handle. Local-first includes the hardware already on the desk.
Five everyday jobs, routed correctly
1. Find a deadline in a PDF
- Get the original document and confirm its issuer and date.
- Search for
deadline,before,within,expires, and the relevant month. - If the page is an image, run OCR locally, then search again.
- Record the exact sentence and page number. Inspect the page yourself.
Only escalate when conditions are scattered across sections or genuinely ambiguous. If generation is needed, send the relevant pages—not the complete personal file—and demand an answer that separates exact wording, interpretation, and uncertainty.
The final record should be four fields: date, action, exact source line, page. That is more useful than a polished paragraph.
2. Check a bill or receipt
Keep the raw document on the device.
- OCR the merchant, date, line items, tax, credits, and printed total.
- Validate fixed fields with rules: date format, currency, known account suffix, and required invoice pattern.
- Put the figures in a spreadsheet.
- Calculate
sum(line items) + tax − creditsand compare it with the printed total. - Mark unreadable digits as
UNKNOWN; never fill them with a plausible guess.
Use a model only if you need a plain-language explanation of a verified fee. A language model may organize figures, but the formula remains the authority.
3. Sort files, photos, and messages
Start with metadata, not content:
- filename and extension - sender or domain - creation date and location metadata - exact hashes for duplicate files - perceptual hashes for near-duplicate images - a known folder or label vocabulary
If rules leave a meaningful remainder, train a small local classifier on examples you have reviewed. Keep an UNKNOWN bucket. Measure false positives and false negatives before moving files automatically.
For mail, scored rules plus a small Bayesian classifier can be effective and inspectable. Quarantine uncertain messages; do not auto-delete them. Apache SpamAssassin's own documentation warns about false positives and supports per-user Bayesian learning [6].
A remote model should not read an entire mailbox merely to learn that receipts from one domain belong in one folder.
4. Detect a household or workshop condition
Use a rule before a predictor.
IF temperature stays above 30 °C for 10 minutes:
alert once
RESET only after temperature falls below 28 °CThat two-degree gap is hysteresis. It prevents repeated alerts near the boundary. Add a moving average if the sensor is noisy. If a fixed threshold cannot capture normal variation, test a local anomaly detector on recorded data and publish its false-alarm rate.
Detection is not diagnosis. A detector may say “different from baseline”; it cannot safely infer a gas leak, electrical fault, fire, or medical event without purpose-built equipment and accountable human judgment.
5. Research without enclosing the commons
Begin with public, inspectable sources: official documents, standards, public datasets, libraries, archives, and maintained community documentation.
Create a source ledger before drafting:
| Author | Title | Date | Link | Claim supported | |---|---|---|---|---|
Search, filter, bookmark, and extract locally. Escalate to generation only when synthesis across sources adds real value. Then cite the originals, distinguish source support from inference, and publish in a portable format with a correction route.
A public link is more democratic than an uncitable answer trapped in a private chat.
Public research should not become a private tollbooth for ordinary computing. Preserve the trail that lets the next person verify, reuse, and improve the work.
Prove that the “efficient” workflow is efficient
Measure a fixed batch—say 100 receipts, 100 images, or one week of sensor readings—rather than showing one favorable demo.
| Metric | How to record it |
|---|---|
| Remote usage | Model calls, input/output tokens, and retries per completed task |
| Local energy | Plug-in meter reading for the batch; subtract the device's idle energy over the same duration |
| Accuracy | Correct outputs, false positives, false negatives, and UNKNOWN results on a reviewed test set |
| Latency | Median and slowest useful completion time |
| Disclosure | Bytes or records sent off-device |
| Resilience | Whether the core task still works with the network disconnected |
| Portability | Whether rules, data, and results export to documented formats |
For a rough incremental measurement:
task energy (Wh) ≈ (average task W − idle W) × task hoursState what the measurement excludes. A serious accounting may also need device manufacture, networking, training, water, batteries, and e-waste; current ITU guidance therefore treats AI environmental assessment as a life-cycle problem [7].
Local is not automatically greener. Cloud is not automatically more efficient. The defensible comparison is the smallest sufficient workflow, measured end to end.
The public-interest test
A tool serves the person using it when the answer to most of these questions is yes:
- Can the basic job run without an account or permanent connection? - Can I inspect the rule, threshold, source, or decision log? - Can I export my inputs and outputs in a documented format? - Can I replace one component without rebuilding the whole workflow? - Can I contest an error and correct the record? - Can the organization operate it on-premises when privacy or continuity requires that? - Does an external action require a preview, explicit approval, and recovery path?
A free tier is not a commons. An API coupon is not ownership. “Weights available” is not automatically open source.
The Open Source AI Definition requires the freedoms to use, study, modify, and share a system, plus access to its preferred form for modification: sufficient data information, code, and parameters [8]. UNESCO's AI ethics recommendation adds proportionality, human oversight, sustainability, and a prior question public authorities should ask: is AI appropriate here, and if so, which method? [2].
Open code alone does not guarantee safety or democratic governance. But democratic technology has concrete properties: people can inspect it, contest it, leave it, and keep operating. Open standards and portable data make that exit real [9].
When a generative model earns its cost
Generation is useful when the remaining work has no fixed answer:
- reconcile messy or conflicting evidence - explain a difficult idea for a particular reader - translate tone and context, not just words - synthesize several verified sources - draft something genuinely new
Even then:
- Extract and validate facts locally first.
- Send the smallest necessary excerpt.
- Choose the smallest capable model; use an approved local or on-premises model when practical.
- Cap the output, avoid retry loops, and reuse verified results.
- Require source links for factual claims.
- Keep sending, buying, deleting, publishing, and safety decisions behind human approval.
The cloud is an escalation path, not a reflex.
Keep this rule
Locate the source. Use ordinary software. Compute close to the user. Ask a generative model only for the ambiguity that remains. Link it to other systems last.
Efficiency is not asking a data center to be slightly greener while routing every task through it. Efficiency is refusing to call it when a search box, formula, checksum, decoder, threshold, or narrow local classifier will do.
Save the model for the part that needs a model. Keep the sources, files, decisions, and right to switch in human hands.
Cite this guide
A Nguyễn (Nguyễn Hưng Tuấn Anh / Kody Anh Nguyễn). (2026). Don't spend a model on what a rule can do: A local-first manual for everyday automation. EFFOMA Practice Guide. https://effoma.com/blog/dont-spend-a-model-local-first-ai-manual
References
- International Energy Agency. Key Questions on Energy and AI: Executive Summary. 2026 Apr 16. Accessed 2026 Aug 3.
- UNESCO. Recommendation on the Ethics of Artificial Intelligence. 2021. Accessed 2026 Aug 3.
- Tesseract OCR. Documentation. Accessed 2026 Aug 3.
- OpenCV. “Image Processing Tutorials.” Accessed 2026 Aug 3.
- scikit-learn. “Novelty and Outlier Detection.” Accessed 2026 Aug 3.
- Apache SpamAssassin. “Mail::SpamAssassin::Conf.” Accessed 2026 Aug 3.
- International Telecommunication Union. ITU-T L.1801: Framework for Environmental Impact Assessment of Artificial Intelligence Systems. Approved 2026 Feb 6. Accessed 2026 Aug 3.
- Open Source Initiative. The Open Source AI Definition 1.0. Accessed 2026 Aug 3.
- Foundation for Public Code. Standard for Public Code. Accessed 2026 Aug 3.