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.

Fast

Ternary Bonsai 2.5 27B 1.76bit · 8K ctx · GeForce RTX 5070 Ti 16GB

Weights 5.9GB KV Cache 1.9GB Runtime 0.8GB Total 8.7GB
Tokens/sec
103Est.
Free Headroom
7.3GB
Max Context
38K
Try Before Buying Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.
Test Ternary Bonsai 2.5 27B on a cloud GPU before upgrading

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.

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

I want to run Ternary Bonsai 2.5 27B 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.