r/LocalLLM • • 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!

5 Upvotes

17 comments sorted by

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.

1

u/NeoGokuTM 5d ago

Thanks! Which exact Qwen3.8-27B quantization are you running? What generation speed are you getting with Vulkan, and how much VRAM does it consume at 64K and 128K? Have you experienced excessive reasoning or premature task termination?

1

u/NonStandardUser 5d ago

For 64k, it starts at 60 and drops to 45 tok/s for longer generation. Without MTP, 128K holds 35 to 30 tok/s. Quant is UD-Q5_K_S. If you move to Q4 you'll probably see speed improvement, but I wanted quality so I'm at Q5. Reasoning is pretty rambly at thinking effort set to 'high', so you may want to set that to medium instead. Premature termination is something I'm unfamiliar with since I'm only using the llama.cpp webui and not any harnesses.

1

u/NonStandardUser 5d ago

My setup consumes all VRAM if unbounded. Combined with system RAM, I guess it's at like 26GB total?

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/khadesorg 5d ago

why 3bit tho? i ask as fellow 7800xt owner

1

u/_zir_ 5d ago

Because vision and mtp, the agent decided on it. I could run 4kxl if its just text though

1

u/_zir_ 5d ago

Looked at why the agent chose it, its because 4bit would spill over into ram too much. These are the speed i get with the 3 bit

1

u/khadesorg 5d ago

moe models are not having slipping with experts in ram penalty as dense ones, i usually run line 10gigs of moe + experts on vram then ALL THE CONTEXT (usually like 200k on 8bit), having like 50 tps on tiel q4 with that setup

1

u/_zir_ 5d ago edited 5d ago

Ill give it a shot.
The decode speed go cut in half. Still fast but maybe ill only use it for things that need to be more accurate.

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).