Intermediate 13 minBudget

Local AI server: hardware, software, and budget

Two mini PCs are connected by network cables on a workbench.
Direct response

A local AI server is a dedicated computer, at your home or on your premises, that runs an open-weights model and shares it over the network through an API and a web interface. The deciding factor is memory: 32 GB is enough for models up to about 31B, and you need 96 to 128 GB for gpt-oss 120B. Ollama or vLLM serves the model, and Open WebUI provides the interface.

Setting up a local AI server comes down to three choices: the machine, the inference engine, and the interface. This guide compares the hardware families available in November 2026 using their official specs, recommends the right software stack for each use case, walks through installation on Linux, and calculates the real cost, including electricity.

Choosing a machine? Our picks by budget →

By Mohamed Meguedmi·Update 2026-11-26·Tested on Windows, macOS, and Linux
Recommended hardware

Good value for local AI: a GMKtec EVO-X2 — Amazon may show another configuration; check before buying.

A mini PC is a complete machine: check the available memory and engine compatibility. It does not replace macOS/MLX or CUDA.

Why this choice? Our complete guide on GMKtec EVO-X2 — Amazon may show another configuration; check before buying →

Compare all options by budget, from €800 to €3,500 →

Small budget: RTX 5060 · Large models: RTX 5090 · Mac Studio.

On the go: which laptop for local AI →

Affiliate links — commission possible at no extra cost to you. As an Amazon Associate, BestLLMfor earns from qualifying purchases.

Amazon may redirect you to a local store or show another configuration. Check the listing before buying; this link does not guarantee the destination or configuration.

#Local AI server: what is it?

A local AI server is an always-on computer, at your home or in your office, that runs an open-weights language model and makes it available to other devices on the network. Users query it through a browser or an API, with no cloud service subscription.

A local AI server consists of three layers. The hardware layer provides memory and compute: a graphics card, an Apple chip, or a unified-memory mini PC. The inference engine loads the model and answers requests: Ollama, vLLM, or llama.cpp. The interface, such as Open WebUI, handles accounts, history, and documents. You can replace each layer without touching the others.

Open-weights model
A language model with downloadable weights, such as Gemma 4 or gpt-oss, that you can run on your own machine, subject to its license.
Inference engine
The software that loads the model into memory and generates responses, exposed as an HTTP API.
VRAM or unified memory
The memory available to the GPU. The model, its context, and concurrent requests must all fit in it.
Memory bandwidth
The data rate between memory and the GPU, in GB/s. It sets the ceiling on generation speed.

#What hardware should you choose for a local AI server?

Hardware for a local AI server is chosen first by the amount of graphics memory, then by its bandwidth. As of November 2026, four families cover nearly every need: PCs with a consumer NVIDIA card, unified-memory mini PCs, the Mac Studio, and workstations with a professional card.

The GeForce RTX 5090 offers 32 GB of GDDR7 according to NVIDIA's official spec sheet, with 575 W total graphics power and a 1,000 W required system power supply. The NVIDIA DGX Spark, based on the GB10 chip, comes with 64 GB or 128 GB of unified memory, 273 GB/s of bandwidth, and a 240 W power supply. The Mac Studio M5 Max goes up to 128 GB and 614 GB/s in its 40-core GPU version (the base 32-core GPU version is rated at 460 GB/s); the Mac Studio M5 Ultra goes up to 512 GB and 1.2 TB/s, according to Apple's spec sheet.

The NVIDIA RTX PRO 6000 Blackwell provides 96 GB of GDDR7 with error correction, 1,792 GB/s, and up to 600 W. Mini PCs with the AMD Ryzen AI Max+ 395 processor support up to 128 GB of memory, shared between the CPU and the integrated GPU; how much the GPU can use depends on the machine manufacturer's settings.

Hardware families for a local AI server (official spec sheets checked on November 18, 2026)
HardwareMemory for the modelBandwidthClaimed performanceFor which server
PC + GeForce RTX 509032 GB GDDR7not covered here575 W for the cardPersonal use or small team, models up to about 31B
AMD Ryzen AI Max+ 395 mini PCup to 128 GB sharednot covered hereaccording to the manufacturerLarge models at moderate speed, limited budget
NVIDIA DGX Spark64 or 128 GB unified273 GB/s240 W power supplyLarge models, low power consumption, CUDA environment
Mac Studio M5 Maxup to 128 GB unified614 GB/s (40-core GPU)480 W max (Mac Studio)Mac, macOS, and Metal team
Mac Studio M5 Ultraup to 512 GB unified1.2 TB/s480 W max (Mac Studio)Very large models on a single machine
Workstation + RTX PRO 6000 Blackwell96 GB GDDR7 ECC1,792 GB/s600 W for the cardTeam server, multiple concurrent users
!
Macs and PCs don't share the same stack
A Mac Studio runs models through Metal and MLX, not CUDA. Tools built for NVIDIA, such as vLLM, only work on it through a dedicated variant, vLLM-Metal. Pick your hardware after confirming that your software supports it.

#How much memory do you need for an AI server?

