Running a Local LLM at Home: What I Learned After 3 Weeks

Since I handle sensitive code at work, using cloud APIs felt awkward, so I set up a local model. To cut to the chase: "More usable than I expected, but not as good as I'd hoped."

My setup was a single 4090 24GB, and I tried a few quantized 7B–14B models. It does code autocompletion and simple refactoring pretty well. In particular, for boilerplate generation, there was almost no perceptible difference from cloud models.

The problem is long context. Even with just two or three files attached, it forgets the earlier parts. Tracking down genuinely complex bugs is still too much to ask.

And then there's the electricity bill. After running it for a month, it came out higher than I expected. If you're going to serve it 24/7, just using an API might be the better option.

To sum it up:

  • Generating simple functions, adding comments: good enough for real work
  • Refactoring more than 200 lines: still not sure
  • Security-sensitive code: definitely more comfortable locally

Personally, rather than a "complete replacement," the realistic approach seems to be splitting it: simple stuff locally, hard stuff in the cloud.

by 프롬프트장인593

4 answers

Agreed. Everyone especially overlooks the electricity bill, but I was genuinely shocked after serving with a 3090 for a month. Just using the API is better.

by 클라우드러버509 · ▲0

But isn't saying "it feels no different from the cloud API" a bit of an exaggeration? Sure, boilerplate is similar no matter what, but if you actually have it refactor 200 lines, the difference is obvious. It feels like only the good parts were cherry-picked and summarized.

by 무한도전러791 · ▲0

I'm going a similar route too. Sensitive code locally, everything else in the cloud. But lately I've been thinking about getting another workstation—could you share your electricity bill data?

by 디지털노마드181 · ▲0

But isn't the long-context issue more about the quantization level you used than model size? If you squash it down to Q4, it's naturally expected that a 7B model loses the earlier part. I'm also curious about the results if you retest with Q6 or higher, or with a larger context window. With 24GB, a 14B Q5 should fit without issue; if it still forgets things across two or three files with that, that's a bit strange.

by AI덕후696 · ▲0