Skip to content

Gemma 4 has restored my faith in Local LLM

1 / 2
Gemma 4 has restored my faith in Local LLM
1030 × 539 · PNG · 29 KB Original file
Gemma 4 has restored my faith in Local LLM
317 × 159 · PNG · 34 KB Original file

https://preview.redd.it/zucxdillfi1h1.png?width=1030&format=png&auto=webp&s=e84aaeb41d114a0b83f129ac2ad65c5f884d2136

I've got a Framework desktop with 128G unified ram, plus a 5060 with 16G vram in an eGPU. For general open-webui stuff it's fine. Slow, but fine. For tool use (OpenCode), it's been horrific.

I use the BMad method for long projects. Most models will take the prompt (e.g. bmad-dev-story 1-1) and start with it, but they will often just stop mid-work. 30k tokens consumed, they just stop. This has been with all of the Qwen models I've tried, GLM 4.7, and several others. I've tried the small 7b models all the way up to Llama 3 70b.

Someone here mentioned Gemma 4 so I thought I would give it a shot. The first one I tried, e4b, crapped out the same as the other. Then I tried the 31b model, and its actually running! It's slow, sure, but I don't care about that. I want to set it on a code review and feed it a story and let it do it's thing. And it's doing it!

https://preview.redd.it/3mkipayhfi1h1.png?width=317&format=png&auto=webp&s=065ba5df5422b427fb631e27e6f6c7cda3ddeed0

152 points33 comments
Open on Reddit
About this post
Posted
Archived
Score
152 · 92% up
Kind
Gallery · 2 files
ID
1tevbxa

Author

1
posts
8
comments
2
media
View profile

37 comments

Glad it’s working out for you- what’s the “BMad method” it’s the first time I’m hearing of it?

15 points

https://github.com/bmad-code-org/BMAD-METHOD

Imo it’s way too verbose and that’s why the tokens counts are so high

18 points

You could be right, though I will say using Sonnet to create-story, validate story, and dev story, then Haiku to code-review has helped A LOT with that.

The token usage has gone up and down over the last 4 months. In January, I was working on 4 projects simultaneously for about 8 hours a day, no problem. 3 weeks ago I could only get about an hour into my 4-hour on a single project before running out.

Today, I'm 8% into my weekly (resets Wednesday) and I've worked every day. So I dunno.

What I like, is that it follows a pattern I am familiar with from working on a team. It makes sense to me, and has thusfar produced acceptable results.

5 points

It's amazing for large legacy projects (we have 78 "microservices"). For a quick weekend project it's way to verbose. It's reasonable to expect spend 8 hours specing out a project with bmad. The results are great, especially if you have lots of dependencies.

1 points

It's a systematized method of AI-assisted software development that can carry you from brainstorming, toward PRD creation, UX design, architecture, and finally epic and sprint creation. For me, it allows me to follow a familiar work flow, and is really good for when you have to leave a project and come back. Just check the sprint status and you know where you left off.

3 points

Most models will take the prompt (e.g. bmad-dev-story 1-1) and start with it, but they will often just stop mid-work.

Idk if this is specific to your experience with this bmad framework, but I've found directing the agent to make an actual TODO.md file in the directory and track progress against it keeps their focus for much longer than their own self-monitored TODO list.

14 points

Neat. I have only experienced this while using local LLM + BMad. If I just open OpenCode and tell it like "I need a reach-native app that shows a random cat picture from the catpictures.org API" it has been able to do projects like that without issue.

3 points

Depends on the local model, with both qwen3.5 9b and Gemma 4 this happens a lot with any task. It simply decides that the task ended and stops. Must write “continue” and then they resume … weird as hell … I used opencode that creates a todo and it just stops

3 points

Local models often stop working on long, complex prompts.

Suggestion: break up your long BMAD prompt into smaller tasks that the model can complete in shorter phases or sprints. While still keeping the BMAD in context as an overall plan.

