Gemma 4 with llama.cpp and OpenCode: local coding test

See how Gemma 4 26B A4B handles SVG, frontend tasks and an OpenCode scheduler build using a 6-bit GGUF on an M5 Pro with 48 GB memory.

Player not loading? Watch on YouTube

Venelin tests the updated Gemma 4 26B A4B as a local LLM, focusing on coding and reported chat template improvements for tool calling and reasoning. His setup uses Unsloth's 6-bit GGUF in llama.cpp on an M5 Pro with 48 GB of unified memory. He enables speculative decoding with multi-token prediction and up to four draft tokens.

During the SVG test, he reports roughly 25 GB of memory use and 40 to 45 tokens per second while recording. His estimate of around 60 tokens per second without recording is specific to his setup. The visual tasks produce mixed results: he finds the pelican SVG better than an earlier 4-bit attempt, while the black hole simulation and boating game fall short. Weather cards and a fictional engineer's resume follow more of the requested design.

The longer coding assistant test uses OpenCode to build a post scheduler for X and LinkedIn. The session consumes roughly 82,000 tokens and needs intervention after the model repeatedly struggles with a LinkedIn icon import. A further request addresses poor text visibility by applying a dark theme. Venelin then demonstrates the interface and scheduling controls, though the transcript does not establish successful publishing to either service.

He judges the generated structure more favorably than Laguna S 2.1, but calls the interface dated. His conclusion is measured: useful for some coding tasks, with no clear evidence of a large upgrade.