Illustration titled Local AI Readiness: a person at a desk reviewing a local AI server, GPU and readiness checklist

Local AI: Hardware, Costs and Hallucination Risks

“Let’s run the model locally” usually comes from a good place. The data stays closer to home, there is no per-token bill, and the security team relaxes. Some of that is true. But local AI is a different set of costs and approvals, not an absence of them. This post is a checklist for teams deciding whether a local deployment is ready to start.

What “local” actually means

Local can mean a laptop, a workstation under someone’s desk, a server in the company’s own data centre, or dedicated machines in a private cloud. Each has a different owner, budget and approval path. “Local” also does not mean “air-gapped”. A model on your own server can still call external tools, pull updates or send logs out. Decide which one you mean before you plan anything.

1. Compute: start with memory, not speed

The first hard limit is memory. A model’s weights have to fit in the GPU’s memory (or, more slowly, in system memory). A rough rule: the number of parameters multiplied by the bytes used per weight.

  • A 7-billion-parameter model at 16-bit precision needs roughly 14 GB for weights alone.
  • The same model compressed (quantized) to 4-bit needs roughly 4 GB.
  • A 70-billion-parameter model at 16-bit needs roughly 140 GB, which is more than a single GPU holds.

These are approximations. Add working memory for the conversation context (the KV cache), which grows with longer documents and more simultaneous users, plus overhead for the runtime. Always test with your own documents and context length, not a short demo prompt.

Then ask about speed. Two numbers matter: how long a user waits for the first words, and how fast the rest arrives. Long documents slow the first one down. Several users at once slow both. A setup that feels instant for one tester can be unusable for ten.

Hardware components in plain terms

Buyers often get a quote that lists parts they cannot compare. These are the ones that shape whether a local AI server suits your workload.

  • GPU memory (VRAM). The model’s weights and the working memory for each conversation have to fit here for the best speed. Compressing (quantizing) a model can let a larger model fit on the same hardware, with the accuracy checks described below.
  • System RAM. Some runtimes can split a model between GPU memory and system RAM when it is too large for the GPU. The part that runs from system RAM does not get the GPU’s acceleration, so measure response time before you rely on it.
  • Memory bandwidth. When a model writes its answer one word at a time, the speed is usually limited by how fast data moves from memory, not only by raw compute. Two machines with the same memory size can feel different to users.
  • Unified memory. On some workstations the processor and graphics share one pool of memory. Whether a given model runs fast enough there is something to test, not assume.
  • CPU-only inference. Some runtimes can run a model on the processor alone. Whether that meets your response-time and user-count needs is a measurement to make for your own task.

Ask the vendor or your IT team to state, for your chosen model, how much GPU memory it needs at your document length and user count, and what response time they measured. A number on a spec sheet does not replace a test with your own examples.

Inference software and model formats

The hardware is only half of the setup. An inference engine (also called an inference backend) is the software that loads the model and answers requests. It affects speed, how many users can share one GPU and which model formats you can use. Some serving engines report how much conversation memory (KV cache) fits on the GPU and give an estimate of how many requests can run at once, which is a useful number to ask for. A quantized version of a model can behave differently from the original, so re-run your own examples on the exact model version you will deploy. Write down which engine, model version and settings passed, and test again when any of them changes.

Worked examples: matching AI models to a graphics card or an Apple Silicon Mac

The memory rule above is easier to apply with real numbers. These examples are estimates for the model weights only. Your own tests decide the real limit.

Take Mistral 7B, an open model that its publisher describes as a 7.3-billion-parameter model released under the Apache 2.0 licence. Its parameter count is the starting point for any memory estimate. At 16-bit precision, 7.3 billion parameters at 2 bytes each come to roughly 14.6 GB. A quantized 4-bit version of the same model comes to roughly 3.7 GB. Add the conversation memory and runtime overhead described earlier. For 7B models like this one, the weights are the smaller part of the problem. Context length and the number of simultaneous users are the larger one.

Now compare that with a graphics card. NVIDIA lists 24 GB of memory on the GeForce RTX 3090. A 7B model fits on that card at either precision, with room left for longer documents. A 70-billion-parameter model quantized to 4-bit needs roughly 35 GB for weights alone, so it does not fit on a single 24 GB card. It would need a card with more memory, several cards, or a runtime that places part of the model in system RAM, which slows the part that runs there. With NVIDIA GPUs the memory on the card is the number to check first, so ask for it by name on any quote.

Apple Silicon works differently. Apple describes its chips as using a unified memory architecture, where the CPU and GPU access the same memory. There is no separate pool of video memory to count. The memory you configure on the Mac sets the ceiling, and the operating system and your other applications share it. Whether a given model runs fast enough on a particular Mac is a measurement, not a calculation.

Whatever the hardware, write down the quantized model version, the memory you measured at your document length and the response time you saw. Those memory requirements are what you hand to the person approving the purchase.

Storage and where model files come from

Plan disk space for the model files themselves. Their size follows the same arithmetic as memory: the 4-bit 7B example above is roughly 3.7 GB, and a larger model can run to tens of gigabytes. Keep room for several versions, because you will want the previous one available if a new version fails your tests. A fast SSD, such as an NVMe drive, shortens the time to load a model into memory after a restart, though it does not change answer speed once the model is loaded.

Many open AI models are published on the Hugging Face Hub. Each repository has a model card, and the licence is specified in the card’s metadata. Read the card for the exact version you download, record the licence next to the version in your register, and keep a copy of the model file on your own storage. For an offline AI setup, that copy is also what lets you reinstall without reaching the internet.

