How long does a Gemma 4 reply take on a phone? Worked times from Google's measured speeds
Stock photo from Pexels (Pexels License)Quick answer
Estimate from Google's published speeds: Gemma 4 E2B on the GPU of a Galaxy S26 Ultra or iPhone 17 Pro would take roughly 5 seconds for a 256-token reply, and E4B roughly 11 to 12 seconds. On the CPU the same replies come to roughly 7 to 32 seconds. These are our sums from Google's figures for two named phones, decode arithmetic only, not our measurements and not end-to-end timings. Other phones and real apps will differ.
How we got the times
Google's Gemma 4 page lists, per phone and backend, a time to first token (the wait before the first word) and a decode speed in tokens per second. VDF AI reports the test as a 1,024-token prompt, a 256-token reply and a 2,048-token window; we did not find that setup on Google's page, so it is reported, not confirmed.
Reply time here = time to first token + reply tokens divided by decode speed. That assumes the time to first token already covers reading the prompt, which fits the reported setup but is our reading. A longer prompt would cost more up front, and speeds can fall as the context grows. We have not seen Google publish either effect on this page.
This is decode arithmetic, not an end-to-end timing. It leaves out the app's own overhead, loading the model, a longer prompt, and anything else running on the phone. Google's figures are one measured setup per phone and backend. Real runs vary with temperature, battery state, background load and the app's runtime, and Google's page does not give a spread. Read the times as a rough order of magnitude.
Worked times
| Model | Phone | Backend | Time to first token | Decode, tokens/s | Reply of 256 tokens | Reply of 1,024 tokens |
|---|---|---|---|---|---|---|
| Gemma 4 E2B | S26 Ultra | CPU | 1.8 s | 47 | 7.2 s | 23.6 s |
| Gemma 4 E2B | S26 Ultra | GPU | 0.3 s | 52 | 5.2 s | 20.0 s |
| Gemma 4 E2B | iPhone 17 Pro | CPU | 1.9 s | 25 | 12.1 s | 42.9 s |
| Gemma 4 E2B | iPhone 17 Pro | GPU | 0.3 s | 56 | 4.9 s | 18.6 s |
| Gemma 4 E4B | S26 Ultra | CPU | 5.3 s | 18 | 19.5 s | 62.2 s |
| Gemma 4 E4B | S26 Ultra | GPU | 0.8 s | 22 | 12.4 s | 47.3 s |
| Gemma 4 E4B | iPhone 17 Pro | CPU | 6.5 s | 10 | 32.1 s | 108.9 s |
| Gemma 4 E4B | iPhone 17 Pro | GPU | 0.9 s | 25 | 11.1 s | 41.9 s |
We do not have a sourced words-per-token ratio, so the table stays in tokens.
The 256-token reply, side by side
Bars are our computed reply times for 256 tokens. Line = 10 seconds, chosen only as a visual reference. Orange = longer than 10 seconds.
What stands out
- The GPU matters more than the phone. On both phones E2B is far quicker on the GPU than the CPU, and the biggest gap is time to first token (0.3 s against 1.8 to 1.9 s for E2B).
- E4B costs about twice the wait. Decode is 22 to 25 tokens/s on the GPU against 52 to 56 for E2B, so a 256-token reply goes from about 5 seconds to 11 to 12 seconds.
- The iPhone 17 Pro CPU is the slowest case. E4B there decodes at 10 tokens/s with a 6.5 s wait, about 32 seconds for 256 tokens.
- Memory does not follow size. Google's peak CPU memory column goes the other way in places: E2B on the S26 Ultra CPU peaks at 1,733 MB and on its GPU at 676 MB, while E4B on the iPhone GPU peaks at 3,380 MB. It is a peak CPU-side figure for that run, so do not read it as the model's total memory need.
Leave room for the prompt and the reply
In the reported test setup the window is 2,048 tokens, the prompt is 1,024 and the reply is 256. That uses 1,280 of 2,048 and leaves 768 tokens spare. The prompt and the reply share the same window, so a longer prompt shrinks the reply you can ask for. Plan the budget as window minus prompt minus reply, and keep the remainder as headroom. The 2,048-token window is VDF's reported setting. We did not see Google state it on the page, and VDF AI says the on-device builds support up to 32K, so check your app's actual setting.
One source conflict
Google's overview table gives the iPhone 17 Pro E2B GPU decode speed as 57 tokens/s and the Gemma 4 page says 56. The reply time moves by about 0.1 s either way, so it does not change any conclusion above.
What this does not tell you
It says nothing about answer quality, battery, heat or other phones. See heat, battery and storage and how to read a phone AI speed table. Phone RAM guidance is in which AI models fit your phone by RAM.
Sources
- Gemma 4 on LiteRT-LM, Performance Summary (Google AI Edge)
- LiteRT-LM Overview, supported models and speeds (Google AI Edge)
- Local LLM on Android and iPhone, VDF AI (14 Nov 2026), reported test setup
Checked: 27 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.