Wiki

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.

Published 30 November 2026Last updated: 30 November 2026

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.
PrecisionBytes per parameter8 billion32 billion70 billion
16 bits216 GB64 GB140 GB
8 bits (Q8_0)≈ 1.068.5 GB34 GB74 GB
4 bits (Q4_K_M)≈ 0.614.9 GB19.6 GB43 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.

Worked example

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 cardUnified-memory workstationServer with professional GPUs
ExampleNVIDIA RTX 5090Apple Mac StudioNVIDIA RTX PRO 6000
Memory for the model32 GB36 to 512 GB depending on configuration96 GB per card, with error correction
Public priceRecommended price of USD 1,999 at launch; from about EUR 7,700 in Germany in mid-November 2026M5 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 consumption575 W for the card; 1,000 W power supply recommended385 W, 9 W idle (M5 Ultra 512 GB, according to Apple)600 W per card (300 W for the Max-Q version)
Typical useModels up to around thirty billion parameters in 4 bits, few usersLarge models on a compact machine; throughput for several users to be measuredModels 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

On the service side: see VELLORNE's local AI offering.