Which server for local AI?
For local AI, the first question is not power but memory: the model has to fit in the graphics card's memory. A simple rule — parameters multiplied by bytes per parameter, plus a margin — lets you size the machine before comparing hardware and prices.
Memory first, power second
To answer at a usable speed, a language model has to fit in the graphics card's memory, or in the unified memory of machines that share the same memory between processor and graphics. If the model overflows, part of it can be offloaded to ordinary memory, at the cost of a sharp slowdown. The first question is therefore not "how much power?" but "how much memory?".
The rule of thumb
Memory for the weights ≈ number of parameters × bytes per parameter. The number of bytes depends on the precision in which the model is stored, known as quantisation:
- 16 bits (BF16 or FP16, the original format of most models): 2 bytes per parameter. Hugging Face sums it up: a model with X billion parameters needs roughly 2 × X GB.
- 8 bits (llama.cpp's Q8_0 format): 8.5 bits per parameter, about 1.06 bytes.
- 4 bits (Q4_K_M format): 4.89 bits per parameter, about 0.61 bytes. Slightly more than 4 bits, because the format also stores scaling factors.
| Precision | Bytes per parameter | 8 billion | 32 billion | 70 billion |
|---|---|---|---|---|
| 16 bits | 2 | 16 GB | 64 GB | 140 GB |
| 8 bits (Q8_0) | ≈ 1.06 | 8.5 GB | 34 GB | 74 GB |
| 4 bits (Q4_K_M) | ≈ 0.61 | 4.9 GB | 19.6 GB | 43 GB |
These values match the measurements published by llama.cpp (4.58 GiB for Llama 3.1 8B in Q4_K_M, 43.1 GB for the 70B version). Lowering precision saves memory but can change the answers: the effect varies by model and is checked on your own cases.
A special case, "mixture of experts" models: only some of the parameters work on each word, but all of them must be in memory. gpt-oss-120b (OpenAI, Apache 2.0 licence) has 117 billion parameters, 5.1 billion of them active, and fits in 80 GB thanks to its native quantisation.
The margin: context and simultaneous users
Beyond the weights, the model keeps a trace of each text being processed (the "key-value cache"). It grows with the length of the documents and the number of simultaneous requests. Hugging Face calculates that, for a 15-billion-parameter model with classic attention, 16,000 tokens of context take about 15 GB, half the weights; with the multi-query attention (MQA) that this model actually uses, the same cache takes less than 400 MB. Recent architectures (MQA, GQA) thus reduce this item sharply, but it still has to be measured for each model. Hence the method: calculate the weights, add a margin, then check with a test using your documents and your number of users.
Assumptions: Q4_K_M quantisation (0.61 bytes per parameter); a 25% margin for context, software and a few simultaneous requests — a working value, to be confirmed by a test.
- 32-billion-parameter model: 19.6 GB, about 24.5 GB with the margin. It fits on a 32 GB card, not on a 24 GB card.
- 70-billion model: 43 GB, about 54 GB with the margin. It needs a 96 GB card, two 32 GB cards, or a unified-memory machine with 96 GB or more, part of which stays reserved for the system.
Three typical configurations
| Workstation with a consumer card | Unified-memory workstation | Server with professional GPUs | |
|---|---|---|---|
| Example | NVIDIA RTX 5090 | Apple Mac Studio | NVIDIA RTX PRO 6000 |
| Memory for the model | 32 GB | 36 to 512 GB depending on configuration | 96 GB per card, with error correction |
| Public price | Recommended price of USD 1,999 at launch; from about EUR 7,700 in Germany in mid-November 2026 | M5 Max 36 GB from CHF 2,499, M5 Ultra 96 GB from CHF 5,499, VAT included (recorded 30.11.2026) | USD 16,000 per card on NVIDIA's US store (reported 14.08.2026, card then listed as unavailable); about USD 8,565 at US retailers at launch in 2025, according to Igor's Lab |
| Maximum consumption | 575 W for the card; 1,000 W power supply recommended | 385 W, 9 W idle (M5 Ultra 512 GB, according to Apple) | 600 W per card (300 W for the Max-Q version) |
| Typical use | Models up to around thirty billion parameters in 4 bits, few users | Large models on a compact machine; throughput for several users to be measured | Models of 70 billion and more, several users, continuous service |
For the server, processor, RAM (which also rose sharply in price in 2026), power supply and chassis come on top of the cards. The software is covered in Installing local AI in an SME.
Noise, energy, cooling
- Heat. The electricity consumed ends up as heat in the room. Apple states a maximum of 1,314 BTU/h for the Mac Studio M5 Ultra with 512 GB; a 600 W card gives off more.
- Energy. Worked example, assumptions: one 600 W card at full load, electricity at 27.7 ct./kWh (2026 median tariff for a typical household according to ElCom). Around the clock all year: 5,256 kWh, about CHF 1,456. Eight hours a day, 250 days: 1,200 kWh, about CHF 332. The rest of the machine comes on top.
- Noise and room. These cards are fan-cooled; a rack server is designed for a ventilated technical room, not an open-plan office. Also check the electrical circuit and plan a backup power supply.
When to rent rather than buy
Renting a dedicated server from a hosting provider keeps the principle of a private AI — a reserved machine, under contract — without tying up capital. Reference points recorded on 30.11.2026:
- Hetzner, Helsinki data centre: 24 GB at EUR 214 excl. VAT per month (plus EUR 209 setup), 96 GB at EUR 999 excl. VAT per month (plus EUR 999).
- Exoscale, including its Zurich zone: instance with one 96 GB card at CHF 2.15 per hour, storage extra, after account validation. Around the clock that is about CHF 1,570 a month; switched off outside office hours, considerably less.
Renting suits cases where usage has not yet been measured, load is intermittent or no one can look after the hardware. Buying becomes attractive when the load is regular and operation is covered (see the cost of a private AI). The data centre's location is checked against the Swiss FADP rules on disclosing data abroad.
Limits of these reference points
- Very unstable prices. The RTX 5090 sells for more than three times its launch price; the RTX PRO 6000 cost USD 16,000 on NVIDIA's store in August 2026, against about USD 8,565 at retailers in 2025. A price holds on the day it is recorded.
- A rule, not a measurement. Formats and inference software differ; only a test settles it.
- Memory says nothing about speed. Two machines of the same capacity can serve very different numbers of users.
- Fitting in memory is not the same as being good enough. The model's quality is tested on your tasks before buying, ideally on a rented machine.
Frequently asked questions
How much memory does a 70-billion-parameter model need?
About 140 GB in 16 bits, 74 GB in 8 bits and 43 GB in 4 bits (Q4_K_M), for the weights alone. A margin has to be added for context and simultaneous users, to be checked by a test.
Can a Mac serve as an AI server?
A Mac Studio shares its memory between processor and graphics, up to 512 GB depending on the configuration, which makes it possible to load large models. Its throughput for several simultaneous users is measured on the real case.
Is a consumer graphics card enough?
For models up to around thirty billion parameters in 4 bits and few users, a 32 GB card can be enough. Beyond that, several cards, a professional card or a unified-memory machine are needed.
Is it better to rent or buy?
Renting suits as long as usage has not been measured or the load is intermittent; buying becomes attractive when the load is regular and operation is covered.
Related articles
Sources
- Hugging Face — Optimizing LLMs for Speed and Memory (consulté le 30.11.2026) — https://huggingface.co/docs/transformers/main/en/llm_tutorial_optimization
- llama.cpp — tools/quantize/README.md, tableau des quantifications (consulté le 30.11.2026) — https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md
- OpenAI — Introducing gpt-oss (05.08.2025) — https://openai.com/index/introducing-gpt-oss/
- NVIDIA — GeForce RTX 5090, caractéristiques (consulté le 30.11.2026) — https://www.nvidia.com/en-us/geforce/graphics-cards/50-series/rtx-5090/
- Notebookcheck — Prix de la RTX 5090 (14.11.2026, consulté le 30.11.2026) — https://www.notebookcheck.com/Zum-dreifachen-Preis-Eingestellte-RTX-5090-teils-wieder-verfuegbar.1450508.0.html
- NVIDIA — RTX PRO 6000 Blackwell, caractéristiques (consulté le 30.11.2026) — https://www.nvidia.com/en-us/products/workstations/professional-desktop-gpus/rtx-pro-6000/
- NVIDIA — RTX PRO 6000 Blackwell Max-Q, caractéristiques (consulté le 30.11.2026) — https://www.nvidia.com/en-us/products/workstations/professional-desktop-gpus/rtx-pro-6000-max-q/
- Igor's Lab — RTX PRO 6000 Blackwell à 16 000 USD sur la boutique NVIDIA (14.08.2026, consulté le 30.11.2026) — https://www.igorslab.de/en/nvidia-rtx-pro-6000-blackwell-16000-dollar-96-gb-workstation-gpu-price-increase/
- PC Games Hardware — RTX 5090 et prix de la mémoire (10.09.2026, consulté le 30.11.2026) — https://www.pcgameshardware.de/Geforce-RTX-5090-Grafikkarte-281029/News/Preis-klettert-ueber-5000-Euro-1553400/
- Apple Suisse — Acheter un Mac Studio (prix relevés le 30.11.2026) — https://www.apple.com/ch-fr/shop/buy-mac/mac-studio
- Apple — Consommation électrique et dégagement thermique du Mac Studio (22.09.2026) — https://support.apple.com/fr-ch/102027
- Hetzner — Serveurs dédiés à GPU (prix relevés le 30.11.2026) — https://www.hetzner.com/dedicated-rootserver/matrix-gpu/
- Exoscale — Tarifs, instances GPU RTX Pro 6000 (relevés le 30.11.2026) — https://www.exoscale.com/pricing/
- Conseil fédéral / ElCom — Légère baisse des prix de l'électricité en 2027 (08.09.2026) — https://www.admin.ch/fr/newnsb/1miE201yRzoA