2. Model fit: smaller is not the same as good enough

Compressed or smaller models are what make local deployment affordable, and they can be fine for narrow tasks such as classifying, extracting fields or summarising short text. They can be weaker at long documents, multi-step reasoning and unusual formats. Do not pick the model by the hardware you happen to have. Define the task first, build a small set of real examples with known right answers, and test candidate models on them. If a smaller model fails those cases, you have found out before a user did.

Also check the licence. Open-weight models come with different terms on commercial use, and some limit certain uses. Have someone read the terms for the specific model and version you plan to use.

3. Cost: the line items people forget

Removing the per-token bill does not remove the cost. Budget for:

  • Hardware purchase or rental, including spare capacity for peak use.
  • Power, cooling and rack space if it is on premises.
  • Storage for model files, document indexes and logs.
  • Staff time to install, monitor and fix the system.
  • Replacement cycles. GPUs and drivers age, and newer models may need newer hardware.

The honest comparison is the total cost of owning and running it for a year against what hosted use would cost for the same workload. Which one is cheaper depends on how steadily the system is used. A machine that sits idle most of the day is expensive per answer.

4. Maintenance: someone has to own it

A hosted service improves without you doing anything. A local one does not. Decide in advance who handles:

  • Security patches for the operating system, drivers and runtime.
  • Model updates, and re-testing your examples when the model changes.
  • Monitoring, so you notice slow responses or failures before users complain.
  • Backups and recovery if the machine fails.
  • Access control: who may use it, and what they may put into it.

If the answer to “who?” is “whoever set it up”, write that down and ask whether they agree.

5. Infrastructure and approvals

This is where local projects often stall. Hardware can take weeks to buy. Network and firewall changes need IT sign-off. Security may want a review of where data flows. Legal or compliance may need to confirm that local processing satisfies the rules that apply to your data. Start these requests early, in parallel with the technical tests, and keep a simple register: what you need, who approves it, the date asked and the status.

While you wait, you can still make progress with sample or non-sensitive data, as long as you stay within what you are permitted to use. Do not work around a pending approval.

Security questions to settle before go-live

Keeping the model on your own server does not remove application-level risks. The OWASP project lists prompt injection as its first risk for LLM applications: inputs, including text inside documents the model reads, can change the model’s behaviour in ways nobody intended. Before go-live, agree with your security team on four points: which documents and systems the model can read, which actions (if any) it can take on its own, who can see its prompts and logs, and how model files and updates are approved and recorded. If the model can only read and answer, the risk is smaller than if it can send messages or change records, so start with read-only access.

6. Hallucination risk: local does not mean correct

A local model can still produce a confident answer that is wrong. Hosting does not change how the model generates text. Research on compressed (quantized) models suggests that standard speed and accuracy checks can miss changes in reliability, so test for wrong answers with your own examples, not only for speed and memory.

Decide how wrong answers will be caught before launch. Check outputs against the workflow’s rules and source data. Have a person review high-impact answers. Log and sample outputs after launch, and re-run your examples whenever the model changes. Where a fixed rule or script can do the step reliably, use that instead of the model.

Ground answers in your own documents, then test

One common way to reduce unsupported answers is retrieval-augmented generation (RAG): the system looks up passages from your own approved documents and gives them to the model together with the question. The original RAG research was motivated by two limits of a model working from memory alone: it is hard to show where an answer came from, and hard to update what the model knows. Retrieval gives you a source to point to and a document set you can update without retraining. It does not guarantee a correct answer, because the model can still misread a passage or retrieve the wrong one. So build a small test set from real questions with known answers, include questions the documents cannot answer (the correct reply is “I don’t know”), and re-run the set after every change to the model, the documents or the settings.

The readiness checklist

  1. What does “local” mean here: device, own server or private cloud?
  2. What is the exact task, and which real examples define success?
  3. Which model sizes passed those examples, and what are their licence terms?
  4. How much memory do they need at your document length and user count?
  5. What response time is acceptable, and has it been measured under load?
  6. What is the one-year cost of owning and running it, including staff time?
  7. Who patches, monitors, backs up and updates it?
  8. Which infrastructure, security and compliance approvals are needed, and what is their status?
  9. What happens if the hardware fails or the model must change?
  10. How will wrong or made-up answers be caught, and who reviews high-impact outputs?

The takeaway

Local AI can be useful when you need more control over where processing happens. Smaller models and techniques such as quantization can lower memory needs and make suitable workloads cheaper to run. That is not a promise that local is always cheaper: hardware, usage and support still decide the total cost. Nor does running locally remove hallucination risk. An LLM can still produce a confident but wrong answer, wherever it runs.

That is why BuLLM starts with the workflow and its rules, using suitable open-source repositories and scripts before reaching for an LLM. An LLM, local or hosted, is the last resort when those options cannot meet the need, including steps where interpreting an unclear request or reasoning over text is useful. Its output still needs checks against the workflow’s rules and source data. Rules and scripts can also contain mistakes; this is a design approach, not an error-free guarantee. Bring us the workflow, and we will first ask what can be done without an LLM.

Srinath Rangaswamy

Srinath Rangaswamy is a director at DigiBull AI, a Mysuru-based company building AI and machine learning applications. Its BuLLM platform helps Forward Deployed Engineers build client workflows faster, with a focus on manufacturing and marketing.