Edge AI · intermediate

Which computer do I need to run AI models locally?

How much memory a local AI model needs, why bandwidth sets its speed, and what GeForce and RTX PRO cards, Macs, Ryzen AI Max PCs and DGX Spark cost now.

A man with glasses working at a desktop computer in a bright home office, with plants, a desk lamp and shelves behind him

Photo: Vitaly Gariev / Unsplash

After reading this article you will be able to:

  • Estimate the memory a model needs from its parameters, its bit width and the length of text it reads
  • Compare graphics cards, Macs, Ryzen AI Max PCs and DGX Spark on memory, bandwidth, price and software
  • Pick a machine for documents, coding, a shared office server or images, or decide to rent instead

Drafted with AI from primary sources · checked by a separate AI agent · spot-checked by our editors · How we check

On this page
  1. How much memory does a model need?
  2. Why does memory bandwidth set the speed?
  3. What is on sale in November 2026, and at what price?
  4. Which software runs on which hardware?
  5. What does local AI cost to run, and when is the cloud cheaper?
  6. Which machine fits which job?
  7. Where to go next
  8. Common questions

Buy for memory first. A language model runs at full speed only when all of it fits in the memory its graphics chip can reach: the video memory (VRAM) on a graphics card, or the unified memory that a Mac, an AMD Ryzen AI Max computer or an Nvidia DGX Spark shares between processor and graphics. The second number is memory bandwidth, the gigabytes per second that memory delivers, which sets how fast the model writes. On prices read on 14 November 2026, a recent 16 GB computer already runs small models; Framework’s Italian store listed 128 GB of unified memory, enough for models of about 120 billion parameters, at €3,919, out of stock on the day; above that sit the Mac Studio M5 Ultra, from €6,699 with 96 GB (256 and 512 GB need the 80-core version, from €8,129 before the memory upgrade), and Nvidia’s 96 GB RTX PRO 6000. The table gives the steps.

Memory is also why prices rose in 2026. TrendForce, citing Korean press, reported in January that AI data centers had pushed the price of graphics memory up “by several hundred percent”, and in February Nvidia raised the DGX Spark price “due to worldwide constraints in memory supply”, in an announcement on its developer forum. Check prices again on the day you buy.

This site is written with AI tools, including Claude, made by Anthropic, a company that also sells online AI, one of the alternatives to running models locally. This page uses the makers’ published specifications and prices, cloud providers’ price lists, Eurostat statistics, public benchmark threads and trade press reports, with links.

Budget (14 Nov 2026)What it buysMemory for the modelHolds at 4-bit
€0The computer you have, 16 GB or more16 GBgpt-oss-20b, Gemma 4 12B
about €1,000 to €2,500Mac mini M6 (up to 32 GB) or M5 Pro (24 GB), or a 16 GB GeForce card added to a PC you already own (Nvidia shows no current price; launch prices below)16 to 32 GB, or 16 GBGemma 4 12B or gpt-oss-20b on 16 GB, Gemma 4 26B A4B only with short texts; Gemma 4 31B on 24 or 32 GB
from about €3,70064 GB Mac mini M5 Pro (€3,679); 128 GB unified memory: Framework Ryzen AI Max+ 395 (€3,919, out of stock on 14 Nov), Mac Studio M5 Max (64 GB preset €4,479; 128 GB price not shown), DGX Spark ($6,950 in the US, no euro price)64 or 128 GBa 70B model on 64 GB; gpt-oss-120b, Qwen3.5-122B-A10B on 128 GB
from €6,699Mac Studio M5 Ultra (from €6,699 with 96 GB; 256 or 512 GB need the 80-core version, from €8,129 before the memory upgrade); workstation with RTX PRO 600096 to 512 GB; 96 GBgpt-oss-120b; DeepSeek-V4-Flash on a Mac with 256 GB or more

How much memory does a model need?

The weights, the numbers the model learned, take about parameters × bits ÷ 8 bytes. A 70-billion-parameter model needs about 140 GB at 16 bits, 70 GB at 8 bits and 35 GB at 4 bits. Quantization, storing each weight in fewer bits, is what makes local AI practical; Google notes that models “with higher parameters and bit counts (higher precision) are generally more capable” (Gemma docs).

