LLM VRAM
Alibaba · 4B dense · 36-layer GQA · Apache 2.0

Qwen3 4B on a phone: RAM requirements

3.4 GiB provisional
at Q4_K_M · unsloth build · 4K context · free RAM needed
6GB-class phone runs it, tight · 4GB phones take the 1-bit doors

Qwen3 4B's recommended Q4_K_M build needs ~3.4 GiB of free RAM at 4K context — 2.3 GiB of measured weights plus a 0.56 GiB KV allowance and a 0.51 GiB runtime reserve. Count usable RAM at 60% of the sticker and the door for that build is a 6GB-class phone, tight; 12GB is the comfortable tier. A 4GB phone is not out — the 1-bit UD-IQ1_S build totals 2.1 GiB and fits razor-thin — and an 8GB phone runs Q4_K_M with 1.4 GiB to spare. 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 unsloth Q4_K_M GGUF (2.3 GiB), keep context at 4K.
On a 4GB Android: take a 1-bit door — UD-IQ1_S (2.1 GiB total, razor) or UD-IQ2_XXS — the 4GB decision below walks the trade. On a 6GB Android: take the LiteRT mixed_int4 build in Google AI Edge Gallery (2.5 GiB, razor-thin) or the UD-IQ2_XXS GGUF — tight. MLC Chat will not load GGUF — it uses its own compiled format.

Qwen3 4B is Alibaba's entry dense model in the Qwen3 family (released 2025-04, Apache 2.0): 36 layers of GQA attention, 32K native context, and a measured Q4_K_M file of 2.3 GiB — small enough that phone RAM, not VRAM, becomes the binding budget. That smallness is why this page exists: the same math as the GPU pages, with the budget switched to the phone already in your pocket. The GGUF repos are tracked at pinned revisions below; the LiteRT build ships from litert-community.

Data verified · sources pinned in Where every number comes from

Runway chart: Qwen3 4B build doors against phone RAM platforms from 4 to 24GiB; 4–12GiB phones run tight at their ceiling builds, 16GiB and up run comfortable.
Dots are each phone tier's verdict at its ceiling build; bands read headroom for the recommended Q4_K_M door. The 4–12GiB dots sit amber on purpose: every class runs the model, and every class is tight at its ceiling — 12GB included, whose ceiling is Q8_0 (2.1 GiB spare) while Q4_K_M leaves 3.8. The LiteRT and Q4_K_M doors nearly coincide at the 6GB tier.

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

