# Cannot execute any model with my API Token, models are timed out

**URL:** <https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812>\
**Category:** Inference Endpoints on the Hub\
**Created:** [March 27, 2023, 5:45pm UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812 "2023-03-27T17:45:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Futyn-Maker](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@Futyn-Maker](https://discuss.huggingface.co/u/Futyn-Maker)\
**Post date:** [March 27, 2023, 5:45pm UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/1 "2023-03-27T17:45:11Z")

</div>

Hello to all the members of this amazing community! I’ve been on Hugging Face quite recently, so I apologize if this question is too dumb.

I have a small non-commercial Telegram bot that allows users to generate texts using a model that I have trained and choose the best of these texts. I wrote it just today and actively tested it alone during the day (so i have not users yet in fact). I uploaded my model to HF and use a free version of the API to generate texts.

Until some time  
everything was fine, but now I can’t execute my own or any other model through the API. I get the invariable error “model time out”.

And this applies not only to the API, but also to the widget in the model cards - I can’t apply the model there either.

I absolutely do not allow a situation in which many requests would be made at the same time. Moreover, their number is not so large: I think I made about 50-60 requests that day.

Please tell me what could be the reason for such a reaction  
to my requests? Are there any specific strict restrictions on the free API, for example, on the number of requests per day or on the interval between them?

I would appreciate your help!

---

<div class="post-metadata">

**Author:** ![jtlicardo](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jtlicardo](https://discuss.huggingface.co/u/jtlicardo)\
**Post date:** [March 27, 2023, 7:07pm UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/2 "2023-03-27T19:07:49Z")

</div>

I’m having the same problem, getting model timeouts for all of my API calls to my model for the past 1-2 hours. Not sure what is causing this.

Edit: just to be clear, I am using the free Inference API, not the paid Inference Endpoints

---

<div class="post-metadata">

**Author:** ![Futyn-Maker](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@Futyn-Maker](https://discuss.huggingface.co/u/Futyn-Maker)\
**Post date:** [March 27, 2023, 7:23pm UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/3 "2023-03-27T19:23:25Z")

</div>

It just started working again with my token, hooray! I would still like to find out if it was an HF failure or a limitation of a particular user.

---

<div class="post-metadata">

**Author:** ![Futyn-Maker](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@Futyn-Maker](https://discuss.huggingface.co/u/Futyn-Maker)\
**Post date:** [April 1, 2023, 9:14am UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/4 "2023-04-01T09:14:00Z")

</div>

A few days later, it started happening again. Still, I would like to get an answer: are these user restrictions or unavoidable failures of the free API? I understand perfectly well that you cannot and should not guarantee trouble-free operation on a free plan and I am very grateful that it exists in principle, but there is just a feeling that everything works with other tokens, and therefore it looks like a restriction of a specific user…

---

<div class="post-metadata">

**Author:** ![raviture](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/raviture/32/38591_2.png) [@raviture](https://discuss.huggingface.co/u/raviture)\
**Post date:** [January 23, 2025, 5:02am UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/5 "2025-01-23T05:02:50Z")

</div>

hey @Futyn-Maker did you find the reason behind the time-outs ?

---

<div class="post-metadata">

**Author:** ![Futyn-Maker](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@Futyn-Maker](https://discuss.huggingface.co/u/Futyn-Maker)\
**Post date:** [January 23, 2025, 7:22am UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/6 "2025-01-23T07:22:57Z")

</div>

No, at the time when this was relevant, it was fixed for me - after those two cases, timeouts no longer occurred. At the moment, the problem is simply irrelevant for me, because there is no longer free inference for unpopular models, as far as I know.

---

<div class="post-metadata">

**Author:** ![KateWinslet](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/katewinslet/32/26764_2.png) [@KateWinslet](https://discuss.huggingface.co/u/KateWinslet)\
**Post date:** [May 1, 2025, 12:38pm UTC](https://discuss.huggingface.co/t/cannot-execute-any-model-with-my-api-token-models-are-timed-out/34812/7 "2025-05-01T12:38:33Z")

</div>

> [@Futyn-Maker](#):
>
> Hello to all the members of this amazing community! I’ve been on Hugging Face quite recently, so I apologize if this question is too dumb.
> 
> I have a small non-commercial Telegram bot that allows users to generate texts using a model that I have trained and choose the best of these texts. I wrote it just today and actively tested it alone during the day (so i have not users yet in fact). I uploaded my model to HF and use a free version of the API to generate texts.
> 
> Until some time  
> everything was fine, but now I can’t execute my own or any other model through the API. I get the invariable error “model time out”.
> 
> And this applies not only to the API, but also to the widget in the model cards - I can’t apply the model there either.
> 
> I absolutely do not allow a situation in which many requests would be made at the same time. Moreover, their number is not so large: I think I made about 50-60 requests that day.
> 
> Please tell me what could be the reason for such a reaction  
> to my requests? Are there any specific strict restrictions on the free API, for example, on the number of requests per day or on the interval between them?
> 
> I would appreciate your help!

I am also facing this problem[.](https://holylandmerchandise.com/)
