Can Gemma 4 31B run on Galaxy Z Fold8?

Galaxy Z Fold8 is not officially announced yet — chip and RAM below are consistent leaked specs. This page updates the moment official specs land.
NOWon't fit
Grade F · 5/100 · formula estimate

What this means

None of the versions we checked fit safely on this phone. The checked version needs about 22 GB, while we estimate that the model can use about 12 GB.

Try a smaller model, or use this model on a device with more memory.

This result is calculated from the phone and model specifications. It has not been measured on this exact phone and setup.

−10GB short
memory that doesn't exist here
22GB
needed at Q4_K_M
Q4_K_M
quant checked
F
grade · 5/100
needs 22 GBusable 12 GB · short 10 GB
Snapdragon 8 Elite Gen 516 GB RAMCPU / GPUalso sold with 12 GB

Three ways forward

1
Try a smaller quant
No quant of Gemma 4 31B fits this phone — even the smallest is too big. Options 2 and 3 are your real choices.
2
Same family, smaller
Gemma 3 12B · Q4_K_M · 7.3 GB
! ~5.2 tokens/s here
check Gemma 3 12B
3
Run it in the cloud
The full Gemma 4 31B, no download, at data-center speed — pay per token.
provider recommendations coming later

Where the memory goes

ComponentDetailGB
Model weightsQ4_K_M GGUF (18.3 GB) + mmap overhead19.2
KV cache4K context window2.2
Runtimellama.cpp + app overhead0.6
Total neededat Q4_K_M, 4K context22
Usable on Galaxy Z Fold816 GB RAM − Android system reserve12
Headroommissing — this memory doesn't exist−10

Pick your quant

QuantDownloadVerdictSpeed
Q3_K_M 14.7 GB Won't fitwon't fit
IQ4_XS 16.4 GB Won't fitwon't fit
Q4_0 17.3 GB Won't fitwon't fit
Q4_K_S 17.4 GB Won't fitwon't fit
Q4_K_M 18.3 GB Won't fitwon't fit
Q5_K_M 21.7 GB Won't fitwon't fit
Q6_K 25.2 GB Won't fitwon't fit
Q8_0 32.6 GB Won't fitwon't fit

Related checks

MORE ON GALAXY Z FOLD8
Qwen3 0.6BQwen3 1.7BQwen3 4BLlama 3.2 1BLlama 3.2 3B
GEMMA 4 31B ON OTHER PHONES
OnePlus 13OnePlus 12ROG Phone 9 ProGalaxy S25 UltraPixel 9 Pro