Totals = measured weights + 4K-context KV allowance (0.56 GiB, classic-caliber upper bound from the model's 32K KV of 4.5 GiB ÷ 8) + runtime reserve (0.51 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.
BuildWeightsTotal neededSmallest phone tierNote
UD-IQ1_S GGUF (unsloth)1.0 GiB2.1 GiB4 GB tierthe 1-bit floor — razor on 4GB measured
UD-IQ2_XXS GGUF (unsloth)1.2 GiB2.2 GiB4 GB tierthe smallest practical GGUF door measured
LiteRT mixed_int4 (.litertlm)2.5 GiB3.5 GiB6 GB tierGoogle AI Edge Gallery build — the 6GB door measured
Q4_K_M GGUF (unsloth)2.3 GiB3.4 GiB6 GB tiercommunity default quality/size point — recommended measured
Q5_K_M GGUF (unsloth)2.7 GiB3.8 GiB8 GB tierthe 8GB-class ceiling measured
Q8_0 GGUF (unsloth)4.0 GiB5.1 GiB12 GB tierthe 12GB-class ceiling measured

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.

4GB or 6GB: which phone runs Qwen3 4B? (4GB takes the 1-bit doors; 6GB is the Q4_K_M door)

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 GiBUD-IQ2_XXS (2.2 GiB)TIGHT · razor, ~0.2 GiB spare
6GB class6 GiB3.6 GiBQ4_K_M (3.4 GiB)TIGHT · 0.2 GiB spare
8GB — iPhone 15/16 Pro tier8 GiB4.8 GiBQ5_K_M (3.8 GiB)TIGHT · 1.0 GiB spare at ceiling
12GB — Galaxy Ultra / iPhone 17 Pro tier12 GiB7.2 GiBQ8_0 (5.1 GiB)TIGHT at Q8_0 · 3.8 GiB spare at Q4_K_M
16GB — Pixel Pro tier16 GiB9.6 GiBQ8_0OK · 4.5 GiB spare
24GB — OnePlus flagship tier24 GiB14.4 GiBQ8_0OK · 9.3 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.

On a 4GB phone: the 1-bit doors (and when to step up to 6GB)

The 4GB door
4 GB
Buys you
The 1-bit doors — UD-IQ1_S at 2.1 GiB total (razor, 0.3 GiB to spare) or UD-IQ2_XXS (~0.2 GiB spare). A running model at the 1-bit quality floor, not the recommended build.
Step up
6 GB — the recommended Q4_K_M, tight (0.2 GiB spare); 8 GB — 1.4 GiB spare, still tight by the site rule; 12 GB — comfortable
The decisionStart from your phone, not the model. On 4GB only the 1-bit doors fit — UD-IQ1_S totals 2.1 GiB against 2.4 GiB usable (razor), UD-IQ2_XXS leaves ~0.2 GiB. On 6GB the recommended Q4_K_M fits tight (3.4 GiB vs 3.6 usable, 0.2 to spare). From 8GB up, Q4_K_M runs with real headroom.
Why 1-bit is the floorThe UD builds are importance-matrix quants — UD-IQ1_S at ~1 bit, UD-IQ2_XXS at ~2 — and they exist so the model runs at all on 4GB-class phones. Expect a visible quality step down from Q4_K_M: the floor is "runs", not "feels the same".
Same 6GB line, different verdictsPhi-4 mini is the same 6GB door, razor (0.3 GiB spare) — and its smallest build misses 4GB by a hair, so 4GB buyers have no door there. Qwen3 4B is the family’s 4GB answer; phi-4-mini is the 6GB razor story.
Sourceunsloth GGUF listing + litert-community listing · accessed 2026-09-14/15 · measured

⚠ Tight is a site-wide threshold: under 2.5 GiB of headroom. 4GB × UD-IQ1_S leaves 0.3 GiB and 4GB × UD-IQ2_XXS ~0.2 — both razor, both far under the threshold. The comfortable Q4_K_M tier is 12GB (3.8 GiB spare); 8GB's 1.4 GiB spare is still tight by the rule. On iOS the binding constraint is often the absolute per-app cap, not the percentage.

Qwen3 4B 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 three GGUF publishers list the same file size in our pinned listings — a mirror build, not a size decision.
BuildPublisherFile size8GB phone12GB phoneSource
Q4_K_M (recommended)unsloth2.33 GiBTIGHT · 3.4OK · 3.4HF @22c9fc8a verified
Q4_K_Mbartowski2.33 GiBTIGHT · 3.4OK · 3.4HF @cb76885d verified
Q4_K_Mggml-org2.33 GiBTIGHT · 3.4OK · 3.4HF @2f3b082b verified

Q4_K_M is the sweet spot, and this time the publisher is not a size decision: unsloth, bartowski, and ggml-org list the same 2.33 GiB file size (same size in our pinned listings; we compare sizes, not hashes — one build, three listings), so pick whichever listing a guide points you to. The LiteRT builds (2.5/5.3 GiB, table above) are the alternative runtime for Google AI Edge Gallery and fit the 6GB door. If you want Google's own runtime instead of GGUF, the LiteRT mixed_int4 build runs in the Gallery and fits 6GB phones razor-thin.

How to run Qwen3 4B on a phone

iOSPocketPal · LLM Farm · Google AI Edge Gallery (LiteRT)
AndroidPocketPal · llama.cpp (Termux or APK) · Google AI Edge Gallery (LiteRT)
Not MLC ChatMLC Chat uses its own compiled model format and does not load GGUF files — for GGUF builds use PocketPal or llama.cpp.
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 GPU side of this exact model, see Qwen3 4B VRAM requirements.

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 and LiteRT file sizes read off the publishers' listings at pinned revisions (accessed 2026-09-14/15). 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 model 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: they say what kind of evidence a number is, and what a verdict built on it can claim. Tag layers: measured = pinned file bytes (verified); projected totals = config-derived estimates; engine/door claims = publisher-reported; runtime-measured applies only where a row says so — no page here claims a runtime benchmark.
TagSlotWhat it isWhat the verdict can claim
measuredWeightsFile sizes read off the publishers' Hugging Face listings at pinned revisions (accessed 2026-09-14): unsloth GGUF — UD-IQ1_S 1.01, UD-IQ2_XXS 1.17, Q4_K_M 2.33, Q5_K_M 2.69, Q8_0 3.99 GiB; litert-community — LiteRT mixed_int4 2.48 GiB (tree 84cc5a35, accessed 2026-09-15). Totals add a 4K KV allowance (0.56 GiB classic upper bound, from the 32K KV of 4.5 GiB ÷ 8) plus a 0.51 GiB runtime reserve.Solid at file granularity — the weights are the files you will download; only the KV/reserve add-on is arithmetic.
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 4GB phones from 12GB phones. On iOS the binding constraint is often the absolute per-app cap, not the percentage.
reportedApp compatibilityPocketPal / LLM Farm / Google AI Edge Gallery (LiteRT) / llama.cpp — project pages, not re-tested by us on every device. MLC Chat uses its own compiled format and does not load GGUF files — listed here as a correction, not an option.These apps load builds of this size class — stands on the linked pages, re-checkable by you.
reportedThermal throttling 30–60%Benchmarks + community measurements of sustained-generation slowdown on phone SoCs: iPhone 16 Pro measured ~40 → ~22.5 tok/s over 20 iterations (2026 thermal benchmark paper, accessed 2026-09-13; Apple-silicon LLM benchmark suite).Expect slowdown on long generations — never a cold-start speed promise.
Pinned sources: every row clickable and dated.
unsloth/Qwen3-4B-GGUF@22c9fc8aaccessed 2026-10-12
bartowski/Qwen_Qwen3-4B-GGUF@cb76885daccessed 2026-10-12
ggml-org/Qwen3-4B-GGUF@2f3b082baccessed 2026-10-12
litert-community/Qwen3-4B84cc5a35accessed 2026-09-15
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
zenn.dev · iOS memory entitlements measurement2026-06accessed 2026-09-13
2026 thermal benchmark paper (arXiv 2603.23640)2026-03accessed 2026-09-13
john-rocky/apple-silicon-llm-benchlatestaccessed 2026-09-13

FAQ

Can Qwen3 4B run on Android?

Yes — two ways: the LiteRT mixed_int4 build (2.5 GiB weights, 3.5 GiB total) runs in Google AI Edge Gallery, tight on a 6GB phone; or load a GGUF in PocketPal or llama.cpp — the Q4_K_M build totals 3.4 GiB at 4K context. Cap context at 4K.

Is 4GB RAM enough for Qwen3 4B?

Enough for the 1-bit doors, tight: UD-IQ1_S totals 2.1 GiB against 2.4 GiB usable, and UD-IQ2_XXS leaves ~0.2 GiB spare. The recommended Q4_K_M build wants a 6GB-class phone.

Is 8GB RAM enough for Qwen3 4B on Android?

The smallest usable tier: Q4_K_M leaves 1.4 GiB spare on 8GB — TIGHT by the site-wide rule — and the Q5_K_M ceiling leaves 1.0. The comfortable tier for Q4_K_M is 12GB (3.8 GiB spare).

Which Qwen3 4B build should I download?

For Google AI Edge Gallery, the LiteRT mixed_int4 build. For PocketPal or llama.cpp, the Q4_K_M GGUF — unsloth, bartowski, and ggml-org list 2.33 GiB files at the same size for this model, so any pinned listing works. Keep context at 4K.

What app runs Qwen3 4B on a phone?

Google AI Edge Gallery for the LiteRT build; PocketPal or llama.cpp for GGUF builds. MLC Chat uses its own compiled format and does not load GGUF. Cap context at 4K.