FP16 / BF16
Approximately 2 bytes per parameter for weights alone.
Use parameter count × bytes per parameter as a first-pass estimate for model weights. Then add headroom for the runtime, KV cache, context, batching and concurrency. This is a sizing aid, not a guarantee that a workload fits.
Approximately 2 bytes per parameter for weights alone.
Approximately 1 byte per parameter for weights alone, before format/runtime overhead.
Serving memory is more than model weights. Validate with your actual runtime.
An inference server also needs memory for runtime allocations and, depending on architecture and serving strategy, KV cache and other buffers. Longer contexts and higher concurrency can materially increase memory use.