Random memes }

Low-cost AI homelab computer options

This post is based on a conversation with Gemini about building a low-cost AI homelab using older workstation hardware and surplus GPUs.

The prior context is that I spent a couple of months(!) learning how to host local LLMs using an old datacenter GPU (AMD Instinct MI25). This lead me to wonder if there were better similar alternatives.

As with prior exercises, I find that an LLM can get 50% to 90% of where I want to go, but needs help. I this case, if you count the work needed to get to the point of asking the question, the percentage is lower. Still, using various LLMs did save much time.

Count this as an experiment, about an exercise, containing an experiment, to support further exercises. :)

To extract the conversation had to:

  1. Save the outerHTML of the subtree containing just the conversation.
  2. Feed the HTML extract to Gemini, and ask for Markdown.
  3. Used chat (Copilot) in vscode to draft this article with summary.
  4. Added the preamble, trimmed out some of the generated text, and tweaked format.

This worked. (Feeding the entire saved HTML page did not.) There might be a better way. :)

Summary

HP Z840 workstation

Lenovo ThinkStation P910 / P920

What to avoid

What makes sense for system memory?

Larger CPU RAM is useful to run oversized models and allow spillover to system memory.

Budget guidance

Estimates assuming a tower workstation chassis, cheap high-capacity ECC memory, and fan-modded AMD Instinct MI25 GPUs.

Alternatives to the MI25

NVIDIA Tesla P100 (16GB HBM2)

NVIDIA Tesla P40 (24GB GDDR5)

Practical notes

Original conversation

User:
Given current inflated hardware prices, what is a low cost cost AI homelab computer with the best performance per dollar? For example, an AMD Instinct MI25 can be had for under $100, and with a GPU fan and 3D printed duct, can serve in a desktop. Could get more than one, though need enough power and PCIe lanes. In present, DDR3 is half the price of DDR4, and DDR4 is half the price of DDR5.

As example, have an old HP Z820 that I got used several years ago. Has enough power, and with dual (old) Xeons it has enough PCIe lanes to host at least two MI25. The cost to add 256GB RAM was modest. Looking for a similar sort of rig, and the best value at current at current prices.

Gemini: Given the current inflated pricing landscape—where sky-high consumer DRAM prices have turned building new DDR4/DDR5 platforms into a costly endeavor—the surplus enterprise/workstation market remains the absolute king of performance-per-dollar for AI homelabs.

Just like your HP Z820, the goal is to leverage older server platforms that feature abundant PCIe lanes, robust power delivery, and dirt-cheap older generation memory (like DDR3 or early DDR4) to support high-density, low-cost accelerator setups like the AMD Instinct MI25 ($100 for 16GB of HBM2 VRAM!).

The following options represent the best-value multi-GPU AI homelab rigs currently available on the secondary market.

1. The Direct Successor: HP Z840 Workstation

2. The Enterprise Route: Dell PowerEdge R730 or Lenovo ThinkServer RD650

3. The High-Lane AMD Alternative: ThinkStation P910 / ThinkStation P920

Key Bottlenecks & Practical Tips for Multi-MI25 Rigs


User:
The MI25 board has mounting holes for a fan (presumably the same board as a WX9100, so can use the same sort of fan), from experience is well-cooled with a fan and 3D printed duct, and needs only 2-slots room.

Also recent Vulkan seems to be roughly on par with ROCm for LLM performance. Note recent ROCm version adds back support for the MI25, so no special configuration should be needed.

Exclude the (noisy) rackmount server solutions.

How much memory makes sense? The notion is larger CPU RAM would allow larger LLM to run (if slowly), so perhaps worthwhile. Large CPU memory might argue more for DDR3.

What sort of budget are we looking at for one, two, three, and (if possible) four GPU setups?

Are there alternatives to the MI25 that might offer better price / performance?

Gemini:

System Memory: How Much Makes Sense?

For an AI homelab, leaning into larger CPU RAM (and thus choosing an older DDR3/early DDR4 platform) is a viable strategy for running oversized Large Language Models—with a major caveat regarding performance.

Budget Breakdown for 1, 2, 3, and 4 GPU Setups

Assuming you are sourcing a tower workstation chassis (like a Z820/Z840 or ThinkStation equivalent), packing it with affordable high-capacity ECC memory, and utilizing fan-modded AMD Instinct MI25 ($75–$100 each):

GPU Count Total
VRAM
Build Cost Notes
1 GPU 16 GB HBM2 $250–$350 Base workstation + 1x MI25 + 3D printed duct/fan + 64GB/128GB RAM. Great entry point for up to 14B/32B quantized models.
2 GPUs 32 GB HBM2 $350–$500 Sweet spot for value. Comfortably runs 32B models fully in fast HBM2, or larger models with mild offloading. Requires ensuring the PSU has enough 8-pin PCIe headers.
3 GPUs 48 GB HBM2 $500–$700 Enables full-speed execution of heavy models like 34B/70B at lower quants. Requires a workstation with a 1000W+ PSU and physical slot spacing to breathe.
4 GPUs 64 GB HBM2 $700–$1000+ Maximum density for a standard desktop tower. Bottlenecks:
* Motherboards may force the bottom slots down to PCIe 3.0 x8 lanes or hit physical bottom-of-case clearance issues with standard 2-slot cards. Power draw will also approach ~1200W+ under full load, testing the limits of standard household circuits and proprietary workstation power distribution boards.

Alternatives to the MI25 for Price/Performance

While the MI25 is tough to beat at ~$80–$100 for raw memory bandwidth (484 GB/s HBM2), a few alternative surplus cards are worth cross-shopping depending on your software ecosystem preferences:

  1. NVIDIA Tesla P100 (16GB HBM2)
    • The Price: ~$130 – $150 on the secondary market.
    • The Pros: Also uses 16GB of HBM2 (~732 GB/s bandwidth, even faster than the MI25), but operates on native CUDA. If you ever run into quirks with Vulkan or ROCm on niche repository updates, standard CUDA just works out of the box with zero compilation overhead.
    • The Cons: Like the MI25, it's a passive enterprise card requiring a fan/shroud mod.
  2. NVIDIA Tesla P40 (24GB GDDR5)
    • The Price: Historically a darling of the homelab community, though pricing fluctuates wildly (often $200–$400 depending on surplus waves).
    • The Pros: 24GB of VRAM per card means a two-card setup gives you 48GB, easily fitting larger models completely in VRAM without relying on slow system memory or aggressive quantization.
    • The Cons: Uses older GDDR5 memory instead of HBM2, meaning token generation bandwidth is considerably slower (~346 GB/s) compared to the blazing-fast memory fabric of the MI25 or P100.

Conclusion

For a low-cost AI homelab, the best value is usually older workstation hardware with cheap ECC RAM and surplus HBM2 cards.

A dual-socket workstation like the Z840 or a ThinkStation P910/P920 gives you the PCIe lanes and power delivery needed for two to four MI25-style GPUs, while a DDR3/DDR4 platform can give you a lot of system memory for model offloading.