# 404 to any API i tried

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%3E%5C
**Category:** Beginners\
**Created:** [July 6, 2025, 12:40pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937 "2025-07-06T12:40:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GilMS](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@GilMS](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGilMS)%5C
**Post date:** [July 6, 2025, 12:40pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F1 "2025-07-06T12:40:25Z")

</div>

i am trying to work with few API s:  
[/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2Fmistralai%2FMistral-7B-Instruct-v0.3%5D(https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2Fmistralai%2FMistral-7B-Instruct-v0.3)  
or  
[/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2Fgpt2%5D(https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2Fgpt2)

actually any model i try to run .  
it worked before.  
after i got the error i have deleted old token and created a new one, its the only one there.  
i am, active with pro plan of HF. what is wrong here?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [July 6, 2025, 1:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F2 "2025-07-06T13:01:50Z")

</div>

This is because [none of them have been deployed now](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fare-inferenceclient-s-down%2F161485%2F11). I think [some models can be used via Inference Provider](https://huggingface.co/models?inference_provider=all&sort=trending).

---

<div class="post-metadata">

**Author:** ![GilMS](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@GilMS](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGilMS)%5C
**Post date:** [July 6, 2025, 2:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F3 "2025-07-06T14:16:54Z")

</div>

you mean they have been removed?

---

<div class="post-metadata">

**Author:** ![TechAnalytics916](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/techanalytics916/32/50464_2.png) [@TechAnalytics916](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FTechAnalytics916)%5C
**Post date:** [July 6, 2025, 9:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F4 "2025-07-06T21:59:24Z")

</div>

i was struggling with this for weeks, and did not understand how token caching worked. I stumbled across a forum on here and someone said: “i seemed to have in ~/.netrc credentials for [huggingface.co](http://huggingface.co), which i think they might have overridden my Authorization header.  
a smiple rm ~/.netrc did the trick” it took me even longer to find it because its hidden and im not great with Linux, but i finally found, it delete this and i was able to login using API and download the exact mode youre talking about.

---

<div class="post-metadata">

**Author:** ![GilMS](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@GilMS](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGilMS)%5C
**Post date:** [July 7, 2025, 7:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F5 "2025-07-07T07:23:09Z")

</div>

Thanks i tried it no .netrc or any combination. thinking to move on to other services.

---

<div class="post-metadata">

**Author:** ![meganariley](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/meganariley/32/56966_2.png) [@meganariley](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmeganariley)%5C
**Post date:** [July 7, 2025, 3:43pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-to-any-api-i-tried%2F161937%2F6 "2025-07-07T15:43:17Z")

</div>

Hi @GilMS The model mistralai/Mistral-7B-Instruct-v0.3 is available with other Inference Providers such as Together AI and Novita. If you’re PRO, you can use your free monthly inference credits towards these providers. More info on Inference Providers: [Inference Providers](https://huggingface.co/docs/inference-providers/en/index).

mistralai/Mistral-7B-Instruct-v0.3 and gpt2 can both be used with [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/index). You can also request inference provider support for gpt2 on the model page: [openai-community/gpt2 · Hugging Face](https://huggingface.co/openai-community/gpt2).

Let us know if you have other questions.
