Dev Utilities & Vibe-Coding Tooling · Browser utilities
Transformer FLOPs & Memory Calculator
Browser calculator that turns a transformer's layers, width, heads, sequence length, batch size and precision into parameter count, training and inference FLOPs, KV-cache size and a training VRAM breakdown.
Why it’s a gem
It shows the arithmetic rather than a single number: 12·L·d_model² block parameters plus embeddings, the ~6N training / ~2N inference FLOPs-per-token rule with the attention and FFN terms, and optimizer-state bytes per precision, with GPT-2 to GPT-3 presets. Handy for checking whether a model fits a GPU before renting one. Runs entirely client-side.
- Author
- Michael Lip (ml0x)
- Type
- Website
- License
- Free hosted-tool access; no open-source license granted.
- Added
- Nov 25, 2026
- Domain
- ml0x.com




