Calculators
GPU VRAM Calculator API
Estimate the GPU VRAM needed to run or train a transformer / large language model. Enter parameter count, precision (fp16, int8, int4…), context length and batch size to break down weights, KV cache, activations, gradients and optimizer state, and check which GPUs it fits on.
POST
Authorizations
Body
application/json
Hidden Dim
Required range:
64 <= x <= 65536Response
Tool output