Here's how to calculate the memory a local AI server needs: the size of the quantized model, plus the context for each concurrent request, plus some headroom. According to the BestLLMfor catalog, Gemma 4 12B requires about 7 GB in Q4, gpt-oss 20B about 13 GB, Gemma 4 31B about 18 GB, and gpt-oss 120B about 70 GB.

The number of concurrent users matters as much as model size. According to the official Ollama FAQ, each model handles only one request at a time by default, and the required memory grows with the number of parallel requests multiplied by the context length. Four parallel requests of 8,000 tokens therefore reserve the equivalent of 32,000 tokens of context. When the queue overflows, Ollama returns a 503 error.

Bandwidth sets the speed. The theoretical generation ceiling is roughly the bandwidth divided by the size of the weights read for each token. For Gemma 4 31B at Q4, about 18 GB, this calculation gives at best 15 tokens per second on a DGX Spark (273 ÷ 18), 34 on a Mac Studio M5 Max with a 40-core GPU (614 ÷ 18), 67 on an M5 Ultra (1,200 ÷ 18), and 100 on an RTX PRO 6000 (1,792 ÷ 18). These are ceiling estimates, not measurements: real-world throughput is lower.

Which model fits on which server (estimate, Q4 weights from the BestLLMfor catalog)
ModelWeights in Q432 GB (RTX 5090)96 GB (RTX PRO 6000)128 GB (DGX Spark, M5 Max, Ryzen AI Max+)
Gemma 4 12Bapproximately 7 GByes, with headroom for multiple requestsyesyes
gpt-oss 20Babout 13 GByesyesyes
Gemma 4 31Babout 18 GByes, context worth monitoringyesyes
gpt-oss 120Babout 70 GBnoyes, with less headroomyes
Mistral Small 4 (119B)about 72 GBnoyes, with less headroomyes

#What software should you install on a local AI server?

A local AI server needs an inference engine and an interface. Ollama is a good fit for getting started and for small teams; vLLM targets throughput with multiple users; llama.cpp and its llama-server suit modest machines; Open WebUI provides the multi-user chat interface.

Ollama runs on Linux, macOS, and Windows. Its documentation lists support for NVIDIA GPUs with compute capability 5.0 and higher with driver 550 or newer, and Metal acceleration on Macs. By default, Ollama listens on 127.0.0.1, port 11434, so the server isn't visible on the network unless you change the OLLAMA_HOST variable.

vLLM is a throughput-oriented inference server. Its getting-started documentation targets Linux, with a vLLM-Metal variant for Apple Silicon Macs. vLLM exposes an OpenAI-compatible API on http://localhost:8000 by default and serves a single model per instance. Open WebUI installs as a Docker container and connects to Ollama or any OpenAI-compatible API.

Local AI server software stack by use case
NeedEngineInterfaceKey consideration
An individual or a familyOllamaOpen WebUIOne request at a time by default
Small team, daily useOllama with tuned parallelismOpen WebUI with accountsContext memory multiplied by parallel requests
Large team, throughput firstvLLM on LinuxOpen WebUI or internal applicationOne model per instance
Modest machine or no GPUllama.cpp (llama-server)Built-in web interface or Open WebUISpeed limited by system memory

#Setting up a local AI server on Linux: the steps

Setting up a local AI server on Linux takes five steps: install Ollama, download a model, open listening to the local network, add Open WebUI, then check the result. The commands below come from the official Ollama and Open WebUI documentation, consulted on November 18, 2026.

