Contact

Machine LearningCoverage · 9 April 2026

Gemma 4 and the budget for local inference

Gemma 4 offered several model sizes and a permissive licence. Selecting a useful local model still required measuring the complete workload on the intended device.

Coverage as of 9 April 2026. Historical analysis using sources available by 9 April 2026. Publication and revision dates are recorded below.

ContentsSpecify the job before the model
  1. Specify the job before the model
  2. Budget for sustained use
  3. Local processing still has a data path

Google’s April 2 introduction of Gemma 4 offered developers several sizes of open model under an Apache 2.0 licence. The family included smaller models aimed at devices and larger dense and mixture-of-experts alternatives. The announcement connected these choices to reasoning, multimodal input and tool use. For an engineering team considering local inference, the interesting development was the range of deployment options. The difficult decision remained which option could perform the actual job within the available resources.

Model size is a useful starting point, but it is not a complete hardware specification. Weights occupy memory; running requests also require working memory, context storage and supporting software. A model that loads successfully may still be too slow with the intended documents or concurrent users. April’s announcement made local experimentation attractive. It did not replace the need to define a workload before comparing devices, model variants or quantisation settings.

Specify the job before the model

Take an illustrative workshop assistant that searches a permitted set of maintenance documents and prepares a short answer with references. Define the languages, document quality, response length and maximum acceptable wait. Include a scanned page, an ambiguous equipment identifier and a question the documents cannot answer. These details determine what must be measured. A short chat demonstration does not represent a long document review, and an average response time can hide an unacceptable delay on the difficult cases.

Separate the parts of the system during evaluation. Document extraction, retrieval and generation can each introduce errors. If the wrong page reaches the model, changing the model may leave the actual defect untouched. If retrieval is correct but the answer confuses two equipment versions, the evaluation should expose that distinction. The result should help the team decide what to improve, rather than attach every failure to a single overall model score.

Budget for sustained use

Measure the complete application on the intended hardware after it has been running for a realistic period. A portable device may behave differently as temperature, battery state and background work change. Record peak memory, response latency and failures with the expected input sizes. Test the configuration that would actually ship, including the chosen precision and inference software. A result obtained with a larger development machine is evidence about that machine.

A mixture-of-experts model also invites careless comparisons. Activating part of a model for each inference does not mean the remaining weights disappear from the deployment problem. Likewise, a compressed representation can reduce resource needs while changing output quality. Treat those choices as separate candidates and rerun the task evaluation. The attractive number is the one that helps predict the application’s behaviour, not necessarily the smallest parameter count on a slide.

Local processing still has a data path

Running inference locally can change where prompts are processed. It does not by itself determine where every document, log or diagnostic record goes. Inspect update services, telemetry, remote retrieval and crash reporting. Decide what information the application retains and who can access it. An architecture diagram should show the full route from the source document to the final answer and its stored history, including any connection that remains remote.

The licence is another distinct consideration. A permissive model release can make experimentation and distribution easier, while the complete application may include other components and datasets with their own conditions. Keep an inventory of the specific artefacts used and their versions. This is practical release housekeeping, not a claim that one licence settles every obligation surrounding the product.

A deployment comparison could begin with two plausible configurations and compare them on the same bounded task. Keep the documents, prompts and acceptance criteria fixed; record both resource use and errors. Choose the smallest configuration that meets the agreed needs with room for ordinary variation. Open model availability expands the options. A measured deployment budget turns those options into a defensible engineering choice.

Sources

  1. Gemma 4: Byte for byte, the most capable open modelsGoogle · 2 April 2026