Hugging Face: 429 Client Error: Too Many Requests / We had to rate limit you – too many requests, you’re being throttled
Hugging Face has counted too many requests from your IP address or account in the last few minutes and is temporarily blocking you.
The message
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://huggingface.co/…/resolve/main/… – im Browser: We had to rate limit you.
Affects: Hugging Face (Hub and hf CLI), Python, ComfyUI, TextGen (text-generation-webui)
Why is this happening?
Hugging Face limits requests per 5-minute window. Without logging in, the limit applies per IP address and is lower than with a free account. Anyone sharing an IP (company, VPN, some IPv6 networks) or using a program that repeats downloads in a loop can hit the limit quickly. According to Hugging Face, the most common reason is that no token is being sent.
How to fix it
- Wait a few minutes. The limits apply to fixed 5-minute windows, after which it usually works again.
- Create a free account and create a token with read access at https://huggingface.co/settings/tokens.
- Log in to the program’s environment:
hf auth login. All programs that use huggingface_hub will then automatically use the saved token. - Alternatively, set the token as an environment variable before starting, in PowerShell:
$env:HF_TOKEN="hf_…". The variable takes priority over the saved token. - Check https://huggingface.co/settings/billing to see how many requests you have used in the last 5 minutes.
- If you’re downloading many files, spread the downloads out over a longer period. huggingface_hub from version 1.2.0 automatically waits the necessary time for 429 errors (check version:
python -m pip show huggingface_hub).
Better not: Don’t restart the download immediately over and over, because each attempt counts against your limit.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- [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)
- ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied – pip cannot modify a file
- 'python' is not recognized or opens the Microsoft Store
- ImportError: DLL load failed while importing …: The specified module could not be found – a Python package is missing a Windows DLL
- No matching distribution found for torch (wrong Python version)
Sources
- https://huggingface.co/docs/hub/rate-limits
- https://huggingface.co/docs/huggingface_hub/quick-start
- https://discuss.huggingface.co/t/how-does-the-hub-handles-http-error-429/147346
- https://www.huggingface.co/openai-community/gpt2/discussions/117
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.