Linux: installing Ollama (Ollama documentation)
curl -fsSL https://ollama.com/install.sh | sh
Linux: exposing it to the network via systemctl edit ollama.service (Ollama FAQ)
[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"
Linux: reloading the service (Ollama FAQ)
systemctl daemon-reload
systemctl restart ollama
Linux with Docker: Open WebUI (Open WebUI documentation)
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main
  1. 01
    Install Ollama
    On an up-to-date Linux server, run the official Ollama install script. If the machine has a NVIDIA card, make sure the installed NVIDIA driver is version 550 or later.
  2. 02
    Download a first model
    Choose a model that fits in memory with room to spare, for example Gemma 4 12B on a 32 GB card, then ask a short question to check that it responds.
  3. 03
    Open listening to the local network
    Edit the service with systemctl edit ollama.service, add the Environment line with OLLAMA_HOST=0.0.0.0:11434 in the Service section, then reload systemd and restart Ollama. Your firewall should restrict port 11434 to the local network.
  4. 04
    Add Open WebUI
    Generate a secret key with openssl rand -hex 32, replace your-secret-key with that value in the official Docker command, then open port 3000 on the server in a browser and create your account.
  5. 05
    Check the server
    Run ollama ps during a response: the PROCESSOR column should show 100% GPU. If a CPU share appears, the model is spilling out of video memory: reduce the context or switch to a smaller model.
!
Don't expose the server to the internet
According to the Ollama documentation, the local API requires no authentication: with OLLAMA_HOST=0.0.0.0, it responds to any machine that can reach port 11434. Keep this port closed to the internet, and put an authenticated proxy or a VPN in front of the server if you need remote access.

#What budget should you plan for a local AI server?

The budget for a local AI server consists of hardware purchase, electricity, and administration time. As of November 2026, memory prices are pushing costs up: check the official price on the day you buy, since the figures below date from their source.

According to The Register, on October 2, 2026, NVIDIA raised the price of the DGX Spark 128 GB to $6,950, and partners' 64 GB versions were expected to sell for around $4,999. NVIDIA announced the GeForce RTX 5090 at $1,999 at its January 2025 launch; this US launch price, excluding taxes, does not necessarily reflect the current price in France. Apple lists the price of every Mac Studio configuration on its online store.

Electricity cost is calculated from actual power draw and the price per kWh in your contract. The following table assumes €0.20 per kWh; replace it with the price on your bill. For the PC with the RTX 5090, the 700 W figure for the whole machine under load is an estimate: 575 W for the card according to NVIDIA, plus the rest of the PC. The other rows use the rated maximum power, so they are a ceiling.

Estimated electricity cost of a local AI server (assumptions: €0.20 per kWh, 4 hours under load per day, idle not counted)
MachinePower figure usedCost per hour under loadCost per year (4 hours a day)
PC + RTX 5090700 W (estimate)€0.14about 204 euros
Workstation + RTX PRO 6000800 W (estimate: 600 W card + rest of system)0.16 euroabout 234 euros
Mac Studio480 W (maximum continuous)€0.10about 140 euros at most
NVIDIA DGX Spark240 W (power supply)€0.05about 70 euros at most

Detailed calculation for the first row: 0.7 kW multiplied by 4 hours gives 2.8 kWh per day, or 0.56 euro per day at 0.20 euro per kWh, and about 204 euros over 365 days. A server that stays on the rest of the time adds its idle consumption, which manufacturers don't publish in a comparable way.

→
Buy, rent, or use an API
A local AI server pays off when it runs heavily and your data has to stay on your premises. For occasional use, renting a GPU or using an API can cost less: a dedicated guide on the site covers the cost comparison in figures.

#Local AI server: how do you verify it stays private?

A local AI server stays private if three conditions are met: the engine listens only on the intended network, the tool's cloud features are turned off, and every user signs in with an account.

Ollama now offers models and web search hosted in its cloud. Its FAQ explains that Ollama can run in local-only mode by disabling these features, using the OLLAMA_NO_CLOUD=1 variable or the disable_ollama_cloud option in the server.json file; the log then shows that the cloud is disabled. This setting prevents a document from being sent to a remote model by mistake.

For access, give each user their own account in the interface rather than a shared login, so you know who sent what. The Ollama port, for its part, should be reachable only by the interface or by authorized machines. GDPR obligations, such as the record of processing activities and the retention period for conversations, remain the organization's responsibility, even when everything runs locally.

Frequently asked questions
How does a local AI server work?+
A local AI server loads an open-weights model into its video memory using an engine such as Ollama or vLLM. Users send their questions through a web interface or an API over the local network; all computation happens on the server, and responses come back without going through a cloud service as long as the tool's cloud features are disabled.
Can a NAS serve as an AI server?+
A NAS can run Ollama if it supports Docker containers, since Ollama publishes an official Docker image, but most NAS devices have neither a graphics card nor much memory. A NAS is therefore suited to small models and slow workloads, such as document sorting. To chat with a 30-billion-parameter model with several users, you still need a dedicated machine with a GPU.
Does a local AI server work without internet access?+
Yes, a local AI server works offline once the model is downloaded. Internet access is only needed to install software, fetch models, and apply updates. With Ollama, the OLLAMA_NO_CLOUD=1 variable also disables the models and web search hosted by Ollama, according to its official documentation.
How many users can a local AI server handle?+
The number of users a local AI server can handle depends on the number of concurrent requests, not the number of accounts. By default, Ollama processes one request at a time per model; increasing OLLAMA_NUM_PARALLEL multiplies the context memory required. For dozens of concurrent requests, vLLM, a throughput-oriented inference server, running on Linux with a high-memory card, is the tool designed for this use case.
Do you need a NVIDIA card for an AI server?+
No, you don't need a NVIDIA card for a local AI server. According to its documentation, Ollama also runs on Macs via Metal and on AMD GPUs via ROCm or Vulkan. NVIDIA remains the simplest choice for vLLM and tools built around CUDA; a Mac Studio is a better fit for a team already using Macs that wants to stay on macOS.
Is a local AI server GDPR-compliant?+
A local AI server makes GDPR compliance easier because prompts and documents stay under your control, but it doesn't guarantee it. The organization must still maintain its record of processing activities, restrict access, set a retention period for conversations, and inform the people concerned. The site's guide to local AI in the enterprise covers these obligations in detail.

#Sources and verification as of November 18, 2026

Hardware specifications, commands, and settings were collected on November 18, 2026, from the official spec sheets and documentation below; hardware prices change quickly with the cost of memory and should be rechecked on the day you buy.

Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.

Prices in euros (€) are French market prices including VAT, as checked by BestLLMfor. US prices differ: the Amazon buttons show the current US price.