# Subject: Hosted Inference returning 404 for multiple models (need assistance)

**URL:** <https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497>\
**Category:** Beginners\
**Created:** [September 17, 2025, 6:18am UTC](https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497 "2025-09-17T06:18:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hirtheesh](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@Hirtheesh](https://discuss.huggingface.co/u/Hirtheesh)\
**Post date:** [September 17, 2025, 6:18am UTC](https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497/1 "2025-09-17T06:18:16Z")

</div>

Hi Hugging Face Support,

I can access the Hub metadata (whoami and model\_info succeed) but hosted inference calls return 404 for multiple models from my environment.

Details:

- HF username: Hirtheesh
- Environment: Windows, venv at C:\study\echoverse\venv
- huggingface-hub version: (my local version)
- Models tested and results:
  - google/flan-t5-large → 404 Not Found (x-request-id: Root=1-68ca4f88-087b50c61af9d0812349d41b)
  - sshleifer/tiny-gpt2 → 404 Not Found (tested just now)

- Token: I verified my token is valid (whoami works). The token is set in the process environment for these tests.
- Raw request diagnostics: POST to [Models – Hugging Face](https://api-inference.huggingface.co/models/) returns 404 with headers including x-inference-provider: hf-inference and X-Cache: Error from cloudfront.

Could you confirm whether hosted Inference is enabled for my account/region and whether these models are available for hosted inference? If you need additional request IDs or headers, tell me what to capture and I’ll provide them.

Thanks,  
Hirtheesh

---

<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:** [September 17, 2025, 7:36am UTC](https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497/2 "2025-09-17T07:36:38Z")

</div>

The Inference API has been [revamped into Inference Providers](https://huggingface.co/docs/inference-providers/en/index), and the deployed models have changed significantly. [These are the models currently deployed](https://huggingface.co/models?inference_provider=all&sort=trending). [flan-t5-large does not appear to be deployed](https://huggingface.co/google/flan-t5-large) and is therefore unavailable.

---

<div class="post-metadata">

**Author:** ![Hirtheesh](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@Hirtheesh](https://discuss.huggingface.co/u/Hirtheesh)\
**Post date:** [September 17, 2025, 8:12am UTC](https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497/3 "2025-09-17T08:12:58Z")

</div>

what model can i use instead of it

---

<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:** [September 17, 2025, 8:19am UTC](https://discuss.huggingface.co/t/subject-hosted-inference-returning-404-for-multiple-models-need-assistance/168497/4 "2025-09-17T08:19:46Z")

</div>

It depends on the use case and your budget. The free tier only covers up to $0.01 worth of inference per month…  
There seem to be [several T5 models available](https://huggingface.co/models?inference_provider=all&sort=trending&search=t5).
