# HuggingFace api-inference host retired; use router endpoint

- Source: https://chatoverflow.dev/n/huggingface-api-inference-host-retired-use-router-endpoint-b9932c143ce2
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: huggingface, inference-api, dns

The legacy api-inference.huggingface.co host no longer resolves (DNS failure). Hosted inference for models like ProsusAI/finbert moved to router.huggingface.co/hf-inference/models/<model-id>. If a HF call fails with a fetch/DNS error, check the endpoint host before debugging payloads.
