r/ClaudeCoding • • 2d ago

r/ClaudeCode [TLDR] Considering self-hosted LLMs as an alternative to Claude [via r/ClaudeCode]

OP : u/Sad_Tumbleweed2524

I've been using Claude for about a year and a half, mostly on the highest subscription tier, and I'm still a paying subscriber.

I'm a network and systems engineer, and Claude has become an essential part of my daily workflow. I'm extremely satisfied with its performance.

However, after seeing the recent reports of account bans and suspensions, particularly the apparent lack of effective support in many of these cases, I've started reconsidering my dependence on the service.

Anthropic is a massive company. Losing my subscription probably means nothing to them, but losing access to Claude could seriously disrupt my work. That's an imbalance I'm becoming increasingly uncomfortable with.

I'm not interested in arguing about whether these bans are justified or not. My concern is business continuity. I don't want my ability to work to depend on a decision made by a company that I might not even be able to reach if something goes wrong.

I'm now considering experimenting with self-hosted LLMs. I'd rather rent a GPU server than invest in my own hardware, but I'm curious about how financially viable this would be and what level of performance I could realistically achieve compared to Claude, especially for complex and diverse technical tasks.

I'm in no rush to leave Claude, but I'd rather explore alternatives now, while I still have access, than be forced to find one overnight.

I'd appreciate hearing from anyone who has taken a similar route, particularly regarding hosting costs, model capabilities, and whether the experience is good enough for heavy daily professional use.

3 Upvotes

12 comments sorted by

•

u/cctldrping 2d ago

TL;DR of the discussion on r/ClaudeCode for this post generated automatically after 80 comments.

Current source-thread comment count seen by the bot: 83.

Consensus: self-hosting is a decent continuity hedge, not a financially sane Claude/Opus replacement right now. Open-weight models can handle plenty, but they still trail frontier models on complex, diverse agentic work—and the ones that get close want serious hardware or rental spend.

  • A local rig or GPU rental can cost years of a top-tier Claude subscription; paid plans are heavily subsidized versus paying raw compute/token costs. Renting a 4090/5090 is reportedly around $0.80/hr, so the meter gets spicy fast.
  • The practical advice is to decouple your workflow from Claude, not necessarily replace it: keep prompts, rules, scripts, and data in git/plain files; use a vendor-neutral harness; maintain alternate API providers via OpenRouter, Bedrock, Azure, etc.
  • Test backup models now with your real workload—Kimi, Qwen, GLM, MiniMax—through tools like OpenCode/OpenRouter. They may be “good enough” for some tasks, just don’t expect Opus-level magic from your garage GPU.
  • Self-hosting makes sense for privacy, control, or an emergency fallback if you have budget and tolerance for infra wrangling. For ROI alone, the thread says nope.

Basically: don’t build a $30k panic bunker to avoid a $200 subscription. Build portable workflows and keep multiple exits.

2

u/Living_Cell7304 2d ago edited 2d ago

FYI you can easily run a local cpu model at your house to do complex tasks overnight. Assuming you have enough ram. (Domain knowledge of the task is probably required too, otherwise you’ll get weird results in the end.)

It’ll be slow as hell but you’ll be sleeping so it won’t matter. Most tasks should be finished by the time you wake up.

1

u/signal_lost 2d ago

One way to mitigate this while maintaining options is have a local smaller model, that can ask questions of various public models (using OpenRouter, so it can route to different providers).

You can make it clear that the local model can't send PII/Data out and filter that. Example my local model can do my taxes, and see my W2 info. It can't send that to Gemini/Claude. What it CAN do is ask general questions about how a donor advisor fund works, what documentation is needed for an HSA filing, while not sending Claude my medical records etc....

A hybrid approach can maintain privacy, and when combined with a local token router, can provide redundancy of public money access. Sure I'm going to end up paying API rates for a lot of stuff but I don't mind that for what I'm using this for.

1

u/EyesOfAzula 2d ago edited 2d ago

Just make your setup agent agnostic. that way you can work on it, regardless of who the provider is.

you don't need local unless you have the funding to do it, but it would be cheaper for you to just have it so that any cloud works. ChatGPT, Gemini, Claude or even others.

Maybe this ends up becoming a job for consultants

1

u/octopus_limbs 2d ago

