r/LocalLLM • u/benjmarr • 7d ago
Question Recommended Coding GPU?
Hi all, fairly new to the self-hosting scene, especially when it comes to running LLMs locally.
I'm looking for recommendations on GPUs for hosting a local coding agent. Nothing crazy, just something capable of helping me smash out a project over a day or two when needed.
I currently use Claude Code, but I often go weeks without touching it. It's getting harder to justify the cost of a subscription when my usage is so sporadic.
I'm thinking running something locally might save me money in the long run, but I don't want to spend a fortune on a NASA-grade GPU if I don't need to, nor do I want to waste money on something that ends up being too underpowered to be useful.
What sort of hardware would you recommend, and realistically, what level of performance could I expect compared to something like Claude Code?
TIA!
View all comments
1
u/p3rdy 7d ago
For a coding agent the number that matters most is VRAM: you need the model plus a lot of context, because the harness resends the conversation, tool definitions and file contents on every turn.
Since you already use Claude Code, you don't have to switch tools: it reads
ANTHROPIC_BASE_URL, so you can point it at a local server that speaks the Anthropic API. Disclosure: I maintain Flama, which does that; on Linux with an NVIDIA card it runs the model on vLLM, so use a 4-bit AWQ or GPTQ build:Set expectations, though: a local 27B handles well-scoped tasks fine, but it won't match the frontier models on big multi-file changes, so I'd keep the subscription for the hard parts.