1. Home
  2. Calculators
  3. 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.

No Fit

GLM-5.2 Q4 · 8K ctx · GeForce RTX 5070 Ti 16GB

Text #5
Weights 256GB KV Cache 10.3GB Runtime 0.8GB Total 267GB
Tokens/sec
–
Memory Deficit
251GB
Max Context
None

Does not fit on this hardware. Try a lower quantization, shorter context window, multi-GPU split, or a higher-VRAM device.

Cloud GPU Alternative Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.
Need to run GLM-5.2 right away without buying a GPU?

Even if a model exceeds your local VRAM, you can run it immediately on RunPod with hourly RTX 5090, H100, or B200 instances.

Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.

After creating a RunPod account, paste this setup prompt into ChatGPT, Claude, or Gemini for step-by-step instructions.

I want to run GLM-5.2 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.