Prefill and token generation speed

RTX 3090 24GB with Gemma 4 12B: prefill and generation speed

Last updated

936 GB/s
11.95B
95.5 ~ 106.1 tok/sDecode speed
Model fully loaded (8GB / 22.5GB)
First token (TTFT)
2.2 to 3.8 secondsContext 4,096 input tokens included
Prefill speed
1,069 ~ 1,842 tok/s2.2 to 3.8 seconds (Estimation based on public benchmarks)
Total time (E2E)
Approximately 3.3 to 5.1 seconds117 output tokens included
Press Play to process the input and generate the answer.
Ready
Expand settings 4-bit · 4K · Baseline decode
QuantizationNeed 8GB
Input context4K tokens
Baseline
Baseline
Sample question:
117 output tokens

Check configuration

RTX 3090 24GB · Memory 24GB

Gemma 4 12B Q4_K_M configuration. Check that the retailer lists the same memory option.

Already own it? Open the setup guide

Would another device feel faster?

Compare the same model including prefill, or just token generation.

What changes with a longer document?Expand input length, waiting time, speed and memory
Detailed analysis and all 60 hardware configurations

Popular configurations

View all 20