In the same way that you can’t drive a Toyota Camry they way you would drive a Porsche, you have to modify how you work with a local model as opposed to a cloud model, to work within it’s limitations. This sets both you and the local model up better for success.

5 points

Very nice. You might try gemma4-26b-a4b, which should run faster. I'd be curious to see if it still solves the problem.

4 points

I will load that and give it a shot. 31b finished the task, but when I asked it "If you wrote these changes to disk and the story is done, please mark it as done" it got stuck on me.

This particular project is like a hobby project of a hobby project, so I don't really care that it does a "good" job at it, just trying to put together a prototype and validate that the workflow actually works the way I think it should.

Also, I really wish OpenCode had the ability to just run a simple timer from when you enter the prompt until the time the prompt stops. It would be interesting to see how long these are going for.

When I was running into the "stopping" issues, I was nowhere near the context (64K), and it was a prompt like "bmad-create-story epic 1 story 1". Might tool around with trying to break the stories down further or something.

2 points

Side thing: On non-code tasks, I found gemma4 far more helpful than the qwen3.6 ones. In my case, it was analyzing some of my art from the perspective of Jungian psychology. Both model classes are multi-modal and can see what I drew, but the American model was far, far better on interpretation and concepts. Actually the qwen4 MoE was better than the dense one.

Anyway, I hear the same thing about general story-telling and other less-technical stuff -- gemma4 dominates.

2 points

Interesting because I have a 3080Ti (12GB VRAM) with 64GB of Ram and I can run Qwen3.5 9b and even Qwen3.6 (albeit a little slower) at Q4-Q6 and it’s been very good for coding. I use TurboQuant

4 points

MTP support is showing up in more inference engines now so that could speed up Gemma 4 for you as well.

3 points

Well, i have very bad experience with Gemma4. On E4B fails on calling tools. Qwen 3.6 obliterate it completly on A3B. And it's running about 10t/s on 8GB VRAM. That's a difference. I'll like to see Gemma4 doing good work, cause it's reasoning IS so good. Maybe in Gemma 5 :)

2 points

The Qwen models stopping is a complaint I have heard. I haven't tried it yet, but have seen on huggingface some updated chat templates that are supposed to fix this.

You might try these to see if they help.

2 points

I tried this on Google AI studio and it was so slow, for anything agentic was bleeding thought tags. Anyone having better luck locally?

1 points
unknown author

Deleted before we saved it.

1 points

I'm a bit behind the curve here and this is the first time I'm hearing about "BMAD". Is it possible to use this fully locally from an OpenAI Compatible endpoint?

The instructions seem to suggest I need to use an IDE like VS Code, which in turn seems to demand account linking for Copilot... No fucking thank you. Are there alternatives?

1 points

Same. I too switched rrom qwen3 to gemma4. It has a much better understanding of the overall infrastructure

1 points

Feels like a lot of people are slowly realizing coding/workflow usability matters more than leaderboard positioning now

If a model can reliably sit inside your actual development loop for hours without becoming annoying, thats probably more valuable than +3 benchmark points on some reasoning eval most users never directly feel

1 points

We're CPU twins! I got an ASUS ROG Flow z13 with 128 GB RAM that I have in 64+64 right now but might try 96 GB VRAM for largest local context window idk yet. I'm still a newbie, building my Obsidian library

1 points

Gemma 4 is nice. You can also use it with TernBase on Mac

1 points

Gemma 4 honestly gave me some hope too.

I still don’t think local models are replacing Claude/Gemini for serious coding anytime soon, but I’m starting to see the appeal more. Not as a general “do everything” model, but as something you can shape for a specific workflow.

Fine-tuning is the part that makes this interesting to me. A small model out of the box can be pretty meh, but if it’s tuned for one narrow job, it can actually become useful.

I saw a project called Forjal that’s playing with this idea, basically making it easier to turn a specific task into a small fine-tuned model. That feels like the direction where local/open models make the most sense to me.

Not replacing frontier models, just using smaller ones where they actually fit.

forjal.com

-4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.