Hayz Labs

Local or cloud: when a model on your own device is enough

Decide by what the data is and what the task needs, and check by hand whether a model will fit in your computer's memory, using a rule of thumb of about 0.6 GB per billion parameters.

Advanced5 min readDoing it takes 10 min for the fit checkChecked 11 Oct 2026

What this is
Whether to run an AI model on your own computer or use one over the internet, and how to check if a model fits your memory.
Why it matters
You keep private data on your own device when that matters, and avoid planning around a model your computer cannot run.
The short version
  • Go local when the data should stay on your device, you are offline, or simple tasks are many and you own the hardware.
  • Use a cloud model for the hardest reasoning, long agent tasks, or when you have no suitable hardware.
  • Check fit at about 0.6 GB per billion parameters at 4-bit plus context, then run five real tasks both ways.
On this page
  1. Short answer
  2. How far behind is local
  3. Will it fit
  4. What it costs
  5. Deciding
  6. Limits
  7. Try this next
  8. Sources
  9. Changes

Short answer

Decide by what the data is and what the task needs. Run a model on your own device when the data should stay there, when you are offline, or when the tasks are simple and numerous and you already own the hardware. Use a cloud model for the hardest reasoning, for long agent tasks, and when you have no suitable hardware. A model has to fit in your memory first. Our rule of thumb for that is about 0.6 GB per billion parameters at 4-bit, plus room for context.

The decision rules, the fit rule and the five-task test below are our suggestions, not results from a study.

Running example (illustrative). Tomas is a freelance bookkeeper with client files and a laptop with 32 GB of unified memory. He wants to know whether he could run a model there instead of pasting figures into a chat.

How far behind is local

As of August 2025, a consumer GPU under $2,500 (an RTX 5090) could run open models matching the frontier of 6 to 12 months earlier (Epoch, benchmark comparison). In practice a local model can be good enough for many tasks and is still behind the best cloud model on the hardest ones. Tomas can expect a local model to summarise an invoice list, and should not expect it to match the newest cloud model on a hard tax question.

Will it fit

Our rule of thumb: about 0.6 GB of memory per billion parameters for a 4-bit model, about 1 GB at 8-bit and about 2 GB at 16-bit, plus room for context. Ollama's Llama 3.1 downloads are 4.9 GB (8B) and 43 GB (70B) at 4-bit (Ollama library, vendor file sizes), and the rule matches both closely (8 x 0.6 = 4.8, 70 x 0.6 = 42).

Two further assumptions of ours: add 1.5 GB for a short context or 6 GB for a long one, and count only 80% of a graphics card's memory, or 70% of a Mac's unified memory, as usable.

Will it fit? by hand · v1.0
Need = <PARAMS_B> x 0.6 + <CONTEXT_GB> = <NEED_GB>
Usable = <MEMORY_GB> x <USABLE_FRACTION> = <USABLE_GB>
It fits if the need is at or below the usable memory.

Replace the following:

  • <PARAMS_B>: the model's size in billions of parameters, such as 32.
  • <CONTEXT_GB>: 1.5 for short chats, 6 for long documents.
  • <NEED_GB>: your result for the first line.
  • <MEMORY_GB>: your graphics card's memory, or your Mac's total memory, such as 24.
  • <USABLE_FRACTION>: 0.8 for a graphics card, 0.7 for unified memory.
  • <USABLE_GB>: your result for the second line.

For 8-bit or 16-bit, use 1 or 2 in place of 0.6. A worked table at 4-bit with a short context:

Model sizeWeights (x 0.6)Need with short contextSmallest memory, graphics card (x 0.8)Smallest memory, unified (x 0.7)
8B4.8 GB6.3 GB7.9 GB9.0 GB
32B19.2 GB20.7 GB25.9 GB29.6 GB
70B42 GB43.5 GB54.4 GB62.1 GB

Round up to the sizes on sale. With a long context, add 4.5 GB to the need and recompute.

The calculator does the same sums, starting on Tomas's laptop. Nothing you type is stored or sent.

This part of the page is interactive and needs JavaScript.

For Tomas: 32 GB of unified memory gives 22.4 GB usable, so a 32B model at 4-bit with a short context (20.7 GB) fits with little room. An 8B model fits easily. A 70B model does not.

A model that fits may still run too slowly to use, so try it on a real task before you plan around it.

What it costs

Local use has no per-token bill, but the hardware and electricity are costs. An illustration with assumed numbers: a 450 W machine running 2 hours a day at $0.17 per kWh uses 0.45 kW x 2 hours x 30 days = 27 kWh, about $4.59 a month. Put in your own wattage, hours and rate, and compare it with what the same tasks cost you on a cloud plan.

Deciding

SituationLean localLean cloud
Data you may not share, and your plan's terms do not cover itYesOr a business plan with terms that cover it
The hardest reasoning, or long agent tasksYes
Offline or travellingYes
High volume of simple tasks, such as tagging or extractionYes, if you own suitable hardwareYes, with a small cheap model
No suitable hardwareYes

For work material, your employer's AI policy comes first.

The five-task test. Pick five real tasks, run each on the local model and on the cloud model you use, and compare the answers yourself. If the local model fails two or more of the five, stay on cloud for those tasks. Test any new model on your own tasks is the longer routine.

Limits

Try this next

  1. Run the fit check for your computer, with the calculator or by hand. (5 minutes)
  2. Sort the next three things you would paste into the three tiers. (3 minutes)
  3. See Do I need to pay for AI, and for which plan? before you pay for a plan or a bigger machine.

Sources

  1. Epoch AI. Consumer GPUs and the frontier, August 2025. Benchmark comparison. Link
  2. Ollama. Llama 3.1 tags with download sizes. Vendor file sizes. Link

Changes

  1. v1.010 Oct 2026first version
Time to do it
10 minutes for the fit check, 30 for the five-task test (our estimate)
Sources
2
Updated
10 Oct 2026
Last checked
11 Oct 2026
esc
↑↓ move↵ openesc closeType a product, a job or a question

Keyboard shortcuts

CtrlK
search everything
/
search everything
gr
reviews: all AI, scored
gg
start here
gu
guides
gw
step-by-step workflows
gt
try-it tools
gs
setup
ga
about
[ ]
previous and next entry, or collection
t
theme: auto, light, dark
?
this sheet