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.

Slow

LFM2.5-24B-A2B UD-Q4_K_XL · 8K ctx · GeForce RTX 5070 Ti 16GB

Weights 14.9GB KV Cache 1.8GB Runtime 0.8GB Total 17.5GB
Tokens/sec
72Est.
Memory Deficit
1.5GB
Max Context
None

Overflow layers spill into system RAM, causing a major drop in token speed (modeled assuming 64GB DDR5 system memory).

For smooth performance GeForce RTX 5090 Laptop 24GB 24GB · 896 GB/s
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 LFM2.5-24B-A2B 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 LFM2.5-24B-A2B 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.