A local AI model is only useful if it fits in memory and answers fast enough that people keep using it. Those two constraints eliminate most of the models in the headlines.
This page is about the ones that fit, the tasks they handle well, and the test that tells you whether a local model is good enough before you buy the machine.
The arithmetic that decides everything
A model's memory requirement is roughly the number of parameters times the bytes per parameter, plus the KV cache for the context you want to serve.
A 30B model at 4-bit precision is around 15 to 18GB of weights, plus cache and overhead. That fits comfortably in a 128GB unified-memory machine, which is why a 30B model in NVFP4 is a practical local workhorse. A 70B model at the same precision is roughly 35 to 40GB of weights, still possible on a large machine but slower and with less room for context.
A frontier model is not in this conversation. It runs on a provider's cluster, and no single machine you can buy will match it.
What a local model does well
Classification. Sorting incoming documents, tagging support tickets, routing email. The task has a small set of right answers, and a small model can learn the pattern from the prompt.
Field extraction. Pulling a date, an amount, a purchase order number, or a party name out of a form. Local models are good at this when the layouts are consistent.
Retrieval over a known document set. Answering a question from a set of files you control, with the source attached. The model does not need to know everything. It needs to read the passage it was given.
Drafting from a template. A first draft of a status update, a follow-up email, or a summary, with a person editing. The bar is "useful starting point," not "send without reading."
Coding on a known codebase. A 30B coding model handles conformance passes, small refactors, test scaffolding, and bulk edits. That is the setup I run locally: opencode as the agent, a 30B model served by vLLM, with prefix caching on.
What it does not do well
Multi-document reasoning. Comparing five contracts, reconciling three reports, or finding the contradiction across a long file set. A local model loses the thread, and the failure is quiet.
Ambiguous instructions. "Make this better" is a frontier task. A local model will produce something plausible and wrong.
Long outputs with structure. A 3,000-word deliverable with consistent sections is harder for a small model than a 300-word answer. Quality degrades before the context limit does.
Anything that needs current world knowledge. A local model has a training cutoff and no browsing unless you build it. Do not ask it what a vendor announced last week.
The task fit table
| Task | Local fit | Why |
|---|---|---|
| Document classification | Strong | Small answer space, repeatable |
| Field extraction | Strong | Pattern matching on layout |
| Retrieval QA over your files | Strong | The passage carries the answer |
| Template drafting | Good | Human review catches the rest |
| Code maintenance | Good, 30B class | Narrow edits, clear tests |
| Multi-document comparison | Weak | Needs long-range reasoning |
| Open-ended analysis | Weak | Frontier task |
| Customer-facing chat | Conditional | Only with a tight scope and escalation |
How to test a local model before you buy
Do not use a public benchmark. Use 30 real examples from the workflow, with the answer you would accept.
- Pick 30 items that represent the normal case, the messy case, and the edge case.
- Write the correct output for each one, by hand, before you run the model.
- Run the model on all 30 with the exact prompt you plan to use.
- Score each output as pass, acceptable with edit, or fail.
- Set a threshold before you look at the results. I use 90 percent pass for extraction, 80 percent for drafting.
- If it misses, try a different prompt or a different model. Do not lower the threshold.
This test takes a day. It saves a hardware purchase.
Small model plus tools beats a big model alone
A local model with a calculator, a database query tool, and a document search can answer questions that a much larger model would guess at. The pattern is the same one that makes agents useful: let the model decide which tool to call, and let the tool produce the number.
That is also how a 30B model stays useful on business data. It does not need to know your revenue. It needs to call the system that does, and then read the result.
Serving it properly
The difference between a demo and a tool is in the flags. From my own setup:
- Bind to loopback, not the network.
- Enable prefix caching so repeated instructions are not reprocessed.
- Cap GPU memory utilization at 0.70 so the host survives.
- Cap concurrent sequences at 16 so the KV cache cannot run away.
- Pin the model version and test an upgrade before switching.
A model served badly feels like a bad model. Before concluding that a local model is not good enough, check the serving configuration.
The cost comparison, honestly
A local model has a fixed cost: the machine, the power, the cooling, and the attention. A hosted model has a variable cost: tokens.
At 10 requests a day, the hosted model is cheaper by a wide margin. At 10,000 requests a day with a narrow task, the local model can win. In between, it depends on the task and the hardware you already own.
The comparison that matters is cost per successful task, not cost per token. A local model that fails 20 percent of the time is more expensive than its token price suggests, because a person is redoing the work.
Where local deployments fail
The model was tested on the demo, not the job. Three examples is not a test.
The prompt was written for a frontier model. Long, nuanced instructions overwhelm a small model. Shorten the prompt, add examples, and give it one job.
The context is too long. A small model degrades as the context grows. Retrieve less and put the relevant passage first.
Nobody measured the failure rate. The workflow ships, the errors are absorbed by staff, and the project looks successful until someone adds up the rework.
Related
- Private AI for business: the configurations and the trade-offs.
- On-premise AI: hardware, power, and ownership.
- Self-hosted AI: the stack and its failure modes.
- Model routing: when to send a task to a local model and when to escalate.
- What private AI costs: the fixed and variable lines.
Questions owners ask
It depends on the task. Classification and extraction work with small models. Drafting needs more. Multi-document reasoning needs a frontier model. Test on your task before choosing a size.
For narrow internal tasks, often yes. For open-ended analysis and writing, usually not. A hybrid gives you both without pretending one model does everything.
It can, especially on reasoning tasks. At 4-bit, extraction and classification usually hold up. Test the quantized version you plan to deploy, not the full-precision benchmark.
Enough for the weights, the KV cache, and the host. A 30B model at 4-bit fits comfortably in 128GB of unified memory. Leave headroom; a machine running at 100 percent is a machine that will fail under load.
Only if the memory allows it. Most single-machine deployments run one model and route tasks to a hosted model for the rest. That is a better use of the hardware.

