Hardware

How to Build an AI PC for Local LLMs

How to build an AI PC or home AI server for local LLMs: choosing the GPU, RAM, CPU, power supply, storage and cooling, plus three example builds by budget.

By OmniAI Editorial · Nov 19, 2026 · 9 min read

If you want to run AI models on your own hardware, the best way is often to build an AI PC yourself. A machine built for local AI looks different from a gaming PC: the graphics card's memory matters more than its speed, system RAM matters more than usual, and the power supply needs real headroom. Get those right and you can run capable language models, image generators and coding assistants privately, with no monthly bills.

This guide walks through each part of an AI PC build in the order you should decide it, explains what really matters for AI, and ends with three example builds by budget. Prices change constantly, so the builds describe tiers rather than exact costs.

Before You Build an AI PC: Pick Your Models

Before buying anything, decide what you want the machine to do. That decides almost everything else.

  • Chat and writing with small to mid-size models (7B to 14B parameters): a single 12–16 GB graphics card is enough.
  • Stronger models and coding assistants (around 30B parameters): aim for 24–32 GB of graphics memory.
  • Large models (70B and up, or big mixture-of-experts models): you'll need 48 GB or more, from two cards or a unified-memory machine.
  • Image and video generation: 12–16 GB works for many image models; video wants more.

Our guide to how much VRAM you need for AI explains these sizes in detail, including how quantization lets bigger models fit.

Step 1: Choose the GPU

The graphics card is the heart of the build and usually the biggest cost. For AI, rank what matters like this:

  1. VRAM size, because it decides which models you can run at all.
  2. Memory bandwidth, because it decides how fast text appears.
  3. Software support, where Nvidia's CUDA is still the smoothest. Our comparison of Nvidia vs AMD for AI covers the trade-offs.

Used high-memory cards, such as 24 GB models from earlier generations, are a popular way to get lots of VRAM for less money. Check the card's condition, warranty and seller before buying. For card-by-card recommendations at different budgets, see our guide to the best GPU for LLMs.

A grey graphics card with two fans, with a tall grey memory block standing above it and an orange band at the top of the block.
For AI, graphics memory is the first number to check: it decides which models fit on the card.

Step 2: System RAM

When a model doesn't fully fit on the graphics card, tools like Ollama and llama.cpp can put part of it in system RAM. That's much slower, but it lets you run models that would otherwise be impossible. RAM also holds the model while it loads and runs your other apps.

A practical rule: have at least as much system RAM as graphics memory, and ideally double.

  • 32 GB: fine for a single mid-range card and small models.
  • 64 GB: a good default for most AI builds.
  • 128 GB or more: useful for running large models partly on the CPU, or big mixture-of-experts models.

Buy the RAM in as few modules as possible, so you can add more later. Large amounts of fast RAM can be harder to run at full speed, so check the motherboard's memory support list.

Step 3: CPU

The processor matters less for AI than you might think, because the GPU does the heavy work. A modern mid-range CPU with six to eight cores is enough for most single-GPU builds.

The CPU matters more when:

  • You run models partly on the CPU. More cores and more memory channels help.
  • You want several GPUs. Consumer CPUs have a limited number of PCIe lanes, the connections to graphics cards. Two GPUs usually work in a split x8/x8 setup; more than two calls for a workstation-class platform.
  • You also use the PC for other heavy work, such as video editing or code compiling.

Step 4: Motherboard

Pick the motherboard to match your plans:

  • One GPU: almost any modern board with a full-size PCIe x16 slot works.
  • Dual GPU: look for a board that supports splitting lanes into x8/x8 across two full-size slots, with enough space between them for two thick cards. The spec sheet will mention lane allocation or "x8/x8 mode."
  • RAM capacity: check the maximum supported memory if you plan to grow to 128 GB.
  • Storage: at least two M.2 slots for fast drives is helpful.

Step 5: Power Supply

The power supply is the part people most often get wrong. High-end graphics cards can draw a lot of power, with short spikes above their rated figure.

  • Add up the GPU and CPU power ratings, then add generous headroom, often 30–50% for a single card.
  • One high-end GPU: typically around 850–1,000 W.
  • Two high-end GPUs: often 1,200 W or more.
  • Choose a quality unit from a reputable brand with the right modern connectors for your card, and use the cables that come with it.

A good power supply protects every other part of the build. It's not the place to save money.

