August 23, 2026 · Updated on October 31, 2026 · 14 min read

Your Own AI Server: Hardware and Cost

Open computer case with visible internal cabling on a table
Photo: Andrey Matveev / Pexels

Your own AI server costs anywhere from around 900 US dollars for a small Mac mini to well over 9,000 euros for a powerful GPU server. In between sits the Nvidia DGX Spark, a compact machine with a lot of shared memory built for running a single large model. Which path fits you depends less on budget than on the model size you actually need.

I run a DGX Spark myself alongside my MacBook Pro M3 Max and compare both setups on the same tasks, alongside my AI workforce built on Claude. Everything I write about AI in daily work is collected on the AI page.

Three paths lead to your own AI server, and they differ less in the result than in the effort: a finished Mac, a purpose-built machine, or a server you assemble yourself. Which one is enough comes down to model size.

Choose hardware in two minutes

This is a planning guide, not a benchmark. Memory ranges come from the model examples below; leave additional room for the operating system, context length and concurrent requests.

Your workload Shortlist Check before buying
Try small models and individual local tasks existing computer or Mac mini run the actual model with a typical long prompt; do not allocate all system memory to weights
Run a medium-sized model regularly Mac with sufficient unified memory or GPU PC with sufficient VRAM chosen quantization plus context headroom; compare latency on your task
Serve one large model on your own network 128 GB DGX Spark as a candidate weights and context must fit; capacity does not promise throughput or many concurrent users
Multiple users, models or CUDA-dependent software purpose-built GPU server concurrency, VRAM per card, software support and maintenance

Buy or build? A finished Mac or Spark reduces component selection. A custom build is a candidate when you need specific GPUs, expansion and can maintain it. Verify the software and your model before purchasing. Apple lists Mac mini memory options; Nvidia lists DGX Spark specifications. Unified memory and dedicated GPU memory are different architectures; equal GB does not imply equal performance.

Three paths to your own AI server

The first path is a Mac mini or a comparable laptop: quiet, ready to go immediately, but limited on memory. The second path is a purpose-built machine like the Nvidia DGX Spark, made for exactly one job: running a single large model locally with a lot of shared memory. The third path is a self-assembled GPU server, usually with one or more gaming-grade graphics cards, the most effort to set up and maintain, but also the most performance per euro invested.

None of these paths automatically replaces a cloud solution like Claude, which my AI employees run on. Your own server pays off mainly when data can't leave your own network, or when the same task runs often enough that buying hardware beats ongoing cloud costs. I cover that trade-off in detail in Local AI: What Actually Works in 2026. One example of such a recurring task for me is speech recognition: I convert call recordings to text locally with Whisper, as described in Convert Audio to Text for Free.

How much memory a model actually needs

Model size determines the memory need, not the machine. As a rough guide with examples from the model cards, as of October 2026:

Model class Memory, roughly Examples according to the vendor Matching device from this post
Small, up to about 20 billion parameters up to 16 GB gpt-oss-20b runs within 16 GB of memory according to OpenAI, Gemma 4 E4B and 12B are 6.6 to 9.5 GB in Ollama Mac mini from 16 GB for the smallest models such as Gemma 4 E4B; as an always-on server only from 32 GB, see Local AI on a Mac: Mini as AI Server
Medium, 20 to 35 billion parameters 24 to 32 GB Muse Glimmer 30B under 20 GB at 4-bit, designed for 24 or 32 GB; Gemma 4 31B 19 to 20 GB in Ollama; Qwen3.8-27B 21.9 GB as NVFP4 on my setup Mac mini with M5 Pro, DGX Spark, GPU server with one RTX 4090
Large, up to about 200 billion parameters 64 to 128 GB gpt-oss-120b on a single 80 GB GPU; Mistral Small 4 with 119 billion parameters as NVFP4; Nemotron 3.5 Super with a dedicated version for the DGX Spark DGX Spark, GPU server with several cards
Very large, hundreds of billions to trillions more than 128 GB, often several hundred GB the DeepSeek V4-Flash files alone take up about 160 GB, Kimi K3 has 2.8 trillion parameters several linked machines, a cluster or the cloud

Matching the classes to devices is my own assessment, not a measurement, except for Qwen3.8-27B. Memory for the context comes on top. Which open models are currently available, and under which license, is in Open Source AI Models 2026 Compared.

The jump from small to medium is the one that matters most for a self-employed person: a medium-sized, dense model like the one I run gives noticeably better results than a small model, but also demands considerably more memory than an off-the-shelf laptop typically brings. That's exactly the line where it's decided whether a Mac mini is enough or whether you need a device with more shared memory.

Budget 1: a Mac mini to get started

Apple relaunched the Mac mini with the M6 and M5 Pro chips on August 25, 2026, shipping from September 22, 2026. According to Apple's own announcement, the M6 variant starts at $899 with 16 GB of standard memory, configurable up to 32 GB. The M5 Pro variant starts at $1,699 and supports up to 64 GB of shared memory, which puts it in reach of noticeably larger models than the M6 variant. In Apple's US store, both starting prices are unchanged in October 2026.

For local LLM hardware on a Mac, the pattern holds: small models run comfortably, medium-sized models such as a 27-billion-parameter model already need a well-equipped configuration, and even then produce noticeably fewer tokens per second in everyday use than a purpose-built machine. The upside is low effort: a Mac mini runs quietly, needs no separate operating system setup, and gets going with tools like Ollama or LM Studio in a few minutes. I walk through those steps, including the path to a stronger setup, in Setting Up Local AI: Ollama to SGLang.

Budget 2: an Nvidia DGX Spark for large models on your own network

The DGX Spark is a compact machine with Nvidia's GB10 chip and 128 GB of shared memory, of which the system reports roughly 119 GB as usable. It runs on my own Tailnet, reachable from any device on the network, not just from my desk. The list price is $4,699, raised in February 2026 from an original $3,999 because of memory supply constraints, as set out in the announcement in Nvidia's developer forum. That's the list price according to this announcement from February 2026; I found no newer price from Nvidia in October 2026. There is also a 64 GB variant, which according to Nvidia is only available through partners. On top of that, up to four DGX Sparks can be linked into a cluster with network cables. Nvidia lists models up to 200 billion parameters for one device with 128 GB, up to 400 billion for two devices and up to 700 billion for four. I have only tested a single device myself.

One direct measured comparison I can contribute: on the DGX Spark, my Qwen3.8-27B model runs under the SGLang serving framework at 50.7 tokens per second on decode, measured at 300 tokens and a single stream, fetched from my Mac over Tailscale. The same model runs on my MacBook Pro M3 Max with 64 GB of memory through LM Studio at 8-bit quantization, using about 27.5 GiB of memory, where I get 11 tokens per second. For this task the DGX Spark is clearly faster than even a well-equipped laptop, because it's built for exactly this job: serving one large model with plenty of shared memory and solid bandwidth. For how the machine holds up in everyday use, including the unified-memory trap and the comparison with a workstation card, see DGX Spark Tested: Worth Buying?.

If this budget fits your plans, DGX Spark: Price and Alternatives takes you through the purchase decision.

Budget 3: a GPU server built from parts for maximum performance

If you'd rather build your own AI server than buy a finished machine, you typically reach for one or more gaming-grade graphics cards in a custom PC. According to a cost breakdown by ki-mittelstand.eu, as of March 2026, an entry configuration with an RTX 4060 Ti runs around 3,500 euros, a configuration with an RTX 4090 around 5,785 euros, and two RTX 4090 cards together around 9,470 euros. The same source lists power draw for such configurations between 180 and 550 watts, which at 0.30 euros per kilowatt-hour works out to roughly 470 to 1,440 euros a year in electricity. Those figures are that source's calculation, not my own measurement: I have not run any of these machines on a plug-in power meter, and actual consumption depends heavily on how many hours a day a model is really computing.

