Get the Agent OS + join 4,000+ founders inside the AI Profit Boardroom → Join AIPB ($59/mo)
Google (Gemma · open-weights, runs local)

Gemma-4 12B Coder

The free, offline coder — trained only on code that passed its tests.

Context256,000 tokens
PricingFree · runs locally
Tasks tested42
Avg score4.25/10 average
Medals🥇0 🥈0 🥉0
Release2026-06
Official vendor source
Gemma-4 12B Coder is built by Google (Gemma · open-weights, runs local) — see the vendor's own product page, pricing, and docs at ai.google.dev/gemma.
Visit ai.google.dev/gemma →

What is Gemma-4 12B Coder?

Gemma-4 12B Coder is the Google (Gemma · open-weights, runs local) frontier model with a 256,000 tokens context window, released 2026-06. Tagline: The free, offline coder — trained only on code that passed its tests.. Official source: ai.google.dev/gemma.

Pricing detail. A community fine-tune of Google's Gemma-4 12B (xentriom/gemma-4-12B-coder-fable5-composer2.5-v1), Apache-2.0. Free to download and run 100% offline on your own Mac via Ollama — no API, no per-token bill. The Q4_K_M build is 7.4GB.

How I use it inside the Agent OS. Wired into the Agent OS local engine (Local chat + Local Hermes Engine + Agent Kanban) as the free, offline coder. Scored by Claude judge against the same one-shot prompts every other model ran.

What I built with Gemma-4 12B Coder

Every model on Goldie Bench gets the same fixed prompt set — one shot, single HTML file out — and I score the result 0–10 inside the Agent Operating System. Here's what Gemma-4 12B Coder shipped on the bench: 42 one-shot demos across 256,000 tokens of context. Of those, 6 are scored against the field with my honest 0–10 from the source guides at agentos.guide.

Strengths

  • Runs 100% free + offline on a consumer Mac (Q4_K_M, 7.4GB) — no API, no rate limits, nothing leaves the machine
  • Test-verified training (Composer 2.5 + Fable 5) — shipped a clean SaaS landing page and a working particle galaxy one-shot
  • Fast on Apple Silicon — 2.4s cold start, ~35 tokens/sec on an M4 Max

Trade-offs

  • Half its one-shots shipped broken on the bench — a missing canvas append, a missing render loop, and an uncompiled WebGL shader
  • Far below frontier models on complex 3D / WebGL / games — strongest on pages and simple canvas work, not simulations

Best for

  • Free, private, offline coding where nothing can leave your machine
  • Landing pages, simple canvas builds, and code you'll review before shipping
  • Anyone who wants a $0 local coder wired into their Agent OS

Every benchmark — Gemma-4 12B Coder's full scorecard

All 6 scored tasks, best first — the judge's 0–10 on the same rubric as the whole field. Click any bar for that task's cross-model page, or open this scorecard in the interactive graphs. Full editorial breakdown with judge quotes and sourced outside research: the Gemma-4 12B Coder deep dive →.

Every demo by Gemma-4 12B Coder

42 live demos, sorted by category. Click any tile to play the actual one-shot result. Verdicts and 0–10 scores are pulled from the source guides where I posted them publicly.

