llmvram.com
Google · 4.4B effective / 7.8B total (MatFormer) · 35-layer GQA

Gemma 3n E4B on a phone: RAM requirements

4.7 GiB provisional
at Q4_K_M · bartowski build · 4K context · free RAM needed
8GB-class phone runs it, razor-tight · 6GB takes Q2_K · no LiteRT build ships

Gemma 3n E4B's recommended Q4_K_M build needs ~4.7 GiB of free RAM at 4K context — 3.9 GiB of measured weights plus a 0.27 GiB KV allowance and a 0.50 GiB runtime reserve. Count usable RAM at 60% of the sticker and the door for that build is an 8GB-class phone, razor-tight — 0.1 GiB to spare. The reason a "4B-class" model files this heavy: MatFormer nesting and per-layer embeddings bring the total parameter count to 7.8B (4.4B effective), the same naming trap as Gemma 4 E4B. 6GB phones take the Q2_K build tight; 4GB is out; and unlike its siblings this model has no LiteRT build — litert-community does not ship one (negative existence, probed 2026-09-16), so GGUF via PocketPal or llama.cpp is the door. Phones have no swap: past the line the app dies, it does not slow down.

TL;DR
On a 12GB+ phone: install PocketPal, download the bartowski Q4_K_M GGUF (3.9 GiB), keep context at 4K.
On an 8GB Android: Q4_K_M razor-thin (0.1 GiB spare), or Q2_K in PocketPal with 0.3 GiB. On a 6GB phone: Q2_K (2.6 GiB weights) is the only tracked door, tight. There is no LiteRT build and no Google AI Edge Gallery path for this model — skip the Gallery, use a GGUF loader. MLC Chat will not load GGUF either — it uses its own compiled format.

Gemma 3n E4B is Google's mobile-first entry in the Gemma 3n family (released 2025-06): a MatFormer model that nests an E2B configuration inside the E4B weights, 35 layers of GQA attention with 32K context. The nesting plus per-layer embeddings is why the measured Q4_K_M file reads 3.9 GiB against the "4B" name — the total parameter count is 7.8B. The official google repo is license-gated (metadata pinned, files 403 with our token), so the official-caliber number below comes from unsloth's byte-mirror of the official weights; GGUF ladders are from bartowski and unsloth at pinned revisions.

Data verified · sources pinned in Where every number comes from

Runway chart: phone RAM platforms from 4 to 24GiB against four build door lines for Gemma 3n E4B at 4K context; the 4GiB phone is red no-fit, 6–16GiB phones are amber tight at their ceiling builds, 24GiB is green comfortable
Dots are each phone tier's verdict at its ceiling build; bands read headroom for the recommended Q4_K_M door. The 4GB dot is red — nothing tracked fits 2.4 GiB usable — and 8GB is amber on purpose: Q4_K_M leaves 0.1 GiB, a genuine razor. 16GB is still amber at its Q8_0 ceiling (2.0 GiB spare); only 24GB turns green. The LiteRT door simply does not exist for this model — the GGUF doors are the whole story.

How much RAM at each build? (weights + 4K KV allowance + reserve)