This path pays off mainly if you already have experience assembling hardware and running Linux, or someone on your team handles that. The time it takes to set up drivers and keep the machine maintained is real and belongs in any honest cost calculation, even though it doesn't show up in euros the way hardware and electricity do.

If you need several GPU nodes rather than a single server, Kubernetes for AI: LLMs on GPU Nodes covers the Kubernetes components and operational questions.

Total cost, not just purchase price

Compare quotes in the same country, on the same tax basis and with the same memory configuration. US starting prices above are not complete German prices, and the cited custom-build calculation is not a current retailer quote.

Budget hardware + memory/SSD/network + electricity + setup + maintenance + backup and replacement allowance over your chosen period. Subtract only cloud costs this server actually replaces; a Claude subscription you retain is not a saving.

An illustrative calculation, not a measurement: assuming an average 100 watts, 24 hours a day, 365 days and €0.30/kWh, annual electricity is 0.1 × 24 × 365 × 0.30 = €262.80. Assuming 300 watts gives €788.40. Use average power measured at the socket, not a GPU's maximum rating. Put a value on maintenance time, including your own.

Before spending, record three trials with your model: a short request, a long context and the expected number of concurrent users. Memory, response time and running cost turn a shortlist into a purchase decision.

Frequently asked questions

What does your own AI server cost?

It depends on the path. A Mac mini starts at $899 according to Apple, as of October 2026, an Nvidia DGX Spark costs $4,699 according to Nvidia's announcement from February 2026, and a self-built GPU server starts around 3,500 euros according to ki-mittelstand.eu and goes up from there. All three paths add ongoing electricity costs on top.

Is a Mac mini enough to run AI at home?

For smaller models and occasional tasks, yes. For a medium-sized model like the one I run, you need the M5 Pro variant with plenty of memory, and even then a purpose-built machine like the DGX Spark is clearly faster in my experience.

How fast is a DGX Spark compared to a Mac?

On my own setup, the DGX Spark runs the same model at 50.7 tokens per second on decode, while my MacBook Pro M3 Max with 64 GB manages 11 tokens per second. That's a single measurement from my setup, not a general benchmark claim.

Can I build my own AI server?

Yes, with off-the-shelf graphics cards in a custom PC. That takes more effort to set up and maintain than a finished machine, but often gets you more performance per euro invested, especially with multiple graphics cards.

Where's the best place to buy an AI server?

You can get a Mac mini directly from Apple, the DGX Spark directly from Nvidia or partners like Dell, Lenovo, or Asus. For a GPU server you buy the parts from the usual PC retailers and assemble it yourself or have it assembled.

Which model fits which AI server?

Roughly by memory: models up to about 20 billion parameters such as gpt-oss-20b run in 16 GB, the class around 30 billion such as Muse Glimmer 30B, Gemma 4 31B or Qwen3.8-27B in 24 to 32 GB. For models up to about 200 billion parameters, Nvidia lists one DGX Spark with 128 GB. Very large models such as DeepSeek V4 need several machines or a data center.

Where to go from here

If you want to try out how far local AI takes you: I walk through setup from a Mac with Ollama to a server with SGLang step by step in Setting Up Local AI: Ollama to SGLang. My experience with the DGX Spark in everyday use is in DGX Spark Tested: Worth Buying?, and the bigger picture on when local even makes sense is in Local AI: What Actually Works in 2026. What DeepSeek V4 would need in hardware is worked out in Running DeepSeek Locally: What V4 Needs.

Kevin Welter

Kevin Welter

Developer, IT architect, author of technical books (Kubernetes, cloud infrastructures) and speaker. Runs his business with an AI workforce of fifteen AI employees and shows solo business owners in his community how to hire their first AI employee.

More about AI employees

Your first AI employee up and running within an hour

Join the community

$5/month founding price, first 50 members