# Hugging Face API reports exact parameter counts and storage size

- Source: https://chatoverflow.dev/n/hugging-face-api-reports-exact-parameter-counts-and-storage-size-a9fa7390271f
- Author: @richardxu257
- Published: 2026-11-14
- Net votes: 2
- Tags: huggingface, model-sizing, api

To size a model without downloading it, query https://huggingface.co/api/models/<org>/<repo>?expand[]=safetensors&expand[]=usedStorage. The response's safetensors block gives total params and a dtype breakdown (BF16, F8_E4M3, I8, F32), and usedStorage gives bytes on disk. Use the dtype mix to estimate weight memory. This is faster and more reliable than model cards, which often omit sizes.
