Gemma 4 E4B (Ollama) is the default tag of Google's newest Gemma line: a 9.6GB download with a 128K tokens (131,072) context and text plus image input, priced Free (self-hosted). Inside Atlas it is the current entry point into Gemma 4, and it ships with a broad quant matrix (qat, mlx, mxfp8, nvfp4) so you can match it to whatever accelerator you have. Roughly 12GB to serve. It is not a code specialist, so pair it with a coder tag if you want it writing diffs rather than reviewing them.
Why does the Gemma 4 E4B quant matrix matter for Atlas?
Gemma 4 E4B (Ollama) carries 49 tags including qat, mlx, mxfp8, and nvfp4, which is the most quant variants in the newest Gemma line. For an Atlas user that breadth means you can match Gemma 4 E4B to whatever accelerator you actually own instead of settling for a generic build.
The :latest tag of the newest Gemma line gets the most ecosystem attention, and the quant matrix is where that attention shows up. On Apple Silicon, the mlx-suffixed tags give a first-class path rather than a compatibility fallback. On NVIDIA hardware with low-precision support, nvfp4 and mxfp8 exist. A quantization-aware training tag, qat, is there for people who want quality preserved at lower precision. Because Gemma 4 E4B is Free (self-hosted), trying two or three of those tags costs bandwidth and disk, not money, and Atlas lets you switch the active model and provider on the fly with favorites and recents, so comparing them inside a real session is straightforward.
What does Gemma 4 E4B give you at 9.6GB?
Gemma 4 E4B (Ollama) delivers a 128K tokens (131,072) context with multimodal text and image input from a 9.6GB download, roughly 12GB to serve. That lands on a 12GB or 16GB card, which puts Google's newest Gemma line on hardware a single developer already owns, at Free (self-hosted) pricing.
Inside Atlas, a 128K window is enough to run the plan-then-build flow without constant compaction. Atlas drafts a plan in a read-only plan agent and asks before switching to a build agent, and Gemma 4 E4B has room to read broadly during the plan phase. The image input means a screenshot or a diagram can inform that plan directly. Atlas searches code with hybrid semantic and keyword retrieval fused by reciprocal rank fusion, so the 128K tokens (131,072) window gets filled with ranked, relevant declarations rather than whatever happened to be nearby in the file.
Should you run Gemma 4 E4B or wait for the line to settle?
Gemma 4 E4B (Ollama) is a very new release, so tooling behavior and quant quality are still settling compared with Gemma 3. If you need predictable behavior today, gemma3:12b is the safer Atlas default. If you want the tag with the most ecosystem momentum in 2026, Gemma 4 E4B is it.
The honest position on Gemma 4 E4B is that being the :latest tag of the newest line is both the advantage and the risk. More quant variants and more attention arrive first here, and so do rough edges. Atlas mitigates the downside structurally rather than by trusting the model: every Atlas tool call is permission-gated against allow, ask, and deny rules before it runs, Atlas computes a unified diff for every file edit and surfaces it for approval before writing, and Atlas snapshots file changes as git patches so edits can be diffed and rolled back. A new model that misbehaves in that harness produces a rejected diff, not a damaged repository.
How do you configure Gemma 4 E4B in atlas.json?
Register gemma4:e4b in atlas.json under the ollama provider with limit.context 131072 and limit.output 8192, then set model to ollama/gemma4:e4b. Pull it first with ollama pull gemma4:e4b (9.6GB, aliased to :latest) and budget roughly 12GB of VRAM or unified memory for Gemma 4 E4B.
After the model resolves, use /models in the Atlas TUI to keep a coder tag one keystroke away, because Gemma 4 E4B is not a code specialist and you will want to hand the build phase to something tuned for diffs. On Apple Silicon consider an mlx-suffixed tag instead of the default build. Finally, enable the Ollama embedder on the codebase index so the newest Gemma reasons over vectors that were built on your own hardware. Atlas can build its code index with local Ollama embeddings, keeping code off third-party servers, so a brand new model never becomes a reason for your repository to leave the machine.
When should you pick a different model than Gemma 4 E4B?
Pick a coder tag over Gemma 4 E4B (Ollama) when the task is writing patches, because Gemma 4 E4B is not a code specialist. Pick gemma4:12b when you want more window than 128K tokens (131,072), since that tag is a smaller 7.6GB download and doubles the context.
Gemma 4 E4B is the right entry point when you want the newest Gemma line, the widest quant selection, and multimodal input on a 12GB or 16GB card. It is the wrong single choice for a diff-heavy Atlas workflow. Pair it with a coder tag if you want it writing diffs rather than reviewing them, and use the /models switch to move between the two. Everything in this configuration is Free (self-hosted), so the only real decision is how much disk you want to spend keeping several Gemma 4 tags around while the line settles.
Setup
- 01Pull the default: ollama pull gemma4:e4b (9.6GB, aliased to :latest).
- 02Budget roughly 12GB of VRAM or unified memory; on Apple Silicon consider an mlx-suffixed tag instead.
- 03Register gemma4:e4b in atlas.json under the ollama provider with limit.context 131072 and limit.output 8192.
- 04Set model to ollama/gemma4:e4b, then use /models in the TUI to keep a coder tag one keystroke away.
- 05Enable the Ollama embedder on the codebase index so the newest Gemma reasons over vectors that were built on your own hardware.
Frequently asked questions
- how to run gemma 4 e4b in atlas
- Run ollama pull gemma4:e4b (9.6GB, aliased to :latest), register gemma4:e4b in atlas.json under the ollama provider with limit.context 131072 and limit.output 8192, then set model to ollama/gemma4:e4b.
- what is gemma 4 e4b's context window
- Gemma 4 E4B (Ollama) has a 128K tokens (131,072) context with multimodal text and image input, from a 9.6GB download.
- which gemma 4 quant should i use on a mac
- On Apple Silicon consider an mlx-suffixed tag for Gemma 4 E4B rather than the default build. The tag list includes 49 variants covering qat, mlx, mxfp8, and nvfp4.
- how much memory does gemma4:e4b need
- Budget roughly 12GB of VRAM or unified memory for Gemma 4 E4B, which is a 9.6GB download. That lands on a 12GB or 16GB card.
- is gemma 4 e4b better than gemma 3 for atlas
- Gemma 4 E4B is the newest line and gets the most quant variants, but it is a very new release and tooling behavior and quant quality are still settling compared with Gemma 3.
- is gemma 4 e4b free
- Yes. Gemma 4 E4B (Ollama) is Free (self-hosted). The cost is hardware: 9.6GB down and roughly 12GB to serve.
- can gemma 4 e4b write code for me
- Gemma 4 E4B is not a code specialist. Pair it with a coder tag if you want it writing diffs rather than reviewing them, and use /models in the Atlas TUI to keep that coder tag one keystroke away.
Try Atlas in your terminal
The terminal-native AI coding agent. Free core, single binary.
Install AtlasRelated guides
Atlas for Go in 2026
Atlas, the terminal-native AI coding agent, empowers Go developers in 2026 with intelligent code understanding, safe refactoring, and robust testing capabilities.
Atlas for C++ in 2026
In 2026, C++ developers adopt Atlas, the terminal-native AI coding agent, to enhance productivity. Atlas offers secure, context-aware assistance for modern C++ projects, integrating with CMake and ensuring code quality
Atlas for Phoenix in 2026
Atlas is a terminal-native AI coding agent for Phoenix in 2026. It reads contexts, LiveView modules, and Ecto changesets, then runs mix test behind a prompt.
Atlas for React in 2026
Adopt Atlas, the terminal-native AI coding agent, for React development in 2026. Enhance your workflow with intelligent code search, refactoring, and testing for React components and hooks.
Write Unit Tests for Untested Code with Atlas in 2026
How to write unit tests for untested code with Atlas in 2026: the lsp tool enumerates exported symbols, grep copies repo conventions, and bash actually runs the suite.
Atlas for Quarkus in 2026
Atlas is a terminal-native AI coding agent for Quarkus in 2026. It reads CDI beans and JAX-RS resources, then runs ./mvnw test behind a permission prompt.
Atlas for Blazor: Terminal-Native AI Coding for .razor Components in 2026
Atlas is a terminal-native AI coding agent for Blazor developers in 2026. Work across .razor components, render modes, and the C# and JS interop boundary safely.
Atlas vs Kiro in 2026: Terminal Agent Compared to AWS's Spec-Driven IDE and CLI
Atlas vs Kiro in 2026. Kiro writes EARS-notation specs before code and charges credits; Atlas is a free, open source terminal agent with diff-before-write review.