Totals = measured weights + 4K-context KV allowance (0.27 GiB, classic-caliber upper bound from the pinned config: 2 KV heads × 256 dim × 35 layers) + runtime reserve (0.50 GiB, the site's pinned overhead anchor). Minimum phone = total ÷ 0.60 usable rule, rounded up to a real RAM tier. Monotonic: a phone that fits a bigger row fits every smaller one. The LiteRT row states its negative existence with the probe date rather than faking a build.
BuildWeightsTotal neededSmallest phone tierNote
Q2_K2.6 GiB3.3 GiB6 GB tierthe 6GB-class door — the only tracked way in at 6GB measured
IQ3_XS2.9 GiB3.7 GiB8 GB tierthe 8GB-class step-up measured
Q4_K_M — recommended3.9 GiB4.7 GiB8 GB tiercommunity default quality/size point — recommended measured
Q5_K_M4.6 GiB5.4 GiB12 GB tierthe 12GB-class ceiling measured
Q6_K5.3 GiB6.1 GiB12 GB tierthe 16GB-class ceiling measured
Q8_06.8 GiB7.6 GiB16 GB tierthe 24GB-class quality ceiling measured
LiteRT (.litertlm)——no build shippednegative existence: litert-community ships no gemma-3n build (author search, 12 hits probed 2026-09-16) — the LiteRT door is stated as absent; GGUF is this page's door reported

Caliber: this page counts in GiB throughout — the site-wide internal caliber — and applies the 60% usable rule to the sticker number as-is (4 → 2.4 GiB usable). Tier names keep the marketing GB spelling; every computed cell above derives from the pinned file bytes in provenance.

Is your phone enough? (find your phone class: one row tells you)

One row per phone class, ordered by RAM. Usable = total × 0.60 (the OS keeps the rest); verdicts follow the site-wide rule — TIGHT = under 2.5 GiB of headroom. The recommended build stays Q4_K_M on every class that fits it; the ceiling column only says how far each class can stretch.
Phone classRAMUsableBiggest build that fits (ceiling)Verdict
4GB budget Android4 GiB2.4 GiBnoneNO · smallest tracked build is 3.3 GiB total
6GB class6 GiB3.6 GiBQ2_K (3.3 GiB)TIGHT · razor, 0.3 GiB spare
8GB — iPhone 15/16 Pro tier8 GiB4.8 GiBQ4_K_M (4.7 GiB)TIGHT · razor at Q4_K_M, 0.1 GiB spare
12GB — Galaxy Ultra / iPhone 17 Pro tier12 GiB7.2 GiBQ6_K (6.1 GiB)TIGHT · 1.1 GiB spare at Q6_K
16GB — Pixel Pro tier16 GiB9.6 GiBQ8_0 (7.6 GiB)TIGHT · 2.0 GiB spare at Q8_0
24GB — OnePlus flagship tier24 GiB14.4 GiBQ8_0OK · 6.8 GiB spare

Each phone class has exactly one ceiling — the biggest tracked build that fits. KV cache is counted at 4K context with a runtime reserve — phones have no swap, so there is no soft landing past the line. iPhone 15/16 Pro tiers sit at 8GB; the iPhone 17 Pro generation moved the Pro tier to 12GB (Sept 2025), and Android flagships carry the 12–24GiB end.

What phone should you buy for it? (the 8GB razor logic)

The door
8 GB
Buys you
The recommended Q4_K_M build, razor — 0.1 GiB to spare at 4K
Comfortable pick
24 GB — Q4_K_M with 9.7 GiB spare; 16GB is tight at Q8_0
The logic8GB is the cheapest tier that runs the recommended Q4_K_M at all (4.7 GiB total vs 4.8 GiB usable) — and it is a razor. At 6GB, Q2_K is the only tracked door. 12GB steps up to Q6_K tight; 16GB takes Q8_0 but stays amber; 24GB is the first comfortable tier. There is no LiteRT shortcut for this model.
Why it is heavyMatFormer nesting plus per-layer embeddings: the E4B name counts the effective configuration, but the file carries 7.8B parameters — the official-mirror weights total 14.6 GiB. The measured Q4_K_M (3.9 GiB) is what a 7.8B-total model should weigh, and the budget math follows the file, not the name.
Representative hardwareGalaxy A-class (6GB), iPhone 15/16 Pro tier (8GB); 12GB = Galaxy S Ultra / iPhone 17 Pro tier; 16GB = Pixel Pro tier; 24GB = OnePlus flagship tier
Sourcebartowski GGUF listing + unsloth official mirror · accessed 2026-09-16 · measured

⚠ Tight is a site-wide threshold: under 2.5 GiB of headroom. 8GB × Q4_K_M leaves 0.1 GiB (razor); 16GB × Q8_0 leaves 2.0 GiB (tight); 24GB is the comfort tier. On iOS the binding constraint is often the absolute per-app cap, not the percentage.

Tracked builds (actual file sizes, not theory)

One row per tracked Q4_K_M build. Verdict badges carry the 4K-context total: usable is 4.8 GiB on 8GB phones, 7.2 GiB on 12GB phones. For this model the publishers finally disagree: bartowski's and unsloth's Q4_K_M files differ by 7% — different tensor coverage, not a mirror.
BuildPublisherFile size8GB phone12GB phoneSource
Q4_K_M (recommended)bartowski3.95 GiBTIGHT · 4.7TIGHT · 4.7HF @6dd3cb1e verified
Q4_K_Munsloth4.23 GiBNO · 5.0TIGHT · 5.0HF @90fa8b0e verified

Q4_K_M is the sweet spot, and here the publisher IS the decision: bartowski's 3.95 GiB build undercuts unsloth's 4.23 GiB by 0.3 GiB on the same quant name — 7% apart, different tensor coverage, so they coexist rather than collapse. On an 8GB phone that gap is the difference between razor and no-fit (unsloth's totals 5.0 GiB against 4.8 GiB usable); on 12GB both fit tight. The official google repo is license-gated — files 403 with our token (metadata pinned), so this page tracks the community builds and the unsloth byte-mirror of the official weights (14.6 GiB, the BF16 anchor in the sources table).

How to run it on a phone

iOSPocketPal · LLM Farm
AndroidPocketPal · llama.cpp (Termux or APK)
No LiteRT / No Gallerylitert-community does not ship a Gemma 3n build (negative existence, probed 2026-09-16), so Google AI Edge Gallery has no model file for it — GGUF loaders are the only tracked door.
Watch outThermal throttling cuts sustained tok/s on long generations; the OS reserve is why usable is 60%, not 100%; on iOS the per-app memory cap — not the percentage — is usually the binding constraint.

Why phone RAM math is different

Phones have no swap: when memory runs out the app dies, not slows. In the community measurements we sampled, not one shows graceful degradation on a phone — iOS kills the app silently (jetsam), Android's LMK does the same; the boundary is a cliff, not a slope. KV cache shares one RAM pool with the OS and your background apps — that is why this page counts usable RAM at 60% of the sticker number. It is the same memory math as the GPU pages, with the budget switched from VRAM to unified phone RAM.

Running the same model on a desktop GPU is a different buying question — graphics-card VRAM, not the phone already in your pocket. For the other Google edge model already on a phone, see Gemma 4 E4B on a phone.

On thermals: short prompts feel instant almost everywhere the model fits. Sustained generation is where phones differ — a 2026 benchmark measured an iPhone 16 Pro dropping from ~40 tok/s peak to ~22.5 sustained over 20 iterations, and community reports put throttling onset at 30–60 seconds, so treat any speed number as a cold-start figure unless the source says otherwise (links in provenance).

The weights on this page are measured — GGUF file sizes read off the publishers' listings at pinned revisions (accessed 2026-09-16), with the official-caliber anchor from unsloth's byte-mirror of the gated google repo (14.6 GiB). What stays estimated is the total: KV cache at 4K context and a runtime reserve are added by simple arithmetic, and the KV figure is a classic-caliber upper bound derived from the pinned config, not a per-token measurement. The 0.60 usable rule stays an experience value — now with community measurements behind it — and if a better-supported figure shows up, the chart's zone boundaries move and the verdicts are recomputed.

Where every number comes from (every figure carries its tag)

Weights: measured file sizes, read off the publishers' listings.
Totals: labeled additive estimates — measured weights + KV allowance + runtime reserve.
Caliber: GiB throughout, 60% usable rule applied to the sticker number. What stays estimated — the KV allowance, the reserve, the usable rule — is tagged as such. How we compute these numbers →
What each number slot is made of. These tags are the legend for every badge on this page.
TagSlotWhat it isWhat the verdict can claim
measuredWeightsFile sizes read off the publishers' Hugging Face listings at pinned revisions (accessed 2026-09-16): bartowski GGUF — Q2_K 2.57, IQ3_XS 2.95, Q4_K_M 3.95, Q5_K_M 4.61, Q6_K 5.31, Q8_0 6.85 GiB; unsloth GGUF — Q4_K_M 4.23 GiB (different build, 7% apart); unsloth official mirror — BF16-equivalent shards 14.62 GiB (google repo gated, metadata pinned c1221e9c6). Totals add a 4K KV allowance (0.27 GiB classic upper bound, from the pinned config: 2 KV heads × 256 dim × 35 layers) plus a 0.50 GiB runtime reserve.Solid at file granularity — the weights are the files you will download; only the KV/reserve add-on is arithmetic.
reportedLiteRT absencelitert-community does not ship a Gemma 3n build: the author search returns 12 repos (Gemma 2/3/4 families) with no 3n entry (search result, probed 2026-09-16). Google AI Edge Gallery consequently has no model file for it. Listed as a negative-existence finding, not a build.Stated plainly so you do not wait for a Gallery path that does not exist — re-checkable by the linked search.
reportedUsable = 60% ruleExperience value for the OS + background share, backed by community measurements: the maintained per-device table spans ~49–81% usable (per-device memory-budget table, accessed 2026-09-13), with a 2026 forums report of iPadOS 26.4 silently cutting 8GB iPads to ~37.5% (Apple Developer Forums 826325, accessed 2026-09-13 — single source, treated as provisional); iOS enforces a hard per-app cap rather than a percentage — PocketPal PR #651 measured 52% → 70% with the memory entitlement (accessed 2026-09-13). 0.60 is our conservative default inside that range.Directionally safe — it separates 6GB phones from 24GB phones. On iOS the binding constraint is often the absolute per-app cap, not the percentage.
reportedApp compatibility · thermalPocketPal / LLM Farm / llama.cpp — project pages, not re-tested by us on every device; iPhone 16 Pro measured ~40 → ~22.5 tok/s over 20 iterations (2026 thermal benchmark paper, accessed 2026-09-13).Expect app-loading to stand on the linked pages, and slowdown on long generations — never a cold-start speed promise.
Pinned sources: every row clickable and dated.
bartowski/google_gemma-3n-E4B-it-GGUF@6dd3cb1eaccessed 2026-10-12
unsloth/gemma-3n-E4B-it-GGUF@90fa8b0eaccessed 2026-10-12
unsloth/gemma-3n-E4B-it (official byte-mirror)45e9fb1ddaccessed 2026-09-16
google/gemma-3n-E4B-it (official, gated)c1221e9c6metadata probed 2026-09-16 · files 403
SO 5887248 · per-device memory budget tablelatestaccessed 2026-09-13
Apple Developer Forums 826325 · iPadOS 26.4 cap cutlatestaccessed 2026-09-13
PocketPal PR #651 · entitlement 52%→70%latestaccessed 2026-09-13
2026 thermal benchmark paper (arXiv 2603.23640)2026-03accessed 2026-09-13

FAQ

Can Gemma 3n E4B run on mobile?

Yes, via GGUF loaders: PocketPal or llama.cpp on Android, PocketPal or LLM Farm on iOS. There is no LiteRT build and no Google AI Edge Gallery path — litert-community does not ship one (negative existence, probed 2026-09-16).

Is 8GB RAM enough for Gemma 3n E4B?

Enough for the recommended Q4_K_M, razor-thin: 4.7 GiB total against 4.8 GiB usable, 0.1 GiB to spare. Take bartowski's 3.95 GiB build — unsloth's 4.23 GiB Q4_K_M totals 5.0 GiB and does not fit 8GB at all.

Is 6GB RAM enough for Gemma 3n E4B?

Only the Q2_K build: 3.3 GiB total against 3.6 GiB usable, tight. The recommended Q4_K_M wants 8GB. 4GB is out — the smallest tracked build totals 3.3 GiB.

Which Gemma 3n E4B build should I download?

bartowski's Q4_K_M (3.95 GiB) — it undercuts unsloth's same-name build (4.23 GiB) by 0.3 GiB, and on an 8GB phone that gap decides fit. At 6GB take Q2_K. There is no LiteRT build to choose.

Why is Gemma 3n E4B's file bigger than its name suggests?

MatFormer nesting plus per-layer embeddings: the E4B name counts the effective configuration, but the weights carry 7.8B parameters in total (the unsloth official mirror totals 14.6 GiB in BF16). The measured Q4_K_M reads 3.9 GiB — the file, not the name, sets the phone budget.