What Hardware You Need to Run AI Models Locally
9 Jun 2026 · RS Management
TL;DR
- Hardware for local models falls into four tiers, from an ordinary laptop to machines with 128 GB of shared memory.
- Profitability is rarely decided by electricity, and usually by hardware depreciation and the time of the person who maintains it.
- If API spending is below about PLN 1,000 a month, buying hardware will not pay for itself on cost alone.
- Memory prices in 2026 favor the API.
“Can we run AI on our own hardware so data never leaves the company?” Yes, and it is simpler today than two years ago. Before buying, though, you need to know at which hardware tier things stop being simple and start being expensive, and when the numbers favor models available through an API.
Applies to Ollama LM Studio llama.cpp vLLM
Four hardware tiers
| Tier | Memory | What fits | What it is good for |
|---|---|---|---|
| Laptop or computer without a graphics card | 16-32 GB | Compressed models of 4-14 billion parameters | Classification, rewriting text, simple data extraction, overnight processing |
| Computer with a strong graphics card | 24-32 GB of card memory | 30-billion-parameter models lightly compressed, 70-billion heavily | Coding assistant, summarizing long documents, search over a knowledge base |
| Workstation with a professional card | 96 GB with error correction | The same models in continuous operation | Round-the-clock work without random errors in results |
| Memory shared by processor and card | up to 128 GB | Models that need several ordinary cards | Experiments with the largest open models |
On the first tier a model generates a few to a dozen or so words per second. That can be too slow for real-time conversation with a person but is enough for overnight batch processing. OpenAI states that gpt-oss-20b runs in 16 GB of memory, which marks the upper limit of this tier well.1
A professional card offers three times the memory of a consumer card and detects and corrects memory errors on its own. That starts to matter when the machine runs around the clock and nobody plans to hunt for the cause of results that occasionally come out differently.
The fourth tier holds machines with memory shared by the processor and the graphics chip. The Mac Studio with the M3 Ultra chip, introduced in March 2025, offered up to 512 GB of such memory, but in March 2026 Apple withdrew that option and in May left only 96 GB.2 NVIDIA DGX Spark fits 128 GB into a book-sized case.3
What to run them with
| Tool | Who it is for | License |
|---|---|---|
| Ollama | Running a model with one command; an OpenAI-compatible API, so switching providers in an app means changing the address | Open |
| LM Studio | People who do not work in a terminal: a graphical interface with a model browser | Closed |
| llama.cpp | The base of most tools; the GGUF file format in which compressed models are published | Open |
| vLLM | Many users at once; much better card utilization under parallel requests | Open |
In a corporation the license matters in software reviews, which is why LM Studio is the only one of the four that needs separate approval from IT.
How much memory a model takes
A model at full precision takes about 2 bytes per parameter, and compression, or quantization, divides that value at the cost of a small drop in quality.
| Variant | Bytes per parameter | 30-billion-parameter model |
|---|---|---|
| Full precision | about 2 | about 60 GB |
| 8-bit | about 1 | about 30 GB |
| 4-bit | about 0.5 | about 15 GB |
Machines with shared memory have plenty of it, but processing a long prompt before the first word of the answer takes noticeably longer on them than on a dedicated card. With short queries the difference is invisible; with a hundred-page contract it is obvious.
Power, heat and upkeep
A strong computer with a graphics card needs a power supply of about 1 kW, so under load it draws roughly as much as an electric kettle. A machine running 8 hours a day, 20 days a month uses about 110 kWh. At the EU average electricity price for businesses in the second half of 2025, EUR 18.37 per 100 kWh, that comes to about EUR 20 a month.4
The other costs weigh more. Heat released into a small room forces cooling in summer, and the fans under load can be heard all day. Someone has to update drivers, manage model versions and react when the service stops responding on a Friday afternoon. In a smaller company that is usually a person who already has a full set of other duties.
When your own hardware, when an API
| Situation | Better locally | Better via API |
|---|---|---|
| Data may not leave the infrastructure for contractual or regulatory reasons | Yes, unless a provider’s commitment on processing region and zero retention is enough | When the provider’s commitment is enough |
| High, steady volume of simple tasks: classification, field extraction, embeddings | Yes, the unit cost is clearly lower | With small or irregular volume |
| Work without internet access | Yes | Not possible |
| Tasks requiring long reasoning | The best open models still trail the leaders | Yes |
The calculation rests on an assumed workstation price:
| Assumption | Value |
|---|---|
| Workstation price | PLN 25,000 to 40,000 |
| Depreciation period | 3 years |
| Monthly cost before anyone uses it | PLN 700 to 1,100, plus electricity and admin time |
If the team’s monthly API spending today is lower than that monthly cost, buying hardware will not pay for itself on cost alone.
2026 prices changed the numbers
DRAM prices, the price of working memory, rose by about 90% in the first quarter of 2026 compared with the end of 2025, as manufacturers redirected production to data centers serving AI.5 The highest-capacity machine variants are getting more expensive or disappearing from catalogs, and a configuration priced a year ago costs something different today. A calculation that favored your own hardware in 2025 often looks the other way round in 2026, so check the manufacturer’s current price list before deciding to buy.
How to start
- Hardware the company already has (1 day). Ollama or LM Studio on an existing computer and one first-tier model.
- One specific process (2 weeks). Measure quality and response time on real tasks, for example ticket classification.
- Hardware decision (after measuring). A card costing tens of thousands of zloty makes sense only once a model of the given class does the task and the volume justifies a dedicated machine.
Such an experiment costs a few hours of work and settles more than weeks of debating specifications. We set up a local environment with models and first agents as part of the AI Accelerator.
Frequently asked questions
What computer do you need to run an AI model locally?
For simple tasks a laptop with 16-32 GB of memory is enough. A coding assistant or search over a knowledge base needs a graphics card with 24-32 GB of memory.
Is a local model cheaper than an API?
Only with a high, steady volume of simple tasks. When API spending is below about PLN 1,000 a month, hardware depreciation and upkeep time cost more.
Where should testing of local models start?
With Ollama or LM Studio on hardware the company already has and a two-week measurement of quality on one specific process.
Footnotes
-
OpenAI, gpt-oss model card with the memory requirements: https://huggingface.co/openai/gpt-oss-120b. ↩
-
MacRumors, removal of the 512 GB Mac Studio option, 5 March 2026: https://www.macrumors.com/2026/03/05/mac-studio-no-512gb-ram-upgrade/; 9to5Mac, only the 96 GB option left, 5 May 2026: https://9to5mac.com/2026/05/05/apples-most-powerful-mac-studio-loses-its-last-remaining-ram-upgrade-option/. ↩
-
NVIDIA, DGX Spark product page with 128 GB of unified memory: https://www.nvidia.com/en-us/products/workstations/dgx-spark/. ↩
-
Eurostat, electricity prices for non-household consumers, second half of 2025: https://ec.europa.eu/eurostat/web/products-eurostat-news/w/ddn-20260508-2. ↩
-
Counterpoint Research, memory prices up to 90% higher than in the fourth quarter of 2025: https://counterpointresearch.com/en/insights/Memory-Prices-Surge-Up-to-90-From-Q4-2025. ↩
Blog content is informational and educational. It does not constitute legal or tax advice, nor individual business advisory. The scope of our services is described in the terms.
See the package: AI Accelerator