On top of the weights sits the key-value cache, the model’s working memory for the text it has read, which grows with every token (a piece of a word). Nvidia’s formula gives about 2 GB for 4,096 tokens on Llama 2 7B at 16 bits; a 32,768-token context would need eight times that. Newer models such as Llama 3.3 use grouped-query attention (model card), which shrinks the cache, but a long contract or a whole code project still needs gigabytes.

Model (maker)Built asParameters (total / active)4-bit weights8-bit weights
Gemma 4 12B (Google)dense12B6.7 GB*13.4 GB*
gpt-oss-20b (OpenAI)mixture of experts21B / 3.6Bruns “within 16GB”not published
Gemma 4 26B A4B (Google)mixture of experts26B / about 4B14.4 GB*28.8 GB*
Qwen3.8-27B (Alibaba)dense27Babout 14 GBabout 27 GB
Gemma 4 31B (Google)dense31B17.5 GB*34.9 GB*
Llama 3.3 70B (Meta, Dec 2024)dense70Babout 35 GBabout 70 GB
gpt-oss-120b (OpenAI)mixture of experts117B / 5.1B59 GiB file; “a single 80GB GPU”not published
Qwen3.5-122B-A10B (Alibaba)mixture of experts122B / 10Babout 61 GBabout 122 GB
DeepSeek-V4-Flashmixture of experts284B / 13Babout 142 GBabout 284 GB
DeepSeek-V4-Promixture of experts1.6T / 49Babout 800 GBabout 1,600 GB

*Google’s figures, which include about 20% loading overhead but no context. The other rows are the formula above, without overhead; the gpt-oss-120b file size is from llama.cpp’s DGX Spark results.

A mixture-of-experts model uses only part of its parameters for each token, but Google stresses that “all 26 billion parameters must be loaded into memory”. So 16 GB holds the first two rows, 24 to 32 GB the 26B to 31B models, 48 to 64 GB a 70B dense model, and 128 GB the 120B class. DeepSeek-V4-Flash needs 256 GB or two linked machines, and V4-Pro is beyond any single desktop.

Why does memory bandwidth set the speed?

To write each token, the chip reads all the weights it uses from memory, a step Nvidia’s blog calls “memory-bound”. Bandwidth divided by the bytes read gives a ceiling: a 35 GB dense 70B model can write at most about 8 tokens a second at 273 GB/s and about 51 at 1,792 GB/s on a 96 GB RTX PRO 6000. A mixture-of-experts model reads only its active part, which is why gpt-oss-120b runs well on unified-memory machines with modest bandwidth.

Reading the prompt is different: Nvidia describes it as an operation that “effectively saturates GPU utilization”, so computing power sets how long you wait before a long document starts to be answered. llama.cpp’s public scoreboards run the same small test model (Llama 2 7B, 4-bit) on many chips:

Chip (memory, bandwidth)Reads prompt, tokens/sWrites, tokens/s
GeForce RTX 5090 (32 GB, 1,792 GB/s)14,970300
RTX PRO 6000 Blackwell (96 GB, 1,792 GB/s)16,619281
GeForce RTX 3090, used (24 GB)5,560162
GeForce RTX 5060 Ti (16 GB, 448 GB/s)4,19693
Nvidia DGX Spark (128 GB, 273 GB/s)3,66157
Apple M5 Ultra, 80-core GPU (1.2 TB/s)4,945179
Apple M5 Max, 40-core GPU (614 GB/s)3,220120
Apple M5 Pro, 20-core GPU (307 GB/s)1,62166
AMD Ryzen AI Max+ 395 with ROCm (256 GB/s)1,00450