Gemma-4 12B Coder one-shot build of Crypt — GoldieBench AI benchmark screenshot▶ LIVE
Crypt
Game
Gemma-4 12B Coder one-shot build of Dragonrealm — GoldieBench AI benchmark screenshot▶ LIVE
Dragonrealm
Game
Gemma-4 12B Coder one-shot build of Doom — GoldieBench AI benchmark screenshot▶ LIVE
Doom
Game
Gemma-4 12B Coder one-shot build of Racing — GoldieBench AI benchmark screenshot▶ LIVE
Racing
Game
Gemma-4 12B Coder one-shot build of Skyrim — GoldieBench AI benchmark screenshot▶ LIVE
Skyrim
Game
Gemma-4 12B Coder one-shot build of Twilightvale — GoldieBench AI benchmark screenshot▶ LIVE
Twilightvale
Game
Gemma-4 12B Coder one-shot build of Voxelcraft — GoldieBench AI benchmark screenshot▶ LIVE
Voxelcraft
Game
Gemma-4 12B Coder one-shot build of Arcade — GoldieBench AI benchmark screenshot▶ LIVE
Arcade
Game
Neon Snake — a styled canvas board with a glowing pink border, score HUD and monospace title; a playable grid snake. Clean and on-brief, but plain next to frontier arcade builds with particles, screen-shake and audio.
Gemma-4 12B Coder one-shot build of Dogfight — GoldieBench AI benchmark screenshot▶ LIVE
Dogfight
Game
Gemma-4 12B Coder one-shot build of Dragonflight — GoldieBench AI benchmark screenshot▶ LIVE
Dragonflight
Game
Gemma-4 12B Coder one-shot build of Game — GoldieBench AI benchmark screenshot▶ LIVE
Game
Game
Gemma-4 12B Coder one-shot build of Neonblaster — GoldieBench AI benchmark screenshot▶ LIVE
Neonblaster
Game
Gemma-4 12B Coder one-shot build of Neoncity — GoldieBench AI benchmark screenshot▶ LIVE
Neoncity
Game
Gemma-4 12B Coder one-shot build of Neonracer — GoldieBench AI benchmark screenshot▶ LIVE
Neonracer
Game
Gemma-4 12B Coder one-shot build of Nordiccrypt — GoldieBench AI benchmark screenshot▶ LIVE
Nordiccrypt
Game
Gemma-4 12B Coder one-shot build of Outrun — GoldieBench AI benchmark screenshot▶ LIVE
Outrun
Game
Gemma-4 12B Coder one-shot build of Pool — GoldieBench AI benchmark screenshot▶ LIVE
Pool
Game
Gemma-4 12B Coder one-shot build of Raycaster — GoldieBench AI benchmark screenshot▶ LIVE
Raycaster
Game
Gemma-4 12B Coder one-shot build of Rpg — GoldieBench AI benchmark screenshot▶ LIVE
Rpg
Game
Gemma-4 12B Coder one-shot build of Landing — GoldieBench AI benchmark screenshot▶ LIVE
Landing
Page
Best gemma build. A clean, professional SaaS landing for 'Aether' — sticky nav (Features / Pricing / Log in), bold hero headline, subhead, sections below the fold. Genuinely strong for a free local 12B. One bug: the hero CTA button renders white-on-white so its label is invisible.
Gemma-4 12B Coder one-shot build of Webos — GoldieBench AI benchmark screenshot▶ LIVE
Webos
Page
Gemma-4 12B Coder one-shot build of Galaxy — GoldieBench AI benchmark screenshot▶ LIVE
Galaxy
Sim
A real working three.js particle galaxy — thousands of gold/white points in a disk you can orbit with the mouse. Functional, but flat square particles, no spiral arms and no bloom — well short of the spiral-and-bloom frontier galaxies (Fusion 8.5).
Gemma-4 12B Coder one-shot build of Solar — GoldieBench AI benchmark screenshot▶ LIVE
Solar
Sim
Broken. It builds the scene, sun and four planets but never starts a render/animation loop (no requestAnimationFrame, no renderer.render) and calls a hallucinated THREE.Ellipse class that doesn't exist. Black screen.
Gemma-4 12B Coder one-shot build of Blackhole — GoldieBench AI benchmark screenshot▶ LIVE
Blackhole
Sim
Gemma-4 12B Coder one-shot build of Boids — GoldieBench AI benchmark screenshot▶ LIVE
Boids
Sim
Gemma-4 12B Coder one-shot build of Cloth — GoldieBench AI benchmark screenshot▶ LIVE
Cloth
Sim
Gemma-4 12B Coder one-shot build of Fluid — GoldieBench AI benchmark screenshot▶ LIVE
Fluid
Sim
Gemma-4 12B Coder one-shot build of Fractal — GoldieBench AI benchmark screenshot▶ LIVE
Fractal
Sim
Gemma-4 12B Coder one-shot build of Orbit — GoldieBench AI benchmark screenshot▶ LIVE
Orbit
Sim
Gemma-4 12B Coder one-shot build of Particleforge — GoldieBench AI benchmark screenshot▶ LIVE
Particleforge
Sim
Gemma-4 12B Coder one-shot build of Pathtracer — GoldieBench AI benchmark screenshot▶ LIVE
Pathtracer
Sim
Gemma-4 12B Coder one-shot build of Reactiondiff — GoldieBench AI benchmark screenshot▶ LIVE
Reactiondiff
Sim
Gemma-4 12B Coder one-shot build of Wormhole — GoldieBench AI benchmark screenshot▶ LIVE
Wormhole
Sim
Gemma-4 12B Coder one-shot build of Matrix — GoldieBench AI benchmark screenshot▶ LIVE
Matrix
Visual
Broken one-shot. The Matrix-rain logic is correct, but the model created the canvas with createElement and never appended it to the DOM — so the page renders nothing. Also a malformed doctype. A real miss.
Gemma-4 12B Coder one-shot build of Plasma — GoldieBench AI benchmark screenshot▶ LIVE
Plasma
Visual
Broken. It gets a WebGL context and writes vertex/fragment shader source into <script> tags, but never compiles, links or draws them (no createShader, no drawArrays). Nothing renders.
Gemma-4 12B Coder one-shot build of Aurora — GoldieBench AI benchmark screenshot▶ LIVE
Aurora
Visual
Gemma-4 12B Coder one-shot build of Fireworks — GoldieBench AI benchmark screenshot▶ LIVE
Fireworks
Visual
Gemma-4 12B Coder one-shot build of Lavalamp — GoldieBench AI benchmark screenshot▶ LIVE
Lavalamp
Visual
Gemma-4 12B Coder one-shot build of Synthwave — GoldieBench AI benchmark screenshot▶ LIVE
Synthwave
Visual
Gemma-4 12B Coder one-shot build of Terrain — GoldieBench AI benchmark screenshot▶ LIVE
Terrain
Visual
Gemma-4 12B Coder one-shot build of Voxel — GoldieBench AI benchmark screenshot▶ LIVE
Voxel
Visual
Gemma-4 12B Coder one-shot build of Waves — GoldieBench AI benchmark screenshot▶ LIVE
Waves
Visual
every demo, in a grid · click any one to play