A grey power supply box with a thick cable leading to two grey graphics cards, with a small orange lightning-shaped mark on the power supply.
Power needs grow fast with each graphics card, so leave plenty of headroom in the power supply.

Step 6: Storage

Models are big files, and you'll download many of them. A single large model can take tens of gigabytes.

  • Use a fast NVMe SSD so models load quickly.
  • Plan for at least 2 TB, more if you want to keep many models or work with images and video.
  • Keep models on a separate drive from the operating system if you can, so a reinstall doesn't mean re-downloading everything.

Step 7: Case and Cooling

AI workloads can keep the GPU at full load for long periods, far longer than most games. Good airflow keeps speeds stable and parts healthy.

  • Choose a case with strong front-to-back airflow and room for long graphics cards.
  • For two GPUs, leave space between them or use cards with blower-style coolers.
  • Keep the room temperature in mind: a busy AI PC produces a lot of heat.
  • If the machine will run 24/7 as a home AI server, consider noise, and where it will sit.
A grey computer case outline with three curved arrows showing air flowing in at the front and out at the back, the outgoing arrow in orange.
Long AI jobs keep parts busy for hours, so steady front-to-back airflow matters more than in a gaming PC.

Example AI PC Builds by Budget

These describe tiers, not exact parts. Check current prices and availability.

Entry build

  • GPU: one card with 12–16 GB of VRAM.
  • RAM: 32–64 GB.
  • CPU: modern 6-core.
  • Power supply: around 750 W.
  • Good for: 7B–14B models, coding helpers, many image models.

Mid-range build

  • GPU: one card with 24–32 GB of VRAM, new or used.
  • RAM: 64 GB.
  • CPU: modern 8-core.
  • Power supply: around 1,000 W.
  • Good for: models around 30B parameters, faster image work, longer contexts.

Enthusiast build

  • GPU: two cards with 24–32 GB each.
  • RAM: 128 GB.
  • CPU and board: platform that supports x8/x8 or more lanes.
  • Power supply: 1,200 W or more.
  • Good for: 70B-class models at 4-bit, larger mixture-of-experts models, small fine-tuning jobs.

Dual GPU: Is It Worth It?

A dual GPU setup doubles your VRAM, which is the cheapest way to run models that don't fit on one consumer card. Tools like llama.cpp, Ollama and vLLM can split one model across two cards.

But it's not twice as fast. For a single conversation, the cards often take turns working on different layers, so speed is limited by each card's memory bandwidth, not the total. You gain capacity more than speed. Two cards also mean more power, more heat, a bigger case and a more expensive motherboard.

Software Setup

Once the PC is built:

  • Operating system: Windows works well for most tools; Linux is often smoother for advanced setups, AMD GPUs and servers.
  • Drivers: install the latest GPU drivers, plus CUDA or ROCm if your tools need them.
  • Local AI apps: start with Ollama or LM Studio for language models. Both make downloading and running a model a matter of minutes.
  • Remote access: if it's a home AI server, set up secure remote access rather than opening it to the internet.

Alternatives If You Don't Want to Build an AI PC

If you'd rather not build, unified-memory machines are a serious option. Macs with lots of memory, Nvidia's DGX Spark and mini PCs with AMD's Ryzen AI Max chips can hold very large models in a small, quiet box. They usually generate text more slowly than a high-end graphics card, but they run models that no single consumer card can hold.

FAQ

What do I need to build an AI PC?

The key parts are a graphics card with plenty of VRAM, enough system RAM (64 GB is a good default), a modern CPU, a motherboard with the right PCIe slots, a high-quality power supply with headroom, a large NVMe SSD and a case with good airflow.

How much VRAM do I need for a home AI PC?

For small to mid-size models, 12–16 GB is enough. For stronger models around 30B parameters, aim for 24–32 GB. Large 70B-class models need 48 GB or more, usually from two cards or a unified-memory machine.

Is a gaming PC good for AI?

Often, yes. A gaming PC with a recent Nvidia card can run many local AI tools well. The main limit is usually the graphics card's VRAM and the amount of system RAM.

Do I need two GPUs for local AI?

Only if you want to run models that don't fit on one card. Two GPUs mainly add memory capacity, not speed for a single user, and they need a bigger power supply, a suitable motherboard and good cooling.

How much power does an AI PC use?

It depends mostly on the graphics card. A single high-end card under full load can draw several hundred watts, and the whole system can approach a kilowatt with two cards. Idle power is much lower.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog