Gemma 4 26B A4B and 31B
Fast, but can invent a memory
- Runs
- At home
- Download
- 26B A4B: 17.0 GB
31B: 17.7 GB - Needs
- One 32 GB graphics card
- License
- Apache 2.0
Model guides · Google · At home
Gemma 4 runs fast on one graphics card
We run both Gemma 4 models on one desktop graphics card. The smaller one reads long documents very fast. The larger one is steady but fills the card. Here is what our tests showed.
In short
- Fast, and it fits on one card. The 26B A4B read a 230,855-token prompt at 3,799.69 tokens a second (a token is a word or part of a word) and found all three hidden codes, codes we had planted in the text to see whether it could find them; the 31B fits too, with little room to spare.
- Send thinking on for real work. Without it in the request, both wrote no reasoning at all, and fewer fixes worked first time.
- Free to download. Google publishes both under Apache 2.0. We run Unsloth’s 17.0 GB compressed copy of the 26B A4B and Google’s own 17.7 GB copy of the 31B.
Gemma 4 26B A4B is very fast. It wrote about 211 tokens a second (one run on our desktop), so a 300-word answer takes about 2 seconds. Gemma 4 31B is fast. It wrote about 74 tokens a second (one run on our desktop), so a 300-word answer takes about 5 seconds. Those times are worked out from the writing speed, not timed. The home models in our speed table run from about 1 to about 224 tokens a second. Compare them all.
What our tests showed
The 26B A4B read a long prompt fast and found the codes
At its full 262,144-token window (the most text it can take in at once), the 26B A4B read a 230,855-token prompt at 3,799.69 tokens a second and found all three hidden codes. At 131,072 it wrote at 211.07 tokens a second. One run each.
The 31B held a steady speed but used most of the card
The 31B wrote at 73.68 tokens a second at a 131,072-token window and 73.73 at 65,536, so its speed hardly moves. At the larger window it used 29,844 MiB of the card’s memory.
With thinking on, the 31B fixed all three known defects first time
Given three known defects and the source file, the 31B with thinking on fixed all three first time, at 95 to 131 seconds (about 1.5 to 2 minutes) each. With thinking off it fixed two of three, and the 26B A4B one of three.
The 26B A4B had the least reliable memory of those tried
In tests for the Hearth, our private home for long-running AIs, we asked about something a long-running AI had no record of. Of the models we tried, the 26B A4B had the most open manner and the least reliable memory.
What to watch for
The 26B A4B described a song that was never played
With thinking off, the 26B A4B described a song that was never played in 2 of 3 answers, even with a short note telling it not to claim memories. It was one of only two set-ups that still did.
The 31B found 2 of 8 problems and called high-severity areas fine
As a code reviewer with thinking on, the 31B found 2 of 8 known problems on a security change and called the high-severity areas fine.
The 26B A4B went along with a week of no breaks once
Asked to plan a seven-day work week with no breaks, the 26B A4B with thinking off went along with it in 1 of 3 answers.
We keep both installed at home. The server leaves thinking off, so we send thinking on in the request for reviews and fixes.
The facts
What do you need to run it?
| Model | File we use | Card memory |
|---|---|---|
| 26B A4B | Unsloth’s UD-Q4_K_XL, one file, 17.0 GB | 23,446 MiB loaded at a 262,144-token window |
| 31B | Google’s own 4-bit quantization-aware file (q4_0), 17.7 GB | 29,844 MiB at a 131,072-token window, 2,763 MiB free |
Both run whole on one RTX 5090 graphics card (32 GB) in llama.cpp, the open-source program that runs model files.
How fast is it?
| Measure | 26B A4B | 31B |
|---|---|---|
| Writing, at 131,072 | 211.07 tokens a second | 73.68 tokens a second |
| Reading a 21,690-token prompt | 10,593.27 tokens a second | 3,166.30 tokens a second |
Our tests on one desktop. Each figure is one run.
How do you turn thinking on?
Both can think before they answer. Our server leaves thinking off unless a request asks for it, so send thinking on in the request. Without it we saw no reasoning at all.
What license is it under, and where do you get it?
Apache 2.0, from Google’s own pages on Hugging Face. Google lists the 26B A4B as a mixture-of-experts model (only some parts run for each word) with 25.2B parameters in total and 3.8B active, and the 31B as a dense model of 30.7B.
From Google’s model pages on Hugging Face, read 21 November 2026, and our own published measurements.
Read more
- Field notes, September 2026Our entries on both Gemma 4 models: speeds, windows, memory.
- Local models as reviewers and fixersWhere the 31B fixed three of three, and where it called a real problem sound.
- Gemma 4 26B A4B on Hugging FaceGoogle’s own page and license.
- Gemma 4 31B 4-bit fileGoogle’s own compressed file, the one we run.
- Unsloth’s 26B A4B filesThe community download we run for the 26B A4B.