r/vibecoding • • 2d ago

Discussion Has anyone been able

Has anyone been able to use local llm to build apps/webapps accurately and deployed them to production without any need of other high end models?

4 Upvotes

17 comments sorted by

3

u/MiddleLtSocks 2d ago

The main issue with local models is context. Without a 48gb+ setup you are limited to 256ktok context and even when you get deep into that, prefill can take a while (though there are ways around that).

So you have to design in a very careful, modular fashion - make sure you scope down so that you finish a productive chunk of work in a single session with room for docs and handoff.

It's entirely possible if you maintain a thorough understanding of your codebase and architecture.

2

u/Madders_Zamolxe 2d ago

do you find the quality still degrades well before hitting that 256k limit anyway?

4

u/WishfulAgenda 2d ago

Not when running a model like qwen 3.8 at q8. I use swift 1.5 qwen 27b q8 in opencode. The configuration is such that the ctx never really gets above 200k as you need space for the compaction.

Someone mentioned having to work in a modular type of fashion and personally I like working this way. I may not bother reading the code but I do know what it is doing and why.

1

u/ItsFlybye 1d ago

I was just about to mention compaction. User needs to ensure the IDE/agent they are using has it. I believe you can technically keep bouncing off the compaction limit to never hit the context limit, but I've only tested compaction several times.

1

u/WishfulAgenda 1d ago

yep, I get to a certain amount and then it hits the compaction limit and runs that job. I think I keep something like 32k in reserve for compaction and then the last 20k of context as well (so it compacts everything and keeps it I guess). Works great.

3

u/Aggressive_Mud_6339 2d ago

I ran a local 7b model on a 24gb GPU for a docs app, and it choked on anything over 12k tokens. even then, the summaries were off by half. you can do it, but only if you're okay with constant truncation and manual chunking.

3

u/No_Clock2785 1d ago

Small CRUD stuff yes, I shipped an internal dashboard with Qwen running locally

2

u/Ordinary-Depth-7835 1d ago edited 1d ago

Don't see why not but it depends on what your building and the size of the model. Ive don't the same quality of work at home on my larger models running on 256g unified leader and 96-64g vram agent systems as I do on my unlimited work plans. Im not building complex physics engines or operating systems. Most apps are front-ends to data, connectors, automation. And some games thrown in for fun. Oh and language tutors/translation services even small models do great for language backends.

2

u/redtear1115 1d ago

It really depends on the scale of the app. If it’s just a simple, single-feature app, it’s totally doable.

Once the codebase grows, though, you’ll quickly hit context limits and end up constantly compacting/summarizing your context.

At that point, it gets pretty painful. Still technically possible, I guess, just a huge grind.

2

u/usestackrank 1d ago

Yes for small stuff, but I'd treat the local model as the builder and still do the production part yourself. The thing that bit me is that local models are fine at writing the code but much worse at noticing what's missing, like input validation, auth checks, error handling on the unhappy path. So I run the app through a checklist before deploying: tests for the main flows, a linter and type check, and a manual pass trying to break it with bad input.

If you can keep each task small and give it the relevant files directly, a 30b class coder model does well on CRUD apps and dashboards. Past that, I'd expect to be babysitting it a lot.

2

u/Desperate-Tank-2513 1d ago

Scaffolding UI and basic CRUD with local models works surprisingly well, but keeping multi-file state and async edge cases from breaking once the project grows is still where most people hit a wall before production.

1

u/SirDePseudonym 2d ago

Local is all we use!!!

0

u/codebyjake 1d ago

Yes, but only for a fairly narrow kind of app — and the key is what MiddleLtSocks said about keeping the work modular.

I’ve had good results with a local ~30B coding model for small, well-scoped apps: a single-feature CRUD tool, an internal dashboard, a small API with a clear schema. What made it work wasn’t the model being smarter, it was the setup around it:

- One feature at a time, with the relevant files passed in directly, not the whole repo. If the model has to hold the entire codebase in context, quality drops fast, as others here noted.

- A written spec first: routes, data model, and the exact behavior for edge cases. The local model does much better when it’s implementing a plan than when it’s also inventing the plan.

- Tests and a real run after every step. I don’t deploy anything the local model produced until I’ve run it, clicked through it, and checked auth, validation, and error handling myself — those are exactly where smaller models cut corners.

Where it falls apart for me is a large, multi-feature app, or anything where security and data correctness really matter. Then I still use the local model for drafting and boilerplate, but a stronger model (or a human review pass) for the tricky logic, and I treat the local output as a first draft, not a finished product.

So: local-only to production is doable for small, simple apps with tight scope and real testing. For anything bigger, think of it as a fast local builder inside a workflow where you still own architecture, review, and deployment.