Compare Gemma-4 12B Coder against every other model

Every head-to-head featuring Gemma-4 12B Coder. Verdicts shown for scored pairs.

Gemma-4 12B Coder vs Fusion
Fusion leads 6–0
Gemma-4 12B Coder vs Claude Opus 5
Claude Opus 5 leads 6–0
Gemma-4 12B Coder vs Hermes MoA
Hermes MoA leads 6–0
Gemma-4 12B Coder vs GPT-5.6 Sol
GPT-5.6 Sol leads 6–0
Gemma-4 12B Coder vs Claude Fable 5
Claude Fable 5 leads 6–0
Gemma-4 12B Coder vs Qwen 3.8
Qwen 3.8 leads 6–0
Gemma-4 12B Coder vs Grok
Grok leads 6–0
Gemma-4 12B Coder vs MiniMax M3
MiniMax M3 leads 6–0
Gemma-4 12B Coder vs Fugu Ultra
Fugu Ultra leads 6–0
Gemma-4 12B Coder vs Kimi K3
Kimi K3 leads 5–1
Gemma-4 12B Coder vs GLM-5.2
GLM-5.2 leads 6–0
Gemma-4 12B Coder vs Fugu Mini
Fugu Mini leads 6–0
Gemma-4 12B Coder vs Muse Spark 1.2
Muse Spark 1.2 leads 6–0
Gemma-4 12B Coder vs Opus 4.8
Opus 4.8 leads 6–0
Gemma-4 12B Coder vs Kimi K2.7
Kimi K2.7 leads 4–1
Gemma-4 12B Coder vs Qwable 5 27B Coder
Qwable 5 27B Coder leads 6–0
Gemma-4 12B Coder vs Gemini 3.6 Flash
Gemini 3.6 Flash leads 6–0
Gemma-4 12B Coder vs Claude Sonnet 5
Claude Sonnet 5 leads 4–1
Gemma-4 12B Coder vs Qwen 3.7
Qwen 3.7 leads 6–0
Gemma-4 12B Coder vs Fugu Ultra 1.1
Gemma-4 12B Coder leads 1–0
Gemma-4 12B Coder vs Inkling
Inkling leads 5–1
Gemma-4 12B Coder vs Agents-A1
Agents-A1 leads 4–2
Gemma-4 12B Coder vs Gemma 4 12B · MLX
Gemma-4 12B Coder leads 3–2
Gemma-4 12B Coder vs Laguna XS 2.1
Laguna XS 2.1 leads 4–2
Gemma-4 12B Coder vs Qwythos 9B
Qwythos 9B leads 3–2
Gemma-4 12B Coder vs LongCat-2.0
4 shared tasks · unscored
Gemma-4 12B Coder vs Hy3
2 shared tasks · unscored
Gemma-4 12B Coder vs DeepSeek V4 Flash
42 shared tasks · unscored
Gemma-4 12B Coder vs DeepSeek V4 Pro
42 shared tasks · unscored
Gemma-4 12B Coder vs Kimi K2.7 · Fast
42 shared tasks · unscored
Gemma-4 12B Coder vs Kimi K2.7 · No-Think
42 shared tasks · unscored
Gemma-4 12B Coder vs Kimi K2.7 · Quality
42 shared tasks · unscored
Gemma-4 12B Coder vs Ornith 1.0
42 shared tasks · unscored
Gemma-4 12B Coder vs Claude Mythos 5
Reference-only
Gemma-4 12B Coder vs Kilo Code
Reference-only

