# Too Many Requests Error When Accessing Hugging Face API Without Authentication

**URL:** <https://discuss.huggingface.co/t/too-many-requests-error-when-accessing-hugging-face-api-without-authentication/148178>\
**Category:** 🤗Hub\
**Created:** [March 31, 2025, 9:52am UTC](https://discuss.huggingface.co/t/too-many-requests-error-when-accessing-hugging-face-api-without-authentication/148178 "2025-03-31T09:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrizhik](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrizhik/32/44467_2.png) [@mrizhik](https://discuss.huggingface.co/u/mrizhik)\
**Post date:** [March 31, 2025, 9:52am UTC](https://discuss.huggingface.co/t/too-many-requests-error-when-accessing-hugging-face-api-without-authentication/148178/1 "2025-03-31T09:52:30Z")

</div>

Hello,

We use Hugging Face models in our tests and encountered the following error when trying to access `https://huggingface.co/api/models/HuggingFaceTB`:

```auto
Too many requests for URL: https://huggingface.co/api/models/HuggingFaceTB

```

We do not use an authentication token due to security reasons.

Our questions:

1. What are the request rate limits for non-authenticated users?
2. Is there a way to check our current rate limits or remaining quota?
3. Are there alternative solutions to avoid hitting these limits without using authentication?

Any guidance would be appreciated.

Thanks!  
Mikhail

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [March 31, 2025, 11:48am UTC](https://discuss.huggingface.co/t/too-many-requests-error-when-accessing-hugging-face-api-without-authentication/148178/2 "2025-03-31T11:48:19Z")

</div>

Well, limits often change…

> [@Too many requests for URL](https://discuss.huggingface.co/t/too-many-requests-for-url/139743):
>
> I am using a finetuned llama model for inference (using vllm) and keep getting this error: Traceback (most recent call last): File "/pfss/mlde/workspaces/mlde\_wsp\_Rohrbach/users/ns94feza/.conda/envs/llmonk2/lib/python3.11/site-packages/huggingface\_hub/utils/\_http.py", line 406, in hf\_raise\_for\_status response.raise\_for\_status() File "/pfss/mlde/workspaces/mlde\_wsp\_Rohrbach/users/ns94feza/.conda/envs/llmonk2/lib/python3.11/site-packages/requests/models.py", line 1024, in raise\_for\_status…
