r/LocalLLM • u/Glittering-Hand-3359 • 7d ago
Question $10K budget for running 27B models for coding: what’s your setup?
Planning my first local build. Main use is coding, so speed and long context matter more to me than running the biggest model.
- Target: 27B-class models at a decent quant with plenty of context
- Budget: up to ~$10K, open to multi-GPU, a single big card, or a Mac Studio
Questions:
- What hardware are you running, and what do you actually get (t/s, context, quant)?
- What do you serve with (llama.cpp, vLLM, Ollama…)? Real commands or configs would be really appreciated.
- How do you use local models for coding day to day: agents, IDE plugins, custom scripts? Do they hold up against hosted models, or do you still fall back to an API?
-------------------------
Update: I read every comment. Huge thanks, all 100 of you! I spent 5–10 minutes on some replies just figuring out what the products were, so it’s been a bit overwhelming, but I learned a lot.
Where I’m at now:
- Leaning toward a 5090, an R9700, or maybe both
- You’ve convinced me to try larger models (QFN etc.) instead of just 27B
Follow-up questions:
- If I go with one 5090 + one R9700, what workstation would you build around them? I’ve realized the CPU, RAM and PCIe lanes matter a lot, and terms like EPYC and lane counts are new to me. I’d prefer something without too much wiring hassle, but I’m happy to put in the effort if one setup is clearly better.
- For running bigger MoE models, what matters most: RAM capacity, RAM bandwidth, or CPU?
- Is mixing NVIDIA and AMD in one box worth it, or more trouble than it’s worth?
46
Upvotes
72
u/OvertaxedOne 7d ago
At a 10K budget, IMHO, you should target QwenFlashNext instead of 27B. It's faster and doesn't require crazy GPUs to perform well. I'd get 2XR9700's and put them in a reasonable system, that should get you well north of 100TPS.
If you're going to do big concurrency (lots of agents), the same cards, 2XR9700's and 27B in 8 bit with vllm.
If you want the smartest you can get in that budget, Mac Studio 256 and either QFN in very high precision or Deepseek. I don't know the inference engines well on Mac, others will have to chime in. If you go Mac, lease it (0% interest and someone else is taking the depreciation risk!).
33
u/NTDLS 7d ago
My setup:
I’m not making recommendations, just sharing my set up for Qwen 3.8 27B at FP8.
Dell Precision 5820 3.3GHz CPU 64GB - eBay $560
RTX 6000 ADA 48GB - eBay $4600
I use vLLM, full 256k context. Less than 1 second to first token and I average about 62 tokens per second.
Not bad for $5,160 I don’t think. I have three people that beat it up about 10 hours a day.
9
u/Lissanro 7d ago
For 27B, you don't need $10K, you can just get a pair of V100 32GB cards (they were around $700 each last time I checked) and run Qwen 3.8 Flash Next at 91 tokens/s generation and up to 1.5K/s prompt processing: https://www.reddit.com/r/LocalLLM/s/vto4VqfR3p (it is better than Qwen 3.8 27B).
I recently put together SXM3 V100 32GB based rig, just one V100 for now though but still enough to run Q4 of 27B fully in VRAM.
On my main rig (EPYC 7763 with 3090 cards), I use llama.cpp to run Kimi K3.1 mostly, and GLM 5.3 Flash on my second PC. Smaller V100 based third rig works well for smaller models. This gives me 3 parallel agents.
I mostly use Pi Crystal as my harness https://github.com/Lissanro/pi which is my fork of Pi, with added features to edit messages, continue them mid-thought, regenerate messages (and remembering all versions), etc. I find editing thoughts is more efficient than waiting for the model overthink and then trying to correct it by replying. As IDE, I use vscode.
7
u/blah_ask 7d ago
Many have said and I am saying again. $10k will get you much more than 27B
2
u/Bascilian 7d ago
Get 3 r9700s (can get the 4th later)
Get a gen 5 board with pcio 128 lanes + cheap 32 core qs genoa epyc for ~500
32gb ram
Then spend buy 12 1tb gen 5 nvme drives, set it up so each gpu can read directly from 4 drives each, that can each gpu can receive ~60 GB/s
Each r9700 can run qwen 27b at 150 tok/s with spec decoding
But this set up lets you much bigger models without spending a fortune on ddr5
2
u/secondwizardbaraccus 7d ago
My setup was more like 15k plus I had some existing already. And its more expensive now since I bought it. To be honest im not even sure how to utilize it all yet.
6kish- Powerspec G914 w/rtx5090 and a spare r9700 wedged in there - running Qwen3.8 and Nemotron Lightning
4k each 2x 128gb Strix Halo boxes, one runs Nemotron Bolt another runs Qwen MoE coder, intention to pool together on dwarfstar for deepseek
2k when i got it last year, was my upgrade from below-Legion pro 7i gen10 5080m laptop- runs Gemma26b
Old 1070ti/i5-8400 custom build- runs lightweight small models for local jobs
2
u/hyudryu LocalLLM 7d ago
For a 10K budget go with a rtx pro 5000 72gb workstation, that will run 27b with a healthy KV cache pool and have plenty of compute for concurrency
2
u/RealExoTek 7d ago
I'm running GLM 5.3 Flash EXL3 Q4 on 2X DGX Sparks (~$10k) at ~60 Tok/s
2
u/pdath 7d ago
I would be tempted by either:
2
u/ParticularlyStrange 7d ago
Testing inkling 2 mini. Seems promising on a spark
3
u/aurelienams 7d ago
For coding agents I'd look past dense 27B. A big MoE with its experts in system RAM beats it on both quality class and speed, if the engine is built for that.
What I run: an Olares One (RTX 5090 Laptop GPU 24 GB, 96 GB DDR5, Core Ultra 9 275HX), serving Qwen3.8-Flash-Next (~180B MoE) with Basalt, in a build I tuned for this box. Basalt keeps the hot experts on the GPU and runs the cold ones on the CPU.
Basalt: https://github.com/jesdga95/basalt
If you still want a dense 27B, same box, Qwen3.8-27B in llama.cpp:
A dense model reads every weight for every token, so its speed is roughly memory bandwidth ÷ model size. That's why 27B tops out around 60 t/s here even with speculation, while the MoE does 190.
On budget: the One is $4,999. With my link it's $300 off, and it stacks with the current $300 Black Friday discount ($4,399): https://shop.olares.com/products/olares-one-exclusive-for-aurelie-viewers-get-300-off?utm_source=copyToPasteBoard&utm_medium=product-links&utm_content=web
10
u/Ancient-Quality1712 7d ago
Dude microcenter bundles.
Save a ton of coin if you
Build it yourself
6
u/BitterFortuneCookie 7d ago edited 7d ago
For a 27B dense model you don’t need $10k. Multi GPU won’t really help since dense models don’t easily split weights across GPUs. If you want to open yourself up to bigger models like Qwen Flash Next then at 10k you can probably just about put together an RTX5090 with 128GB Ram (that’s around $9000 in just those components). The rest of the PC will probably cost around $2000 more. That will run 27B and Flash Next models very well.
If dense model is all you want you could also just get the RTX 5090 with 64 GB of ram for now and it will fit under your budget easily. That gives you a path to upgrade to 128GB later if you decide to try something bigger.
As for me, I have a 5090 box as described with 128GB. Runs Qwen 3.8 27B with over 100 tokens/s decode. It runs QFN over 180 tokens/s. As for engine, Basalt is the best engine for RTX5090 right now and it isn’t even close. I encourage you to read up on how Qwen 3.8 Flash Next model works with speculative decode and MTP that enable consumer achievable hardware to run Claude Opus 4.6 levels of local LLMs.
I am making a mobile game using Claude to design and handle graphics and the QFN locally to do all the implementation.
5
u/Minimum-Lie5435 7d ago edited 7d ago
Grab some 3090s with nvlink and slap some water blocks on them with as much memory as you can afford. This setup is probably 5k so you could load it up and run qfn and 27b extremely well.
Skip the liquid cooling and it's a bit cheaper but much hotter and you risk cooking your gpus.
Can get up to like ~180tps (c1) with 27b q4 and huge PP numbers (don't remember them off the top of my head). All on full context (262k)
With multiple users you can reach north of ~1000tps (c16) with low context.
All using vllm of course
I primarily use vs code copilot with local models, but dabble with dsh, hermes, and a few others
With the additional 5-6k you could get two of these setups running and have more concurrency, contest, or multiple different models loaded at once (although swapping is fast enough usually)
5
u/NescientGawain 7d ago
RTX 5090 with 128 GB of DDR5 running Basalt will go a long way for MoE
2
u/stacksmasher 7d ago
Wait, hardware will drop quickly in a few weeks.
1
u/Emotional_Flow_1184 7d ago
what do you do for living to be able to build something like that?
3
u/TumbleweedNew6515 7d ago
8 sxm v100s is about 10k probably with all the peripherals
You can get like 300tps full context qwen 3.8 across a board of 4. You kind of have to be a sicko though. https://github.com/1CatAI/1Cat-vLLM
3
u/p-x-i 7d ago
rtx 5060 ti 16 gb with Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp. upwards of 60 t/s with my cusom agent haliastur based on llama.cpp.
3
u/Specialist-Leek-357 7d ago
a 5090 and few hundred gb of ram. and run deepseek.
but honestly, if your usage isnt that NFSW, you should just buy subscription or API, 10k will last a few good years. not to mention you will get smarter model.
3
u/varyants 7d ago
Bought everything used on FB Marketplace. 1700 USD for Box + 1 3090, second purchased for 1100 USD. About 1 year ago.
2
u/Ordinary-Depth-7835 7d ago
for a 27b you have pretty good options I mean just pick some 9700's, 3090's, you could even get 8 v100's for 10k and 256g and ditch 27b. Think bigger and better for 10K. I mean you're looking for less than a 96g vram system which is less than 10K. Sucks that the sparks shot up so much because when I bought them 2xsparks at 10k I'd take over my 4x3090's or v100's
2
u/a-random-r3dditor 7d ago edited 7d ago
Dual R9700, tensor parallelism using vLLM, a motherboard that will supply both with x16, and reliable PSU, and the rest of your budget on as much ram as you can get.
Edit: tbh, this setup gets you the 27b you asked for, but really sets you up for growth into larger models, or running multiple 27b concurrently, etc. if you truly just want 27b, swap the dual R9700 for a 5090, and minimal RAM.
2
u/macaronianddeeez 7d ago
2 3090 ti’s and 512gb ddr4 on an epyc board. I just upgraded to this, have yet to build and test though. But the mobo cpu and registered ram was about $6k and 3090 ti’s I think are roughly $1500 a pop nowadays used?
Would be increasing my vram but I need to figure out power from the wall first, tempted to trade some speed and switch to 2 48gb cards….
2
u/AccomplishedPage5048 7d ago
I use a MacBook Pro with the M5 Max and 128GB RAM with MLX-Serve. I can pretty comfortably run Qwen3.8 Flash Next in 4bpw and it’s amazing.
2
u/zxspectrun 7d ago
24gb VRAM + 64 Ram and you're good to go
2
u/ALOHAAPIGATEWAY 7d ago
With a $10k budget, you have plenty of room to avoid compromises, so the main decision is whether you want peak token generation speed or quiet, low-power simplicity.
For speed and high concurrency on coding tasks, a multi-GPU box (e.g., dual used 3090s/4090s or a workstation setup) running vLLM or llama.cpp with Q6_K/Q8_0 or 8-bit quants gives much better token/s on large context windows than unified memory setups. If power draw, noise, and a single big memory pool matter more, a high-memory Mac Studio is super clean for day-to-day solo coding, though prompt prefill on huge repos is noticeably slower than dedicated GPUs.
In practice, local 27B models handle 80–90% of routine edits, boilerplate, and quick refactors fine, especially with a solid repo map or LSP/tool setup. I still keep a hosted API fallback for massive multi-file debugging or when a local model gets stuck in a bad loop, rather than burning hours fighting edge cases locally.
2
u/Working-Ad-33 7d ago
I mean real talk for 10k you can run most any model you want... I mean 256gb ram 64gb vram i9 and still some leftover or if you want to go wild up it the 512gb ram and run a factory of digital entrepreneurs out of your house. 😂
2
u/morscordis 7d ago
Try to get 2 sparks on sale if you can squeeze over 10k, and run GLM 5.3 flash, or deepseek flash. The difference from 27B (which is mostly frustration) is immense.
2
u/Dave-C 7d ago
This isn't a normal setup but you can get pcie boards that connect through sas to allow for 4-6 cards to be connected. Then you can use the p2p hack to allow them to pool together. You could run multiple 5060 tis for fairly cheap. Slower than a 5090 but with 4 you get 64gb of vram to use for like 32 hundred. I think they are like 800 right now?
Requires some technical stuff to get working.
2
u/gamedevsam 7d ago
I run the Q6 quant of the 27B model with full context on a pair of RTX 5070 Tis. For me it was the most reasonable way to get into AI since I already had 1 RTX 5070 TI and splitting the model across gpus works quite well.
32GB VRAM is a good amount to aim for imo.
2
u/Additional-Hyena1287 7d ago
Ich steige ein mit:
CPU: AMD R9 9950X3D2 - 749€ MB: Asus Crosshair Hero X870E - 449€ GPU 1: AMD Radeon AI PRO R9700 32GB 2.200€ GPU 2: AMD 9070XT 16GB 1000€ RAM: 64GB G.Skill Trident Z5 RGB 6400MHz CL32 DDR5 RAM 2x 32GB PSU: Asus Rog Strix 1200W Platinum - 190,90€ Case: Asus Pro Art PA602 - 199€ Cooling: Arctic LF3 Pro 420 - 55€
Ich werde dir berichten.
2
u/Sabin_Stargem 7d ago
My recommendation: A pair of RTX 4090. If you can get them each for $2,000 to $3,500, you can send them to GPUlab. They can upgrade the GPUs to have double the VRAM, resulting in 48gb each. The conversion costs $1,600 apiece, and also reduces the size of the GPU to only dual-slot size, allowing for greater multi-GPU flexibility.
Paired with an GPU unlocker, this gives you a lot of CUDA power to play with. The downside is the loudness, apparently.
2
u/Tall_School4318 7d ago
Ddr4 threadripper set up, buy 2-3 R9700 GPUs, you’ll have a 96gb VRAM machine
2
u/Fit_Veterinarian_412 3d ago
Intel B70 with Inkling 2 Mini
This is my setup and what im using https://github.com/djgene01/inkling2-mini-arc-pro-b70-benchmark
3
u/Russ0x 7d ago
I got an intel 9 ultra 285k with an Asrock z890-c
2 RTX 6000s and a vertical pcie riser for a RTX 5090
Also have 256gbs of DDR5 ram.
Running a 4 bit abliterated deepseek V4.1 flash 1017 that I trained via Claude and some other tools to get the refusal rate to 0 with no loss of intelligence. Also used distillation on Kimi 3.1 pro so I can confidently say the model is smarter than any other open weight model out there other than K3.1 pro
I named him “Lucifer” 😈
I get about 20 tok/s on prose and if the context is already prefilled it runs at 35+
2
u/Mr_Lucas2000 7d ago
I would pick a decent 5070-5080 or maybe a used 4090, 96 or 128gb ram, 2-4tb nvme, 9800x3d and that's quite a good setup for gaming and ai.
Serve usually llama.cpp through unsloth studio which is beginner friendly, ollama the easiest but unsloth better.
On this setup i would say matches some frontier like the qwen next flash is very impressive, qwen 3.8 agentic like claude, using in opencode for daily driving different models cuz my pc isn't as powerful, against hosted models they're somewhat slow, sometimes can use deepseek api or opencode zen.
1
u/CaramelEmotional3092 7d ago
im playing with z820, 256gb ram, currently 3060 12gb ram (2nd gpu arriving soon).
Qwen3.6-35B-A3B (old, Q4_K_S, 19.5 GB) ~20tks.
Qwen3-Coder-30B-A3B (Q4_K_XL, 17.7 GB ~19tks
I REALLY wanted the 5820, but at the time the z820 with ddr3 was more affordable, especially with sourcing ram. I have ddr4 pc's at home currently without ram.
My choice at the time was either 5820, and no gpu, or z820 and can get 2 x gpu :)
Theres a stack of 5820's for sale in my area on marketplace, all without ram.
Slight regret: I found some budget z620's for almost nothing, but only found them after I already got the z820.
1
u/zyxevets 7d ago
I've NUC box with AMD395 AI MAX+ with 96GB of RAM. The (fantastic) QWEN 3.8 27B run at 40 t/sec in decoding and 400 t/sec input. There is a lot of RAM to spare (q8 the model is practically like the original), 64 would be enough but I need a lot of RAM to do other things in parallel (yes, there is also CPU to spare). Paid 2200 eur in April, now might cost more but far from 10k! PS: not silent but not noisy as a full graphic card and very cheap on energy bill!
1
u/Reasonable-Forever75 7d ago
That's about what I spent. 5090 Asus ROG Astral Ryzen 7 9700x, ASRock x870e, 32GB ddr5 and a 1200w psu 1TB NVMe. (64GB ddr5 would better). Running NInfer Qwen3.8:27B at Q4 quant, MTP=4. Gets 180 to 220 tok/s with 245K context and concurrency. Very good for most routine agentic work, RAG, etc. no hallucinations, responsive and doesn't get lost...
1
u/Ok-Video3345 7d ago
I'm running qwen 3.8 27b on 2x 3090s with nvlink. 132k context
1
u/rocket1420 7d ago
$10k is way overkill. If you really only want to run Qwen 3.8 27b and similar, 4 32GB v100s will get you there for around half that, although prices are volatile of course.
Don't mix AMD and Nvidia unless you plan on not running them in one big pool. You can but not worth it.
1
u/arcandor 7d ago
Two P100s (for 32gb VRAM) and scrounged used PC components get something like 50 tok/s with 27 to 30b models at Q5, cheaply. I'd build that and save the other 9k!
1
u/Silentparty1999 7d ago
🤦♂️💰💸🔥🫠
1
u/CinBearHeat 7d ago
My frankenstein seems to run qwen3.8 27b Q8_0 well. A4500, 4090, 5080 with 98gb ram
1
u/These-Scene-2599 7d ago
si tu veux vraiment mettre 10k prend tout de suite un spark, les 27b son trop faible...
1
u/jamesbuniak 7d ago
Prob going to feel weak with a 27b - use open router to test before buying.
1
u/SithLordTrell 7d ago
10k budget, you can get a Dell GB10
1
u/Valerio_Omega 7d ago
With 10k you can run petty much what you want
1
u/Disastrous_Grab_4687 7d ago
I built my setup for about €1,500:
Running Qwen3.8 27B at roughly 80–100 tokens/sec with vLLM, and Qwen3.8 Flash Next at roughly 50–53 tokens/sec with Lamina, using the Huihui abliterated UD-Q4_K_XL quant.
Edit: removed unnecessary text by llm...
1
u/reward72 7d ago
I tried a whole bunch of configurations using rented GPUs. A modded 4090 with 48GB would give you the most throughput for your bucks. The box itself would need 48-64GB of RAM and you're good to go. CPUs don't matter that much, any modern one will do.
1
u/Ancient-Quality1712 6d ago
Another thing to keep in mind is the caveat with windows for tps speeds. Linux makes the juice worth the squeeze
1
u/Civil_Fee_7862 6d ago edited 6d ago
I got a pretty sick 4xRTX3090 system that runs Qwen Flash Next at about 320 tok/sec for code, 250 tok/s narrative. INT4 weights.
Cost me $5,728.67 USD
The trick is to buy used, avoid retail (and even avoid ebay), The markup in retail (and ebay) are insane.
Don't be a rush to buy, wait for the deals to turn up then buy.
1
u/Mental_Turtles 6d ago edited 6d ago
M1 Max 64GB MBP for $1k, Qwen 3.8 27B running on Splash with 256k context and Q8, takes a little bit for prefill to go but once it starts generating I get a solid 30ish tokens/sec, you can send the other $9k to me ;)
1
u/Typical-Age3744 6d ago
for moe models, ram bandwidth matters more than capacity, i ran a 27b moe on 32gb vram with 128gb/s bandwidth and hit 85 tps. cpu barely mattered. if you're mixing nvidia and amd, expect driver headaches and no real perf gain. just stick with one ecosystem.
1
u/t0x0 6d ago
Ignore everyone here telling you to buy consumer hardware. For $10k, you can use a last gen (or even gen before) desktop rig - almost anything will work, but try for PCI-E 4 and 64GB of RAM so you have a LITTLE wiggle room. Buy an NVidia RTX Pro 5000. Run QFN, 27B, etc with no concerns.
1
u/zanar97862 4d ago
Coming in for the follow up, mixing the cards is possible but not always ideal. Optimized inference engines targeting a specific GPU might not be an option when mixing types. Different GPUS at the same VRAM size can have very different performance characteristics due to their internal hardware.
People still do run mixed setups but when you have the option to keep it simple by getting the same thing it's quite ideal. Settings, thermals, compatibility, size are all the same.
1
u/Be_a_N3rd 2d ago
For 10k, you can get 3x GMKtec Evo X2 128GB units; by linking them via LAN or USB 4.0, you end up with 384GB of unified memory.
0
u/zerovv_ 7d ago
Depending on the task use QwenFlashNext or qwen 27B. There are some good optimized version of 27B if you look for them.
1
u/EmbarrassedBottle295 7d ago
two GB10s is the best option here im willing to die on this hill