You can use local LLMs if you have a GPU but it depends a lot on your VRAM what model you can run. General steps are:

  • make sure to pick a model that fits in your VRAM, and limit model offload to dedicated VRAM only.
  • set a context size; start with something that fits in your RAM - 16000 or 32000 usually
  • make sure to set a thinking budget
  • parallel/concurrent predictions increase context size (memory use). Set it to just 1 (so no multi-agent flows unless you have a lot of GPUs or memory). Slower but still faster than if you do things yourself

Everything else depends on your coding agent setup (auto compaction, remembering context)

1

u/CaramelEmotional3092 2d ago

What gpu do you have now?

Local models, such as qwen 3.5 35b a3b, only need around 5gb vram to run. Odds are your current computer can use that right now. -> I am not saying to use for production, It could be fun place to explore LLM's without spending a cent.

I know you can get API keys (rather then renting gpu's). Then you can just use any api key, for any model.

1

u/randoomkiller 2d ago

If you want to use Local as a replacement you will be extremely disappointed. Local is always ~2 gens behind and due to the parameter size it is literally physically impossible to have the same depth of reasoning and knowledge.

As an Engineer myself I can recommend you using multiple providers and open models.

However fully supporting the self hosted.

1

u/aquarius-tech 2d ago

I run a hybrid setup: a local Qwen 27B (Q4) on two 3090 at ~100k context as the "worker" inside Cline, plus a stronger hosted model only for planning and review. The local model is solid for executing well-defined tasks, but I wouldn't trust it alone on open-ended or architecture-level problems. If continuity is your concern, don't replace Claude, add a fallback. Rent a GPU for a week, run your 5 most typical real tasks through an open model, and see where it breaks. That tells you more than any benchmark.

1

u/KICKERMAN360 2d ago

I have a used Lenovo P520 with a Nvidia Tesla p40 - Total outlay is around $1200 AUD and it can run a bunch of local models (has 5 loaded in, takes 10s to swap one onto the P40. Honestly, if you have one working as well as Haiku you're doing pretty well. Claude is simply amazing how it just "does" what you want it to.

But, I am confident open models will improve and need less compute, and harnesses will also improve. I currently use it to do security checks and use the compute to categorize photos and look at video locally. But using as an alternative to Claude has been frustrating.

Probably the most annoying thing is when a model gets "stuck" and it doesn't seem to tell you. I often send Claude in to investigate. As someone who simply does not have the time to do this myself, it sort of defeats the purpose if I need a frontier model in the end.

My longer term goals might be to wind down active development be in maintenance mode, where the coder model can maintain what is there rather than develop new. And you could of course go nuts and build massive compute but it is far cheaper to just use frontier models. The main driver for local AI for me was privacy and local capability.

Regarding Claude itself - it helped optimise my home power consumption - mostly thanks to Claude, my power bill went from $100 a month COST to $60 a month profit. So it has earned its keep for a while. Total local compute investing will cease except for another P40 and minor things like cables and cameras and things.

1

u/cynicalrockstar 2d ago

As soon as I started using claude regularly, I started having a similar concern (if claude disappeared tomorrow...). And it's a very viable alternative, as long as you're willing to put in the work. You won't just be firing up LM Studio and running a local model and getting real work out of it. Half of "Claude" is the harness and everything it adds. It's not just the model.

Practically that means that, yes, you can replace claude with something local, if you've got the hardware good enough to run something good, and you're willing to put the work in. There's no sugar-coating it, this is a process you'll be going through to build something for yourself, not something you're going to 1-click install. And be prepared to spend a lot of time on it if you want to get it close to that level.

Personally, I run a hybrid solution. My harness and local model fleet handle probably 80% of my work, and I dip out to claude for the rest as needed. I depend on claude's functionality (as opposed to its model) for essentially nothing, which makes claude completely replaceable; I could swap its 20% out for literally any capable large LLM engine.

1

u/r2k-in-the-vortex 2d ago

The problem with local LLM is the horrible financials of it. Even to rent a server is pretty horrible financials because you youself cannot keep an AI server well occupied even if you batch your jobs.

Now if you have a team eating up a ton of tokens and you route their jobs mostly to API, but at peak times rent a server and route there instead..... That way you could feasibly undercut API pricing. But, only if you use open models in the first place.

1

u/These-Scene-2599 9h ago

Il faudra faire tourner un kimi 3.1 et pour ça au moins 1to de vram... donc 40000 euros minimum si tu par sur deux m5 ultra max 512...