Hugging Face (Hub and hf CLI)
The largest platform for AI models; with the command-line tool `hf`, you can download models selectively.
- By
- Hugging Face
- Use
- Website and command line
- Price
- free, PRO account for US$9 per month
- License
- Apache-2.0 (hf CLI and Python library huggingface_hub)
- Version
- v1.32.0 (Sep 17, 2026)
What is Hugging Face (Hub and hf CLI)?
At huggingface.co, you’ll find most open AI models, from image to language to audio models. In the browser, you can download individual files directly. The command-line tool `hf` downloads entire models or just specific files, for example only the `.safetensors`, optionally into your own folder. Some models are “gated”: You must be logged in, agree to the terms in the browser, and need a token to download them via script.
For you if you want to reliably and selectively download models for ComfyUI, Ollama, or other programs.
Strengths
- Huge selection of open models
- Selective download of individual files with filters
- Downloads can be saved in your own folder
- A free account is enough for downloads
Weaknesses
- Gated models need an account, agreement, and a token
- Without `--local-dir`, files end up in the hidden cache folder
- You have to check each model’s license yourself
Does it run on your system?
| Operating system | Hardware | ||
|---|---|---|---|
| Windows | yes | NVIDIA | no |
| Linux | yes | AMD | no |
| macOS | yes | Intel Arc | no |
| Apple (M chips) | no | ||
| processor only | yes |
Pure download tool; no GPU is needed.
Installation
Install the hf tool with `pip install huggingface_hub` or via the official PowerShell installer from the README. For models with access restrictions, log in with `hf auth login`.
Download programs only from the official site or the official repository.
License
Apache-2.0 (hf CLI and Python library huggingface_hub)
The hf tool is under Apache-2.0; for every model you download, the terms of its authors apply. For “gated” models, you have to agree to them first.
The program license is something different from the model licenses you use in it. Whether you may sell results depends on the model; see Licenses. Not legal advice.
Known errors and solutions
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate – Python does not trust the certificate (often a company proxy or antivirus)
- Hugging Face download stops or hangs (.incomplete)
- Hugging Face: 429 Client Error: Too Many Requests / We had to rate limit you – too many requests, you’re being throttled
- Hugging Face: Cannot access gated repo (401)
- WhisperX: Could not download 'pyannote/speaker-diarization…' pipeline / 'NoneType' object has no attribute 'to' (speaker diarization must not load the model)
News about Hugging Face (Hub and hf CLI)
All news
Programs30.10.2026
Hugging Face (Hub and hf-CLI) v2.4.0 is available
New version of Hugging Face (Hub and hf-CLI) (29.10.2026). What changed is listed in the release notes.
1 min. read
Programs23.10.2026
Hugging Face (Hub and hf-CLI) v2.3.0 is out
New version of Hugging Face (Hub and hf-CLI) (22.10.2026). What changed is in the release notes.
1 min. readSources
- https://github.com/huggingface/huggingface_hub
- https://github.com/huggingface/huggingface_hub/releases
- https://github.com/huggingface/huggingface_hub/releases/expanded_assets/v1.32.0
- https://huggingface.co/docs/huggingface_hub/guides/cli
- https://huggingface.co/docs/hub/models-gated
- https://huggingface.co/pricing
Checked on Oct 21, 2026. Questions about Hugging Face (Hub and hf CLI)? Ask in the forum.