Bandwidth from the makers, except the AMD figure, worked out below. Sources: the CUDA and ROCm scoreboards with flash attention, and the Apple thread, whose runs use llama-bench’s default “auto” flash attention setting, all read on 14 November 2026. “Reads prompt” is the pp512 test, a 512-token prompt, and “Writes” is tg128, 128 tokens. The Nvidia and AMD rows come from different users and llama.cpp versions, while the three Apple rows share one version, so treat the numbers as rough. llama.cpp’s own run on the DGX Spark, with a 2,048-token prompt, 32 written tokens and flash attention on, gives 58.7 tokens a second writing and 2,444 reading with gpt-oss-120b, and 29.4 writing with the dense Qwen2.5 Coder 7B at 8 bits.

What is on sale in November 2026, and at what price?

MachineMemory for the modelBandwidthUS priceItalian price
GeForce RTX 5090 (card)32 GB1,792 GB/s$1,999 at launchnot shown; lowest German listings above €5,000 (Guru3D, Sept)
GeForce RTX 5080 / 5070 Ti (card)16 GB960 / 896 GB/s$999 / $749 at launchnot shown
GeForce RTX 5060 Ti 16 GB (card)16 GB448 GB/s$429 at launchnot shown
RTX PRO 6000 Blackwell (card)96 GB, ECC1,792 GB/s$16,000 at Nvidia’s store (Aug)not published
Mac mini M6 / M5 Proup to 32 / 64 GBup to 170 / 307 GB/sfrom $899 / $1,699from €1,079 / €2,029
MacBook Pro 14-inch M5 Maxup to 128 GBup to 614 GB/sfrom $3,599 at launch (March), $4,099 on 14 Novfrom €4,299 at launch, €4,899 on 14 Nov
Mac Studio M5 Max36 to 128 GB460 or 614 GB/sfrom $2,499from €3,049
Mac Studio M5 Ultra96 to 512 GB1.2 TB/sfrom $5,499from €6,699
Framework Desktop, Ryzen AI Max+ 395128 GB256 GB/s (calculated)not shown€3,919, out of stock
Framework Desktop, Ryzen AI Max+ PRO 495192 GB (160 for the GPU)273 GB/snot shown€7,759, pre-order, ships December
Nvidia DGX Spark128 GB273 GB/s$6,950 since 2 Oct (The Register)no euro price published
DGX Spark 64 GB (partners only)64 GB273 GB/sfrom $4,999not published

Italian prices from Apple and Framework include VAT. “From” means the smallest memory. Apple’s store did not list memory upgrade prices, but its preset configurations on 14 November included a Mac mini M5 Pro with 64 GB at €3,679 ($3,199) and a Mac Studio M5 Max with 40-core GPU and 64 GB at €4,479 ($3,799); the 128 GB Mac Studio price was not shown. Framework’s store showed only euro prices.

Nvidia GeForce cards

The RTX 50 series tops out at 32 GB on the RTX 5090, which draws 575 W and asks for a 1,000 W power supply (Nvidia). The prices are Nvidia’s launch prices of 2025, not today’s shop prices. Shops charge more: Guru3D reported on 14 September that the lowest RTX 5090 listings in Germany were above €5,000. Good at: speed and software support. Weak at: memory, which caps a single card at 30B-class models.

Nvidia RTX PRO cards

The RTX PRO 6000 Blackwell has 96 GB with error-correcting memory and draws 600 W, or 300 W in the Max-Q version; the line also includes 84, 72, 48, 32, 24 and 16 GB models. Nvidia did not announce an official MSRP; Igor’s Lab reported on 14 August that Nvidia’s US store listed it at $16,000, up from $13,250 in June and marked unavailable, against an early listing of $8,565 at a US retailer in 2025. Good at: gpt-oss-120b on one fast card, shared servers. Weak at: price.

Apple Macs

Apple’s chips share one pool of memory between processor and graphics. The Mac Studio takes up to 128 GB with M5 Max (40-core GPU) and up to 512 GB with M5 Ultra (80-core GPU), the 512 GB option available since late October (Apple Italia), and draws at most 480 W. Prices come from Apple’s press releases and store. Good at: the largest memory on one desktop. Weak at: prompt reading and Nvidia-only tools.

AMD Ryzen AI Max computers

