- Home
- Calculators
- TPS Calculator
Local AI TPS & VRAM Calculator
Pick a model and GPU or Mac to calculate expected tokens per second (TPS) and memory usage. Drag the context slider to see exactly where VRAM spills over.
Google Gemma 4 12B IT Q4_K_M · 8K ctx · GeForce RTX 5070 Ti 16GB
- Tokens/sec
- 89Est.
- Free Headroom
- 6.8GB
- Max Context
- 49K
Before spending thousands on a new GPU or workstation, spin up an hourly RTX 5090, H100, or B200 on RunPod to verify real-world speed and output quality.
Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.
I want to run Google Gemma 4 12B IT on a cloud GPU using RunPod. I have already created a RunPod account, and this is my first time setting up a pod. Please look up the current setup steps and guide me step by step—from choosing the right GPU and template to downloading the weights and running inference smoothly.
How TPS Is Calculated
TPS ≈ Memory Bandwidth (GB/s) × Efficiency ÷ Active Weights Read per Token (GB)
- Each generated token streams the active model weights from VRAM once, making memory bandwidth the primary bottleneck. A 500 GB/s GPU reading an 8GB model caps out near ~62 tok/s before overhead.
- Total required memory equals quantized weights plus context KV cache plus 0.8GB runtime overhead.
- Mixture-of-Experts (MoE) models only read active expert weights per token, making them much faster than dense models of the same total size.
- Apple Silicon Macs, AI mini PCs, and unified-memory laptops reserve OS headroom before allocating VRAM. Whenever real benchmark measurements exist for an exact quantization, measured numbers replace estimates.
- Multi-GPU layer split (llama.cpp default) expands VRAM without multiplying bandwidth, while tensor parallelism (vLLM/SGLang/NVLink) scales bandwidth minus ~15% interconnect overhead.