frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Building an AI Server on a Budget

https://www.informationga.in/blog/building-an-ai-server-on-a-budget
21•mful•15h ago

Comments

vunderba•13h ago
The RTX market is particularly irritating right now, even second-hard 4090s are still going for MSRP if you can find them at all.

Most of the recommendations for this budget AI system are on point - the only thing I'd recommend is more RAM. 32GB is not a lot - particularly if you start to load larger models through formats such as GGUF and want to take advantage of system ram to split the layers at the cost of inference speed. I'd recommend at least 2 x 32GB or even 4 x 32GB if you can swing it budget-wise.

Author mentioned using Claude for recommendations, but another great resource for building machines is PC Part Picker. They'll even show warnings if you try pairing incompatible parts or try to use a PSU that won't supply the minimum recommended power.

https://pcpartpicker.com

uniposterz•13h ago
I had a similar setup for a local LLM, 32GB was not enough. I recommend going for 64GB.
golly_ned•13h ago
Whenever I get to a section that was clearly autogenerated by an LLM I lose interest in the entire article. Suddenly the entire thing is suspect and I feel like I’m wasting my time, since I’m lo lingering encountering the mind of another person, just interacting with a system.
bravesoul2•12h ago
I didn't see anything like that here. Yeah they used bullets.
7speter•13h ago
I dunno everyone, but I think Intel has something big on their hands with their announced workstation gpus. The b50 is a low profile card that doesn’t have a powersupply hookup because it only uses something like 60 watts, and comes with 16gb vram at a msrp of 300 dollars.

I imagine companies will have first dibs via the likes of agreements with suppliers like CDW, etc, but if Intel had enough of these battlemage dies accumulated, it could also drastically change the local ai enthusiast/hobbyist landscape; for starters this could drive down the price of workstation cards that are ideal for inference, at the very least. I’m cautiously excited.

On the AMD front (really, a sort of open compute front), Vulkan Kompute is picking up steam and it would be really cool to have a standard that mostly(?) ships with Linux, and older ports available for Freebsd, so that we can actually run free as in freedom inference locally.

Uehreka•13h ago
Love the attention to detail, I can tell this was a lot of work to put together and I hope it helps people new to PC building.

I will note though, 12GB of VRAM and 32GB of system RAM is a ceiling you’re going to hit pretty quickly if you’re into messing with LLMs. There’s basically no way to do a better job at the budget you’re working with though.

One thing I hear about a lot is people using things like RunPod to briefly get access to powerful GPUs/servers when they need one. If you spend $2/hr you can get access to an H100. If you have a budget of $1300 that could get you about 600 hours of compute time, which (unless you’re doing training runs) should last you several months.

In several months time the specs required to run good models will be different again in ways that are hard to predict, so this approach can help save on the heartbreak of buying an RTX 5090 only to find that even that doesn’t help much with LLM inference and we’re all gonna need the cheaper-but-more-VRAM Intel Arc B60s.

