Gemma 4 Developer Agent: Can a 4B Model Win $10,000?

Every serious conversation about coding agents ends in the same place: a bill. The capable ones run behind an API, on hardware nobody on the team owns, and every retry is metered. The Gemma 4 Developer Agent competition was built to test the opposite arrangement, an agent that fits on a single accelerator and keeps working with the network unplugged.
Google DeepMind has attached a $10,000 bonus to that idea. The prize goes to the highest ranked Gemma 4 Developer Agent submission built on Gemma E2B or Gemma E4B, the two smallest members of the family. That rule is more interesting than the money, because it puts a number on a question the industry has been arguing about all year: how much agent do you actually get out of four billion parameters?
The answer depends far less on the model than on the scaffolding around it. What follows is an account of what the Gemma 4 Developer Agent competition measures, which rules quietly decide whether the bonus is reachable, and what the evidence does not yet support.
A $10,000 bet on the smallest model in the room
The stated motivation is access. The best coding agents today assume a fast internet connection and a commercial endpoint. That assumption excludes a large share of developers, and it excludes them permanently, because the gap between a rented frontier model and anything that runs locally has been wide enough to make local agents a hobby rather than a workflow.
Gemma 4 comes in four architectures, and two of them are built for the constraint the Gemma 4 Developer Agent competition is testing. The E2B and E4B models use what Google calls effective parameters, with per layer embeddings that give every decoder layer its own small lookup table for each token. The tables are large in memory but cheap to read, which is why the memory footprint runs ahead of the parameter count.
What the memory numbers mean in practice
The published inference estimates make the trade visible. Gemma 4 E2B needs about 11.4 GB in 16 bit precision, 5.7 GB in 8 bit, and 2.9 GB at four bits. E4B needs roughly 17.9 GB, 8.9 GB, and 4.5 GB at the same settings. The mobile builds drop to 1.1 GB and 2.5 GB respectively. A four bit E4B fits beside a desktop operating system on a single consumer card, and the mobile build fits on a phone.
That is the physical case for the bonus in this Gemma 4 Developer Agent competition. If a 4B agent can resolve real issues at a useful rate, the economics of software assistance change for everyone who cannot pay per token.
What a Gemma 4 Developer Agent submission contains
The Gemma 4 Developer Agent task is to post train Gemma 4 into an agent that can navigate an unfamiliar repository, find the cause of a reported issue, and write a patch that survives the project's own tests.
A Gemma 4 Developer Agent submission is a zip archive. At its root sits an agent.yaml file, which describes the agent in the Google ADK configuration language, with optional includes for sampling parameters, a system prompt, subagent definitions, LoRA adapters, and skills. Each skill is a directory with a SKILL.md manifest plus scripts and reference files. The archive is compiled into an agent and run inside a persistent Docker container, and the container shares a filesystem with the command tools, so state carries from one step to the next.
Scoring in the Gemma 4 Developer Agent competition follows the SWE bench pattern. For each issue, the submitted patch is applied to that issue's repository and the project's validation tests are executed. The score is the percentage of patched repositories that pass. There is no partial credit for a patch that looks reasonable, and no credit for a diagnosis that never becomes a diff.
The tools that hand a small model a map
The Gemma 4 Developer Agent tool surface is fixed and worth reading closely, because it reveals what the organisers expect small models to struggle with. Beyond the usual file and shell tools, three graph tools are provided: one returns the callers and callees of a symbol, one returns the top matching nodes from a precomputed embedding index, and one extracts the induced subgraph around a set of symbols. That is retrieval designed to compensate for a model that cannot hold a large repository in its head.
The Gemma 4 Developer Agent timeline is compact. The competition opened on September 23, 2026. Entry closes on November 25, 2026, which is also the last day for team mergers, and final submissions close on December 2, 2026, at 11:59 PM UTC. The optional research paper is due earlier, on November 12, 2026.
At the time of writing, the Gemma 4 Developer Agent leaderboard page listed 14,539 entrants, 5,144 participants, 4,586 teams, and 32,215 submissions. Those numbers describe a crowded field, and they say nothing about how many teams have committed a final slot to a small model.
One model, two slots, no mixing
Most of the strategic difficulty in the Gemma 4 Developer Agent competition sits in the eligibility text rather than in the modelling, and the text is stricter than it first appears.
Every agent and subagent must use the same model, and the supported checkpoints are fixed: gemma-4-31b-it-qat-w4a16-ct, gemma-4-12b-it-qat-w4a16-ct, gemma-4-e4b-it-qat-w4a16-ct, and gemma-4-e2b-it-qat-w4a16-ct. Mixing a large planner with a small coder is not allowed, which removes the most obvious hybrid strategy. Different LoRA adapters per agent are allowed, so specialisation has to happen through weights rather than through model choice.
Quantisation is already decided. All four supported checkpoints are quantisation aware training builds in a four bit weight, sixteen bit activation format. Entrants cannot win by inventing a better compression scheme, and they cannot lose by shipping an unquantised model that will not fit the scoring machine.
Then comes the part of the Gemma 4 Developer Agent rules that costs something. A team selects two entries for final judging, and the bonus applies only to an entry that is one of those two. Choosing to chase the small model prize therefore gives up a slot that could have held a full size attempt. That is the real price of the bet, and it is the reason the bonus is a strategy decision rather than a free option.
The Gemma 4 Developer Agent deadlines are shared as well. The Gemma 4 Developer Agent bonus follows the main track dates, so there is no extra time and no separate late window. What the bonus does not do is exclude anything: a small model entry remains eligible for the main leaderboard prizes and for the research paper track. A team that lands a strong E4B agent can win in three places at once, which is unusual in competition design and probably deliberate.
What four billion parameters can do now
A small model that answers questions and a small model that closes issues are different products, and the difference is mostly about what the harness does between turns.
Gemma 4 gives the small models a 128K context window, native system prompt support, configurable thinking, and function calling. Each of those features matters for agent work in a specific way. The context window determines whether the model can hold a failing test, the function under test, and its three callers at the same time. Native system prompts make it possible to enforce a tool protocol instead of hoping the chat template survives. Function calling removes the need to parse free text into a tool request.
The family also ships a draft model for speculative decoding on every size, including the small ones. Speculative decoding pairs a fast drafter with the main model and keeps the output distribution intact while raising tokens per second. For a Gemma 4 Developer Agent entry that spends its budget on many short turns, that speedup converts directly into more attempted issues inside the twelve hour window.
Then there is the retrieval layer. A 4B model will not remember a repository, and it does not need to. With graph tools, the harness hands it the twenty functions that matter for a given stack trace, and the model's job shrinks to reading a small, relevant slice and writing a patch. This is the part of the design that makes the parameter count less decisive than it looks, and it is also the part most entrants will under invest in.
Twelve hours is the real opponent
The harness gives a Gemma 4 Developer Agent submission twelve hours for all tasks combined, including sandbox setup and excluding patch validation. A per task limit for a Gemma 4 Developer Agent run can be declared in eval_config.yaml, and most teams should declare one, because a single runaway task can consume a fifth of the budget before anything useful is produced.
Setup cost inside a Gemma 4 Developer Agent run is a shared tax. Every dependency install and every container image pull reduces the time available for actual issue solving, so a lean workspace beats a comprehensive one.
Failure is expensive in a way that a leaderboard does not show. An agent that loops on a missing file for forty minutes produces no patch and still spends the budget. Timeout discipline belongs in the system prompt, not in a hope.
The patch capture mechanism rewards cleanliness as well. The submit tool stages untracked files and captures the diff against the repository head, so build artefacts and stray scratch files end up in the patch unless the agent keeps the workspace tidy. Automated tests do not read diffs for style, but a noisy patch is a patch more likely to conflict.
The Gemma 4 Developer Agent budget is also the strongest argument for measuring before tuning. A configuration that solves eight issues per hour is worth more than one that solves nine per two hours, and most teams do not know which one they have until they instrument the clock.
The failure modes that never show up in a demo
The honest case against the small model lane in the Gemma 4 Developer Agent competition is not that 4B models are weak at code. Small model agents fail in a different way from small model chatbots. It is that they are weak at recovering from their own mistakes.
Long horizon work inside a Gemma 4 Developer Agent entry compounds error. A model that misreads one function signature at step three writes a plausible patch at step nine that fails at step ten, and a small model is less likely to notice the contradiction on its own. The graph tools help, but only when the agent uses them before editing rather than after failing.
There is also format drift. Tool calling degrades over long sessions, especially when the agent alternates between shell commands, file edits, and graph queries. Adapters trained on tool traces reduce the drift, which is why the LoRA allowance in the Gemma 4 Developer Agent rules matters more than it first appears.
And there is the evaluation mismatch that every competition of this shape shares. The score is a pass rate. A patch that passes the tests while duplicating three helpers and ignoring the project's conventions scores exactly as well as an elegant one. Teams that optimise for the metric will produce code a maintainer would reject, and that is worth saying plainly, because a leaderboard is not a quality ranking.
What the score cannot tell you
Three claims are circulating that the public evidence does not settle.
The first is parity. Nothing in the published material shows a 4B agent matching a frontier model on repository level issue resolution. The bonus is an incentive, not a result, and a $10,000 award says more about what the sponsor wants to be true than about what has been demonstrated.
The second is transfer. A Gemma 4 Developer Agent score on a hidden validation set measures performance on that set. How much of a winning configuration generalises to an unfamiliar language, an unfamiliar build system, or a repository with poor test coverage remains unknown.
The third is cost. Running a 4B model locally removes the per token bill, but it does not remove the cost of the machine, the engineering time, or the electricity. The comparison that matters is total cost per resolved issue, and nobody has published that number for this competition. This is where the numbers stop, and it is a better place to stop than a rounded claim about closing the gap.
How to spend the remaining weeks
For teams still deciding where to spend a final slot, the sequence that makes sense is boring and specific.
Build the harness first. Prompts, tool descriptions, and subagent boundaries change a Gemma 4 Developer Agent score more than a marginal learning rate tweak. Write the system prompt as an operating procedure: when to search the graph, when to read a file, when to stop and submit.
Train on traces, not prose. A LoRA adapter fitted on successful tool call sequences teaches format and sequencing. An adapter fitted on code explanation teaches neither. Keep the adapter small and the dataset clean, and hold out entire repositories rather than random issues, because random splits leak near duplicates.
Measure the clock. Log wall clock per task from the first run. A Gemma 4 Developer Agent run that finishes twelve tasks in an hour leaves room for a second pass on the ones that failed.
Use the graph before the editor. Query neighbours of the failing symbol, then read the two or three files that appear. This single habit is the cheapest available substitute for a larger model, and it is the habit that separates a working entry from a demo.
Keep a paper option open. The research track accepts up to 3,000 words, judges on novelty, quality, relevance, verifiability, and clarity, and pays $15,000 for the best paper with two further $10,000 awards for a new resource and a new application. A team that documents its harness honestly has a second route to a prize, and the paper deadline of November 12, 2026 falls before the final submission crunch.
Who this suits
Independent developers and students get the most from the format. Entry is free, the hardware requirements are modest at four bits, and a credible Gemma 4 Developer Agent submission is a portfolio artefact that demonstrates more engineering judgement than a fine tune on a toy dataset.
Teams shipping offline or on device agents get a public benchmark of what fits on one accelerator. The Gemma 4 Developer Agent harness design, with its graph retrieval and skill sandbox, is a template worth copying whether or not the team enters.
Researchers get a track that pays for method rather than rank, and it explicitly welcomes work on tuning, code comprehension, benchmarks, and graph reasoning.
Teams that want a fast medal should think twice. The small model lane in the Gemma 4 Developer Agent competition asks for more harness engineering per point of score than the main track, and spending one of two final slots on it is a real opportunity cost.
For readers weighing whether small local models deserve a place in a production stack, the comparable question is latency and privacy rather than benchmark rank. An agent that runs beside the developer and never sends source code to a third party solves a compliance problem that no hosted model can solve, and the price gap between small and frontier models is wide enough that the trade is worth modelling explicitly, as the numbers around Haiku class pricing show on the hosted side.
If the deeper interest is orchestration rather than fine tuning, this survey of agent orchestration patterns covers how planners, workers, and reviewers divide labour, and that division is exactly what a two slot submission forces a team to confront. Teams that expect their agent to run for hours will also find the economics of persistent sandbox compute relevant, because a long session is cheap only if the underlying machine sleeps when the model thinks. And when the bottleneck moves from tokens to time to first patch, the techniques in this guide to inference caching apply to local serving just as they do to a hosted endpoint.
Questions worth asking before you enter
Is the $10,000 bonus paid on top of the main prizes?
Yes. It is a separate award, and an eligible small model entry keeps its place on the main leaderboard and in the research track. A team could in principle collect a leaderboard prize and the bonus with the same Gemma 4 Developer Agent submission.
Do I have to include a LoRA adapter to be competitive?
No. Adapters are optional, and the Gemma 4 Developer Agent rules allow a submission built entirely from prompts, tools, subagents, and skills. In practice, tool format discipline is the most common failure mode for small models, and an adapter trained on tool traces is the most direct fix, so most serious small model entries will include one.
Can a 12B or 31B model win the bonus?
No. Those sizes are eligible for the main leaderboard, but the bonus requires Gemma E2B or Gemma E4B as the base model. The model must be declared explicitly, and the whole submission must use it consistently.
Sources
- Gemma 4 model documentation and memory requirements, Google AI for Developers: https://ai.google.dev/gemma/docs/core
- Parameter efficient fine tuning with LoRA, Hugging Face: https://huggingface.co/docs/peft
- SWE bench, the evaluation pattern the harness follows: https://www.swebench.com