# Unable to access model with Inference Client

**URL:** <https://discuss.huggingface.co/t/unable-to-access-model-with-inference-client/153651>\
**Category:** Beginners\
**Created:** [May 5, 2025, 11:24pm UTC](https://discuss.huggingface.co/t/unable-to-access-model-with-inference-client/153651 "2025-05-05T23:24:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BioCodeFusion](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/biocodefusion/32/46952_2.png) [@BioCodeFusion](https://discuss.huggingface.co/u/BioCodeFusion)\
**Post date:** [May 5, 2025, 11:24pm UTC](https://discuss.huggingface.co/t/unable-to-access-model-with-inference-client/153651/1 "2025-05-05T23:24:16Z")

</div>

I have tried different ways to run the code in colab of the different code examples in AI agent course unit, but cannot pass the prompt part, so frustrating. The error message

> **[dummy\_agent\_library.ipynb · agents-course/notebooks at main](https://huggingface.co/agents-course/notebooks/blob/main/dummy_agent_library.ipynb)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

 ![errorHG](https://us1.discourse-cdn.com/hellohellohello/original/3X/3/a/3abd112bb1f96a1eaae6117f83048d8f74ef7dc0.png)

---

<div class="post-metadata">

**Author:** ![buDujS](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/budujs/32/46958_2.png) [@buDujS](https://discuss.huggingface.co/u/buDujS)\
**Post date:** [May 6, 2025, 12:42am UTC](https://discuss.huggingface.co/t/unable-to-access-model-with-inference-client/153651/2 "2025-05-06T00:42:35Z")

</div>

I ran into the same issue, everyone is and they don’t know why. I need to present my final project in 1 day and only found out tonight my model is not working. I am paying something like 0.06$ an hour to have it deployed through Inference Endpoints on AWS.. apparently this is the only solution..

---

<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:** [May 6, 2025, 3:40am UTC](https://discuss.huggingface.co/t/unable-to-access-model-with-inference-client/153651/3 "2025-05-06T03:40:42Z")

</div>

Same here.

> [@Inference API stopped working](https://discuss.huggingface.co/t/inference-api-stopped-working/150492):
>
> Hi everyone, I seem to be encountering a sudden issue with the Hugging Face Inference API. I was successfully using it for image-to-image tasks (specifically with models like stabilityai/stable-diffusion-xl-refiner-1.0), but it abruptly stopped working a short while ago. Now, regardless of which model I try to use, I consistently receive the following error pattern: Model \<model\_name\> is not supported HF inference api This is happening in two distinct ways: Via InferenceClient: My applicat…