The Ryzen AI Max+ 395 takes up to 128 GB of memory, which Framework runs at 8,000 MT/s on a 256-bit bus (Framework); 8,000 million transfers a second times 32 bytes works out to 256 GB/s. Framework’s Italian store listed the 128 GB system at €3,919 including VAT, out of stock. The newer Ryzen AI Max PRO 400 series offers “up to 192GB of unified memory and 160GB of VRAM” (AMD, May 2026), with systems from OEM partners “including HP and Lenovo”; Framework’s 192 GB model has 273 GB/s (Framework) and costs €7,759 on pre-order; on 14 November both November batches were sold out and the next batch was listed for December. Good at: the cheapest 128 GB in the table. Weak at: bandwidth and prompt reading.

Nvidia DGX Spark and partner versions

The DGX Spark is a 150 mm box with Nvidia’s GB10 chip, 128 GB at 273 GB/s, a 240 W power supply and ConnectX-7 networking at 200 Gb/s to link up to four units. It launched at $3,999, rose to $4,699 in February (Nvidia forum) and to $6,950 on 2 October (The Register); a 64 GB version sold only by partners starts at $4,999 (Nvidia). Acer, ASUS, Dell, Gigabyte, HP and MSI sell GB10 machines at prices they set themselves; Nvidia directs pricing questions about these to the partners. Good at: CUDA in a 240 W box, large mixture-of-experts models. Weak at: bandwidth for dense models, price since October.

Used cards and several GPUs

The used route usually means RTX 3090 cards: 24 GB each, 350 W each. llama.cpp’s default “split layers and KV across GPUs (pipelined)” (server docs) adds the cards’ memory together; the cards take turns, so one chat gets more room, not more speed. Two cards hold a 70B model at 4-bit. The costs: no maker warranty, a large power supply, a motherboard with enough slots, heat, and no support for the 4-bit format of Nvidia’s newest cards (see below).

Which software runs on which hardware?

  • Nvidia (CUDA): everything. Ollama supports cards from compute capability 5.0 with driver 550; LM Studio, llama.cpp and vLLM, “a high-throughput and memory-efficient inference and serving engine”, all run on it.
  • Apple (Metal, MLX): llama.cpp calls Apple silicon “a first-class citizen” (README); LM Studio also runs models with Apple’s MLX (LM Studio), and Ollama has an MLX engine. vLLM uses Apple’s GPU only through a community plugin, vLLM-Metal (vLLM).
  • AMD (ROCm, Vulkan): ROCm 7.2.1 supports the Ryzen AI Max 300 series on Linux and Windows with PyTorch (AMD). Ollama lists the Ryzen AI Max+ 395 for ROCm on Linux and uses Vulkan elsewhere; llama.cpp has both backends.
  • DGX Spark: an Arm processor running Nvidia’s DGX OS with Nvidia’s AI software preinstalled, so Windows programs are not an option.

Image and video generation leans on Nvidia. ComfyUI ships builds for Nvidia, AMD, Intel and Apple, but its support for Nvidia’s NVFP4 format gives “a ~2x performance boost” only on RTX 50 and Blackwell PRO cards (ComfyUI, January 2026), and Nvidia’s own video guide asks for 16 GB, “RTX 5070 Ti or higher recommended”.

What does local AI cost to run, and when is the cloud cheaper?

Electricity. The Eurostat household rate for Italy was €0.3142 per kWh in the first half of 2026, for households using 2,500 to 4,999 kWh a year, taxes included (Eurostat). At full rated power for 8 hours on 250 working days, an RTX 5090 card alone, before the rest of the PC, uses 1,150 kWh, about €360 a year; four RTX 3090 cards alone about €880; a Mac Studio at its 480 W maximum about €300; a DGX Spark at its 240 W supply limit about €150; a Mac mini at its 155 W maximum about €100. These are ceilings: a model draws full power only while it works.

Noise and heat. Every watt ends up as heat in the room. A tower with a 575 W card or several 350 W cards needs a well-ventilated spot away from where people work; a machine rated at 155 to 480 W is easier to keep on a desk.

