r/LocalLLM • u/NeoGokuTM • 5d ago
Question Best local LLM for coding and autonomous agents on an RX 7900 XTX (24GB)?
Hey everyone,
I'm looking for recommendations from people running local LLMs on similar hardware.
My PC specs:
CPU: AMD Ryzen 7 7800X3D
GPU: AMD Radeon RX 7900 XTX (24GB VRAM)
RAM: 64GB DDR5 6000 MT/s
Storage: NVMe SSD
OS: Windows
My current setup:
LM Studio
OpenCode
Persistent long-term memory using Obsidian and MCP
Remote access from my Android phone via WireGuard
My goal:
I want to build a fully local alternative to Claude Code or Codex that can autonomously work on large repositories, implement complex features, fix bugs, run tests, and handle GitHub operations.
I've already tested:
Qwen3.6-35B-A3B Heretic MTP
Qwen3-Coder-30B-A3B Abliterated
Qwen3.8-27B Uncensored AD
Devstral Small 2 24B Abliterated
Muse Glimmer 30B Heretic
Qwen3.6 currently performs best in my tests, reaching around 140–196 tokens/s. However, I'm experiencing issues with premature task termination, hallucinations, repetitive file analysis, and unreliable autonomous execution. Some of these issues might be caused by my OpenCode configuration rather than the model itself.
My questions:
Which model are you currently using on similar hardware?
Which model would you recommend for complex, autonomous coding?
Which quantization and inference settings work best for you?
Are you using Vulkan or ROCm?
What context size can you run reliably?
Which coding agent or frontend gives you the best results?
Have you found a model that reliably completes large development tasks without constant supervision?
I prioritize code quality, reliable tool calling, reasoning, and autonomous task completion over raw generation speed.
I'm particularly interested in real-world experiences rather than theoretical benchmark scores.
Thanks!
2
u/NonStandardUser 5d ago
Vulkan because it doesn't crash my system and is sometimes faster than ROCm.
3.6 is unusuable, 3.8 27B at the very least. I use 64K mostly (with MTP spec=2) and sometimes 128K (without MTP). Again, don't use 3.6. The speed is useless if the model is stupid.
About the complex coding part, I haven't really tried.
4
u/misa_amane_01 5d ago
Following. I have 7900xtx and also looking for suggestions
1
u/Bulky-Condition-3490 5d ago
I am building a personal agent and tbh I don’t think it gets better than Qwen 3.8 27b.
Gemma is really good for admin though.
I’m very curious about Qwen 4 which might be the last amazing open weight for a long time.
Inkling 2 mini deserves more of my time benchmarking it when llama.cpp builds improve more.
7800x3d, 48gb, 9070xt
1
u/General_Pool_3859 5d ago
Hi, there are two things I'd check before swapping models again. First, make sure LM Studio's loaded Context Length matches the limit.context you give that model in opencode.json. If OpenCode thinks it has more room than LM Studio loaded, the oldest part of the conversation gets cut off, and the agent re-reads files and loses track of what it already did, which fits what you're seeing. Set limit.output generously too, since reasoning usually counts against it and a small cap ends turns mid-thought. Second, test the official Qwen release next to the abliterated and Heretic variants to rule out the modified weights. AMD's own day-0 guide runs the official Qwen3.8 27B in LM Studio on Radeon, so it's a good baseline.
1
u/faisalkl 5d ago
With that setup you should comfortably be able to run qwen3.8-flash-next Iq4 xs at a very decent token gen rate and ok pre fill.
The 29gb n-gram portion of the 93gb file would run off SSD and then you have 88gb vram and ram to run the remaining 64gb of model weights.
1
u/_zir_ 5d ago
Whats your temperature and repeat penalty at? 3.6 35b a3b and its derivatives will start looping and terminating if its too low. I use CyberTielCoder with RustinStrata on my 7800xt and 32g ram. 3 bit quant, 131k ctx, 8 bit kv cache.
1
u/drivetag 5d ago
Try strata with qwen38FN iq3_xss. Load it up into hermes/opencode and see the magic. XTX + 64GB RAM is very good setup for strata
1
u/lungben81 5d ago
Qwen 3.8 flash next q3 with strata.
I have very similar hardware and get >1000 t/s prefill, 70 t/s generation and 262k max context (q8).