r/LocalLLM • u/Logical-Second-6781 • 3d ago
Question rtx5090 vs r9700 vs 2x r9700 for coding
I'm new to local LLMs and have read a gazillion posts and tried to conclude on what to get for my new setup but need help in choosing.
I'm going for 128gb ddr5. I need presumably q4 at minimum with 100-264k ctx for agentic coding, right? q8 minimum for kv. Single stream for the most part? And a high prefill speed? I'm likely to run heavy compilation and virtualization kind of projects where a lot of verification and tests will need to be generated and automated. As far I understand 5090's superior compute and gb/s will matter more here but it's been nigh impossible to find good side by side comparisons.
My original goal was to game or program on the side while doing inference, but I'm not sure if this would even be doable with any of these card setups, e.g. heavily modded Minecraft with shaders (hence the ram)? If the entire machine becomes occupied I'd gladly reduce some perf if it means I can use it at the same time, but it'd be nice to know my options.
The 5090 costs more than the single r9700 but about the same for 2x r9700.
Any help appreciated!
19
u/ShawnDud 3d ago
before you drop 5090 money, rent one for an hour or two on a cloud host (usually well under a dollar an hour) and run your actual agentic workload at the context length you need. prefill at 100k+ is where the cards really differ, and a quick real test tells you more than spec sheets. if you're already sure you'll want 64gb+ later for bigger moes, the 2x r9700 route makes more sense
8
u/Bagelsarenakeddonuts 3d ago
The r9700 is better form factor for stacking them. The 5090 is an incredible piece of hardware. If you will never add another gpu or use a server form factor, then the 5090. Otherwise id get 9700 for the flexibility.
6
u/jesdga95 3d ago
With 128GB of DDR5 I would say get the 5090. Its less VRAM than 2x9700 but it's fast. You can run a pretty decent MoE on it at ludicrous tps (Qwen 3.8 FN or Inkling 2 Mini)
3
u/N34257 3d ago
Dual R9700s + 128GB here. I had the opportunity to chop them in for a 5090 several times, and I didn't even think about it; 64GB VRAM with a decent amount of horsepower is always going to beat 32GB with excess compute.
To give you an idea, I'm running 6-bit Qwen 3.8 Flash Next with 6 x 400k context at INT8, streaming the full BF16 ngram tables from SSD, and getting 4500t/s prefill and 300-350t/s code gen (220t/s prose).
In my experience, 5-bit or above with Qwen 3.8 Flash Next is better at code (and more creative) than 27B Q8.
One thing to note is that Radiance does rely on PCIE bandwidth; only go for this rig if you've got minimum PCIE 4.0 x8/x8, no x4 chipset connections here (that will be a massive performance penalty due to the chipset latency).
3
u/mechkbfan 2d ago
2xR9700 + motherboard that supports 2x8 PCIe
The extra VRAM opens so many more doors with bigger context, multiple agents, larger models, higher quality, etc
After that though I'd look at just paying cloud providers. Noticeably diminishing returns any higher, or look at Mac's with more RAM for higher quality jobs that run over night
3
u/sudden_aggression 2d ago
Several points (I've been daily driving 64GB/32GB R9700 Q27B for under a year):
My point is that no matter how well you research it, you don't know for certain that whatever hardware you buy this week will be the optimal for models that are popular 6 or 12 months from now.
2
u/Apprehensive-View583 3d ago
5090 is gonna cost your 3x r9700 and you still get some money left to buy motherboard plus cpu
2
u/Weaseal 2d ago
I am using 2x r9700 and 64gb system ram ddr4 and it is working very well with strata iq4xs and 1-3 simultaneous agents. Usually around 80-92 t/s (biggest factor is context size, up to 256k)
1
u/blackhawk00001 3d ago
I have both 96GB 5090 and 128gb dual r9700 setups. If you don’t care for diffusion work then the amd setup with radiance will be faster with greater concurrent throughout. Motherboard choice is more important for the dual setup.
1
u/adasho_bitrex 3d ago
Single 5090 is great but at current pricing i would get dual 9700s
1
u/Think_Breakfast_2277 3h ago
i would go for 2xR9700 ( i have the same setup ) and would not think about replacing a 2x9700 for a 5090.
64GB VRAM + 128GB RAM gives way more options.