Quality and licenses. The open models that fit a desktop are smaller than the largest ones: DeepSeek-V4-Pro needs about 800 GB at 4 bits, and Apple presents a cluster of Mac Studios as the way to load “the largest and most demanding frontier-class open-weight models” (Apple). Licenses differ: gpt-oss and Qwen use Apache 2.0, DeepSeek-V4 MIT, Llama 3.3 Meta’s own license; lesson 9 explains what that means for an office.

Renting. On 14 November RunPod rented an RTX 5090 from $0.69 an hour and a 96 GB RTX PRO 6000 from $1.69 in its Community Cloud ($1.39 and $2.69 in its Secure Cloud). Forty hours a month on the RTX PRO 6000 cost about $68 to $108, against $16,000 for the card at Nvidia’s US store in August or an early listing of $8,565 at a US retailer in 2025. OpenRouter listed gpt-oss-120b at $0.03 per million input tokens and $0.15 per million output tokens. Renting and APIs send your data to someone else, which is the main reason to buy. On cost alone, renting the RTX PRO 6000 for 2,000 hours a year (eight hours on 250 working days) costs $3,380 to $5,380, so buying the card pays off only after several years of daily use, and at these API prices buying hardware for one user rarely pays off at all.

Which machine fits which job?

  • Private documents in an office. A 20B to 31B model in 24 to 64 GB: a Mac mini M5 Pro with 64 GB draws at most 155 W; a PC with a 32 GB card reads long contracts several times faster. Setup and safety: lesson 9.
  • A coding assistant. Long contexts need fast prompt reading and room for the cache. An RTX 5090 for 27B to 31B models, or 128 GB of unified memory for gpt-oss-120b, which reads long prompts more slowly; editors connect through the OpenAI-compatible API of llama.cpp’s server.
  • A small team on one server. vLLM on an RTX PRO 6000, which holds gpt-oss-120b on one card. Opening a model to the office network is a job for a technician.
  • Images and video. An Nvidia RTX 50 series or RTX PRO Blackwell card with 16 GB or more, an RTX 5070 Ti or higher as Nvidia’s video guide recommends, for the reasons above.
  • Don’t buy yet. A 16 GB computer runs gpt-oss-20b or Gemma 4 12B. Rent a large GPU for an afternoon with test documents, not client files, to see which model size you need.

Where to go next

Common questions

How much memory do I need to run a 70B model locally?

At 4 bits per parameter the weights of a 70-billion-parameter dense model take about 35 GB, and the text it reads needs more on top. In practice that means 48 GB of graphics memory, for example two 24 GB cards, or a Mac or Ryzen AI Max machine with 64 GB of unified memory or more.

Is a Mac good for running local LLMs?

For large models, yes: a Mac Studio offers up to 128 GB of unified memory with M5 Max and up to 512 GB with M5 Ultra, and llama.cpp, LM Studio and Ollama all support Apple silicon. Its weak points are reading long prompts, which an RTX 5090 does about three times faster than an M5 Ultra in llama.cpp's public benchmarks, and image or video tools tuned for Nvidia.

DGX Spark or RTX 5090: which should I buy for local AI?

They solve different problems. The RTX 5090 has 32 GB with 1,792 GB/s of bandwidth, so it is much faster on models that fit in 32 GB. The DGX Spark has 128 GB at 273 GB/s, so it holds models of about 120 billion parameters that the 5090 cannot, but writes more slowly on dense models.

Can I combine two graphics cards to run a bigger model?

Yes. llama.cpp splits a model's layers across several cards by default, so their memory adds up. The cards then work in a pipeline, one after the other, so for a single conversation you gain room for a bigger model rather than speed.

Is it cheaper to run AI locally or in the cloud?

For occasional use the cloud is usually cheaper: on 14 November 2026 RunPod rented a 96 GB RTX PRO 6000 from 1.69 dollars an hour, and APIs for open models cost cents per million tokens. Local hardware makes sense when data must stay on your premises; on cost alone it pays off only for a machine kept busy every working day for several years.

Topics: local AI, LLM, hardware, GPU, Apple silicon, DGX Spark, Ryzen AI Max, buying guide

Diagram