Sunk Cost sunkcost.ai Data checked 2026-09-03

What hardware do you need to run Gemma 4 E4B?

Gemma 4 E4B at QAT Q4_0 is 5.2 GB of weights, with a context ceiling of 128k tokens. Google's quantisation-aware build for small machines; the published weights are already 4-bit. On the cheapest machine that runs it, a Mac mini M6, 16GB, it generates 13 tok/s at 32k of context, worked out from memory bandwidth.

Cheapest machine that runs itMac mini M6, 16GB at $899
Shortest pay-backAMD Radeon AI PRO R9700, 32GB — Pays back in 534 years
Fastest machine that runs itNVIDIA GeForce RTX 5090, 32GB at $1,999card only — 171 tok/s estimated at 32k context
Honest answer on costPays back in 611 years at 500k tokens a day.

How good is Gemma 4 E4B, really?

On the Artificial Analysis Intelligence Index v4.3 it scores 9 (reasoning mode; 7 without), which puts it in the Below every hosted tier band. Fine for simple, well-specified tasks. Noticeably less capable than anything the big labs sell today. See the whole table.

Head to head with its neighbours on the leaderboard: vs gpt-oss-20b above it, vs Devstral 2 123B below.

What Gemma 4 E4B costs either way

Nobody rents Gemma 4 E4B by the token. The closest hosted match, gpt-oss-20b, costs $0.018 per million input tokens and $0.09 per million output (OpenRouter, cheapest active endpoint, checked 2026-10-29). Buying a machine only beats that if you use it hard enough, for long enough, that the hardware price divides down below the rental bill. What a million tokens costs each way puts the two prices side by side.

Machines that run Gemma 4 E4B

Every machine here holds it to 128k, this model's own ceiling, so the choice between them is speed and price rather than how much you can keep in the window.

MachinePriceSpeed at 32kLongest contextPay-back
Mac mini M6, 16GB $899 13 tok/s estimated 128k Pays back in 611 years Run the numbers
Strix Halo Framework Desktop, 32GB $1,269 41 tok/s estimated 128k Pays back in 540 years Run the numbers
MacBook Air M5 (13-inch), 16GB $1,299 13 tok/s estimated 128k Pays back in 882 years Run the numbers
AMD Radeon AI PRO R9700, 32GB $1,299card only 96 tok/s estimated 128k Pays back in 534 years Run the numbers
MacBook Pro M5 (14-inch), 16GB $1,999 13 tok/s estimated 128k Pays back in 1,358 years Run the numbers
NVIDIA GeForce RTX 5090, 32GB $1,999card only 171 tok/s estimated 128k Pays back in 870 years Run the numbers
Mac Studio M5 Max, 36GB $2,499 40 tok/s estimated 128k Pays back in 1,161 years Run the numbers
DGX Spark GB10 Grace Blackwell, 128GB $4,699 51 tok/s estimated 128k Pays back in 1,854 years Run the numbers

All 56 machines on this site run it at 32k, not just the eight in the table. One table sets every machine against the others: price, the memory its GPU can use, what it holds and how long it takes to pay for itself.

One machine per family, cheapest first. Speeds are measured where a public benchmark exists and estimated from memory bandwidth otherwise; the calculator says which for any configuration. The longest context is the longest setting the calculator offers that the machine still holds this model at, cache included, and no machine is shown taking it past its own 128k limit. Each one opens the calculator on that machine at that length.

For scale, the calculator starts from 80 tok/s for a hosted API and times a local machine against it. 2 of the 8 above reach it, and the slowest is 13 tok/s.

The cheapest machine that runs it is sold with 16 GB. There is a page on what 16 GB runs, machine by machine: it names the 6 machines here sold at that size, and the 15 current models the roomiest of them holds at 32k, this one among them.

It fits in less memory than that: the smallest size here that runs it at 32k is 12 GB, on the GeForce RTX 3060, 12GB at $329, card only, which hands a model 11 GB and is no longer sold.

Run Gemma 4 E4B at 128k on the Mac mini M6, 16GB

How much memory does Gemma 4 E4B need at 128k?

Every figure above is priced at 32k of context. At 128k, this model's own ceiling, Gemma 4 E4B needs 7.3 GB rather than 5.7 GB. The weights are the same either way; the key-value cache goes from 0.6 GB to 2.2 GB.

The window costs nothing in hardware: all 37 machines here still sold at a published price hold Gemma 4 E4B at both lengths, and the cheapest of them is the Mac mini M6, 16GB at $899.

On the Mac mini M6, 16GB it runs 13 tok/s estimated at 32k and 9.1 tok/s estimated at 128k. Every token generated reads the whole cache back, so a longer window is slower as well as bigger.

The specifics

Parameters
8B, of which 4.5B are active per token
Quantisation
QAT Q4_0
Weights on disk
5.2 GB
KV cache
0.6 GB at 32k context — Only the first 24 layers hold a cache at all: the config shares KV across the last 18, which have no key/value projections. Of those 24, four grow with the context and twenty stop at a 512-token window. How weights and cache add up.
Maximum context
128k tokens
Licence
Apache 2.0
Sources
google/gemma-4-E4B-it