How fast is AI on a phone? Google's Gemma 4 numbers on Galaxy S26 Ultra and iPhone 17 Pro
Stock photo from Pexels (Pexels License)We have not benchmarked any phone. These figures come from the performance summary on Google's LiteRT-LM page for Gemma 4. VDF AI reports the test setup as a 1,024-token prompt, a 256-token reply and a 2,048-token window. We did not find that setup stated on the Google page itself, so treat it as reported.
Gemma 4 E2B (model size 2.58 GB)
| Device | Backend | Prefill (tokens/s) | Decode (tokens/s) | Time to first token | Peak CPU memory |
|---|---|---|---|---|---|
| Android, S26 Ultra | CPU | 557 | 47 | 1.8 s | 1,733 MB |
| Android, S26 Ultra | GPU | 3,808 | 52 | 0.3 s | 676 MB |
| iOS, iPhone 17 Pro | CPU | 532 | 25 | 1.9 s | 607 MB |
| iOS, iPhone 17 Pro | GPU | 2,878 | 56 | 0.3 s | 1,450 MB |
Source note: Google's LiteRT-LM overview table lists the iPhone 17 Pro Gemma 4 E2B GPU decode speed as 57 tokens/s, while the Gemma 4 performance summary used for the tables here lists 56. Both are Google pages read on 27 Nov 2026. We do not know which is current, so treat it as roughly 56 to 57. The Galaxy S26 Ultra figure (52) matches in both.
Gemma 4 E4B (model size 3.65 GB)
| Device | Backend | Prefill (tokens/s) | Decode (tokens/s) | Time to first token | Peak CPU memory |
|---|---|---|---|---|---|
| Android, S26 Ultra | CPU | 195 | 18 | 5.3 s | 3,283 MB |
| Android, S26 Ultra | GPU | 1,293 | 22 | 0.8 s | 710 MB |
| iOS, iPhone 17 Pro | CPU | 159 | 10 | 6.5 s | 961 MB |
| iOS, iPhone 17 Pro | GPU | 1,189 | 25 | 0.9 s | 3,380 MB |
Google's page also lists a MacBook Pro M4, an RTX 4090 Linux machine, a Windows Lunar Lake laptop and a Raspberry Pi 5 16 GB. On the Pi, E2B decodes at 8 tokens per second on the CPU.
What the numbers say
- On a flagship, a 2B-class model decodes faster than most people read.
- On the S26 Ultra, the GPU reads the prompt about 6.8 times faster than the CPU for E2B (3,808 against 557). On the iPhone 17 Pro it is about 5.4 times (2,878 against 532).
- The bigger model is slower: E4B decodes at 22 and 25 tokens per second on the GPU, less than half the E2B speed on both phones.
- Memory use differs by backend and phone. The peak CPU memory column is Google's own, and it shows no simple rule, so do not assume the GPU always uses less.
So model size moved speed more than the phone did. A mid-range phone or a larger model will be slower. Run the app's own benchmark.
Speeding it up
Google's page describes Multi-Token Prediction for Gemma 4, with up to 2.2 times faster decode on mobile GPUs and up to 1.5 times on mobile CPUs, with no quality degradation by Google's claim. Google recommends it on GPU backends for all tasks.
Sources
- Google AI Edge: Gemma 4 on LiteRT-LM, Performance Summary (primary source)
- Local LLM on Android and iPhone, VDF AI (14 Nov 2026), test setup details
Checked: 26 Nov 2026. Figures change; confirm on the source before you rely on them.
Keep reading
- 8 GB vs 12 GB vs 16 GB phone for AI: which one should you buy?What each RAM tier lets you run, with the models, file sizes and the one-sentence verdict for each.
- AI-Benchmark ranking: what the columns mean, and what the top phones showReading the AI-Benchmark phone table: the score columns, five phones with their chip, RAM and AI Score as listed, and what the numbers cannot tell you about chat models.
- The airplane mode test: how to check a phone model is really offlineLoad a model on Wi-Fi, switch on airplane mode, send a prompt. The check VDF AI recommends and what it does and does not prove.
- Android local AI runtimes explained: MLC LLM, llama.cpp, ExecuTorch and moreA May 2026 guide lists five ways to run models on Android and warns about NNAPI deprecation, aggressive background killing and vendor-locked NPU tools. A secondary source, with caveats.