# { error: 'https://api-inference.huggingface.co is no longer supported. Please use https://router.huggingface.co/hf-inference instead.' }

**URL:** <https://discuss.huggingface.co/t/error-https-api-inference-huggingface-co-is-no-longer-supported-please-use-https-router-huggingface-co-hf-inference-instead/169870>\
**Category:** Beginners\
**Created:** [November 3, 2025, 2:52pm UTC](https://discuss.huggingface.co/t/error-https-api-inference-huggingface-co-is-no-longer-supported-please-use-https-router-huggingface-co-hf-inference-instead/169870 "2025-11-03T14:52:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [November 3, 2025, 10:24pm UTC](https://discuss.huggingface.co/t/error-https-api-inference-huggingface-co-is-no-longer-supported-please-use-https-router-huggingface-co-hf-inference-instead/169870/4 "2025-11-03T22:24:46Z")

</div>

Refer this.

> [@Inference API returns 404 Not Found for all models](https://discuss.huggingface.co/t/inference-api-returns-404-not-found-for-all-models/169854/3):
>
> I’ll add to @John6666’s reply by mentioning our guide for making your first API request with Inference Providers: [Your First Inference Provider Call](https://huggingface.co/docs/inference-providers/en/guides/first-api-call). You can also [Build Your First AI App](https://huggingface.co/docs/inference-providers/en/guides/building-first-app) and [Build an Image Editor](https://huggingface.co/docs/inference-providers/en/guides/image-editor) with Inference Providers too hugs

---

_[View the full topic](https://discuss.huggingface.co/t/error-https-api-inference-huggingface-co-is-no-longer-supported-please-use-https-router-huggingface-co-hf-inference-instead/169870)._