See all 66 comparisons across every model →

Quick pill index

Direct comparisons against every other scored model on the bench:

Gemma-4 12B Coder vs Fusion Gemma-4 12B Coder vs Claude Opus 5 Gemma-4 12B Coder vs Hermes MoA Gemma-4 12B Coder vs GPT-5.6 Sol Gemma-4 12B Coder vs Claude Fable 5 Gemma-4 12B Coder vs Qwen 3.8 Gemma-4 12B Coder vs Grok Gemma-4 12B Coder vs MiniMax M3 Gemma-4 12B Coder vs Fugu Ultra Gemma-4 12B Coder vs Kimi K3 Gemma-4 12B Coder vs GLM-5.2 Gemma-4 12B Coder vs Fugu Mini Gemma-4 12B Coder vs Muse Spark 1.2 Gemma-4 12B Coder vs Opus 4.8 Gemma-4 12B Coder vs Kimi K2.7 Gemma-4 12B Coder vs Qwable 5 27B Coder Gemma-4 12B Coder vs Gemini 3.6 Flash Gemma-4 12B Coder vs Claude Sonnet 5 Gemma-4 12B Coder vs Qwen 3.7 Gemma-4 12B Coder vs Fugu Ultra 1.1 Gemma-4 12B Coder vs Inkling Gemma-4 12B Coder vs Agents-A1 Gemma-4 12B Coder vs Gemma 4 12B · MLX Gemma-4 12B Coder vs Laguna XS 2.1 Gemma-4 12B Coder vs Qwythos 9B Gemma-4 12B Coder vs LongCat-2.0 Gemma-4 12B Coder vs Hy3

Read more on agentos.guide: /free-code-engine

Gemma-4 12B Coder — frequently asked

What is Gemma-4 12B Coder?

Gemma-4 12B Coder is Google (Gemma · open-weights, runs local)'s AI model — The free, offline coder — trained only on code that passed its tests. It has a 256K tokens context window and was released 2026-06.

How good is Gemma-4 12B Coder at coding and one-shot builds?

On the GoldieBench one-shot build benchmark it averages 4.25/10 across 6 scored tasks, with 0 gold, 0 silver and 0 bronze medals.

How much does Gemma-4 12B Coder cost?

Free · runs locally. A community fine-tune of Google's Gemma-4 12B (xentriom/gemma-4-12B-coder-fable5-composer2.5-v1), Apache-2.0. Free to download and run 100% offline on your own Mac via Ollama — no API, no per-token bill. The Q4_K_M build

Where can I see Gemma-4 12B Coder demos?

Every one-shot build is live and playable on this page and on the GoldieBench compare matrix — same prompt as every other model, no retries.

The same stack Julian uses

Run this stack yourself.

Every demo on this bench was built inside the Agent Operating System — one prompt, one shot, single HTML file out. The Agent OS, the prompts, the templates, the weekly walkthroughs and 4,000+ founders shipping with it every day all live inside the AI Profit Boardroom.

4,000+founders
258documented wins
38countries
$59/momonthly