Jedd•12h ago
In January 2024 there was a similar post ( https://news.ycombinator.com/item?id=38985152 ) wherein the author selected dual NVidia 4060 Ti's for an at-home-LLM-with-voice-control -- because they were the cheapest cost per GB of well-supported VRAM at the time.

(They probably still are, or at least pretty close to it.)

That informed my decision shortly after, when I built something similar - that video card model was widely panned by gamers (or more accurately, gamer 'influencers'), but it was an excellent choice if you wanted 16GB of VRAM with relatively low power draw (150W peak).

TFA doesn't say where they are, or what currency they're using (which implies the hubris of a North American) - at which point that pricing for a second hand, smaller-capacity, higher-power-drawing 4070 just seems weird.

Appreciate the 'on a budget' aspect, it just seems like an objectively worse path, as upgrades are going to require replacement, rather than augment.

As per other comments here, 32 / 12 is going to be really limiting. Yes - lower parameter / smaller-quant models are becoming more capable, but at the same time we're seeing increasing interest in larger context for these at home use cases, and that chews up memory real fast.

rcarmo•11h ago
The trouble with these things is that “on a budget” doesn’t deliver much when most interesting and truly useful models are creeping beyond the 16GB VRAM limit and/or require a lot of wattage. Even a Mac mini with enough RAM is starting to look like an expensive proposition, and the AMD Stryx Halo APUs (the SKUs that matter, like the Framework Desktop at 128GB) are around $2K.

As someone who built a period-equivalent rig (with a 12GB 3060 and 128GB RAM) a few years ago, I am not overly optimistic that local models will keep being a cheap alternative (never mind the geopolitics). And yeah, there are vey cheap ways to run inference, but hey become pointless - I can run Qwen and Phi4 locally on an ARM chip like the RK3588, but it is still dog slow.

v5v3•10h ago
I thought prevailing wisdom was that a used 3090 with it's larger vram was the best budget gpu choice?

And in general, if on a budget then why not buy used and not new? And more so as the author himself talks about the resale value for when he sells it on.

olowe•7h ago
> I thought prevailing wisdom was that a used 3090 with it's larger vram was the best budget gpu choice?

The trick is memory bandwidth - not just the amount of VRAM - is important for LLM inference. For example, the B50 specs list a memory bandwidth of 224 GB/s [1], whereas the Nvidia RTX 3090 has over 900GB/s [2]. The 4070's bandwidth is "just" 500GB/s [3].

More VRAM helps run larger models but with lower bandwidth tokens could be generating so slowly it's not really practical for day-to-day use or experimenting.

[1]: https://www.intel.com/content/www/us/en/products/sku/242615/...

[2]: https://www.techpowerup.com/gpu-specs/geforce-rtx-3090.c3622

[3]: https://www.thefpsreview.com/gpu-family/nvidia-geforce-rtx-4...

politelemon•10h ago
If the author is reading this I'll point out that the cuda toolkit you find in the repositories is generally older. You can find the latest versions straight from Nvidia: https://developer.nvidia.com/cuda-downloads?target_os=Linux&...

The caveat is that sometimes a library might be expecting an older version of cuda.

The vram on the GPU does make a difference, so it would at some point be worth looking at another GPU or increasing your system ram if you start running into limits.

However I wouldn't worry too much right away, it's more important to get started and get an understanding of how these local LLMs operate and take advantage of the optimisations that the community is making to make it more accessible. Not everyone has a 5090, and if LLMs remain in the realms of high end hardware, it's not worth the time.

burnt-resistor•8h ago
Reminds me of https://cr.yp.to/hardware/build-20090123.html

I'll be that guy™ that says if you're going to do any computing half-way reliably, only use ECC RAM. Silent bit flips suck.

DogRunner•7h ago
I used a similar budget and build something like this:

7x RTX 3060 - 12 GB which results in 84GB Vram AMD Ryzen 5 - 5500GT with 32GB Ram

All in a 19-inch rack with a nice cooling solution and a beefy power supply.

My costs? 1300 Euro, but yeah, I sourced my parts on ebay / second hand.

(Added some 3d printed parts into the mix: https://www.printables.com/model/1142963-inter-tech-and-gene... https://www.printables.com/model/1142973-120mm-5mm-rised-noc... https://www.printables.com/model/1142962-cable-management-fu... if you think about building something similar)

My power consumption is below 500 Watt at the wall, when using LLLMs,since I did some optimizations:

* Worked on power optimizations and after many weeks of benchmarking, the sweet spot on the RTX3060 12GB cards is a 105 Watt limit

* Created Patches for Ollama ( https://github.com/ollama/ollama/pull/10678) to group models to exactly memory allocation instead of spreading over all available GPUs (This also reduces the VRAM overhead)

* ensured that ASPM is used on all relevant PCI components (Powertop is your friend)

It's not all shiny:

* I still use PCIe3 X1 for most of the cards, which limits their capability, but all I found so far (PCIe Gen4 x4 extender and bifurcation/special PCIE routers) are just too expensive to be used on such low powered cards

* Due to the slow PCIe bandwidth, the performance drops significantly

* Max VRAM per GPU is king. If you split up a model over several cards, the RAM allocation overhead is huge! (See Examples in my ollama patch about). I would rather use 3x 48GB instead of 7x 12G.

* Some RTX 3060 12GB Cards do idle at 11-15 Watt, which is unacceptable. Good BIOSes like the one from Gigabyte (Windforce xxx) do idle at 3 Watt, which is a huge difference when you use 7 or more cards. These BIOSes can be patched, but this can be risky

All in all, this server idles at 90-100Watt currently, which is perfect as a central service for my tinkerings and my family usage.

incomingpain•5h ago
I've been dreaming on pcpartpicker.

I think Radeon RX 7900 XT - 20 GB has been the best bang for your buck. Enables full gpu 32B?

Looking at what other people have been doing lately, they arent doing this.

They are getting 64+ core cpus and 512GB of ram. Keeping it on cpu and enabling massive models. This setup lets you do deepseek 671B.

It makes me wonder, how much better is 671B vs 32B?

Ask HN: What's your AI workflow as a tech. founder or experienced SWE?

1•babyent•2m ago•0 comments

Too Wide or Not Too Wide – That Is the ClickHouse Question

https://altinity.com/blog/too-wide-or-not-too-wide-that-is-the-clickhouse-question
1•skadamat•3m ago•0 comments

X names Polymarket as its official prediction market partner

https://techcrunch.com/2025/06/06/x-names-polymarket-as-its-official-prediction-market-partner/
1•DocFeind•6m ago•0 comments

Game-Changing New Technology Can Squeeze Hydrogen from Seawater

https://scitechdaily.com/game-changing-new-technology-can-squeeze-hydrogen-from-seawater/
2•givinguflac•7m ago•1 comments

Show HN: EndBOX – A toy-like retro computer for EndBASIC

https://www.endbasic.dev/2025/06/unveiling-the-endbox.html
1•jmmv•8m ago•0 comments

Show HN: ConvoQueen – AI-powered conversation tracker for dating and networking

https://convoqueen.xyz
1•coolwulf•9m ago•0 comments

Fusion Energy Will Power the AI Boom [video]

https://www.youtube.com/watch?v=XdigD0LOXx0
1•lawrenceyan•10m ago•0 comments

HTML-bin, an embeddable codebin widget

https://potch.me/2025/html-bin-an-embeddable-codebin-widget.html
2•surprisetalk•12m ago•0 comments

Exceptional intervals to the prime number theorem in short intervals

https://terrytao.wordpress.com/2025/06/02/on-the-number-of-exceptional-intervals-to-the-prime-number-theorem-in-short-intervals/
1•surprisetalk•12m ago•0 comments

Rebooting the Attention Machine

https://cosmosinstitute.substack.com/p/rebooting-the-attention-machine
1•surprisetalk•14m ago•0 comments

The AI lobby plants its flag in Washington

https://www.politico.com/news/2025/06/06/the-ai-lobby-plants-its-flag-in-washington-00389549
2•petethomas•14m ago•0 comments

Implementation of Dependent Types

https://www.cse.chalmers.se/~coquand/impl.html
1•fanf2•15m ago•1 comments

Nitpicking Gladiator's Iconic Opening Battle

https://acoup.blog/2025/06/06/collections-nitpicking-gladiators-iconic-opening-battle-part-i/
1•Tomte•15m ago•0 comments

Why Does My Ripped CD Have Messed Up Track Names? and Why Is One Track Missing?

https://www.akpain.net/blog/inside-a-cd/
1•surprisetalk•16m ago•0 comments

Recursion [video]

https://www.youtube.com/watch?v=zhVm3Cqrz2o
1•Group_B•22m ago•0 comments

Binary Lambda Calculus

https://gist.github.com/tromp/86b3184f852f65bfb814e3ab0987d861
2•todsacerdoti•24m ago•0 comments

Ask HN: What can we as humans do to defeat the AI?

3•roschdal•25m ago•4 comments

What the failure of a superstar student reveals about economics

https://www.economist.com/finance-and-economics/2025/05/22/what-the-failure-of-a-superstar-student-reveals-about-economics
1•georgecmu•27m ago•0 comments

AI can now stalk you with just a single vacation photo

https://www.vox.com/future-perfect/415646/artificial-intelligencer-chatgpt-claude-privacy-surveillance
2•rolph•27m ago•0 comments

One-Shot AI Voice Clones vs. LoRA Finetunes

https://gabber.dev/blog/not-all-voice-clones-are-created-equal-understanding-one-shot-vs-premium-cloning
2•jackndwyer•28m ago•0 comments

'Tastes like water': how a US facility is recycling sewage to drink

https://www.theguardian.com/environment/2025/jun/06/water-scarcity-us-facility-recycling-sewage-to-drink
3•mitchbob•29m ago•2 comments

Cursor's Anysphere nabs $9.9B valuation, soars past $500M ARR

https://techcrunch.com/2025/06/05/cursors-anysphere-nabs-9-9b-valuation-soars-past-500m-arr/
1•skeptrune•30m ago•0 comments

Get ready for less-efficient and more-polluting vehicles in the US

https://arstechnica.com/cars/2025/06/gop-intensifies-war-against-evs-and-efficient-cars/
5•rntn•30m ago•1 comments

The 'China Shock'

https://www.wsj.com/opinion/the-real-story-of-the-china-shock-manfuacturing-employment-trade-af12ef3a
1•surprisetalk•31m ago•0 comments

WxWidgets 3.3.0 Released

https://wxwidgets.org/news/2025/06/wxwidgets-3.3.0-released/
2•P_qRs•31m ago•0 comments

Overlooked Films

https://scottsumner.substack.com/p/overlooked-films
1•surprisetalk•31m ago•0 comments

Indianapolis 500 could be dramatically reshaped by jolts of electric juice

https://techxplore.com/news/2025-05-hybrid-power-indianapolis-reshaped-jolts.html
1•PaulHoule•31m ago•0 comments

Virginia Tech researchers develop recyclable, healable electronics

https://news.vt.edu/articles/2025/05/eng-me-bartlett-worch-recyclable-circuits.html
1•giuliomagnifico•31m ago•0 comments

Show HN: Solomon's Agent - a CLI to simplify the web

https://github.com/jadbox/solomonagent
2•jadbox•33m ago•1 comments

Roundcube ≤ 1.6.10 Post-Auth RCE via PHP Object Deserialization [CVE-2025-49113]

https://fearsoff.org/research/roundcube
2•speckx•34m ago•0 comments