# Error 400 Even I have access to model

**URL:** <https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356>\
**Category:** Models\
**Created:** [December 28, 2024, 2:05pm UTC](https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356 "2024-12-28T14:05:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huggingfaceldld](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/huggingfaceldld/32/38248_2.png) [@huggingfaceldld](https://discuss.huggingface.co/u/huggingfaceldld)\
**Post date:** [December 28, 2024, 2:05pm UTC](https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356/1 "2024-12-28T14:05:56Z")

</div>

Recently I got access to Llama-3.3-70B-Instruct but when I use a token I get error 400 Model requires a Pro subscription; check out [Hugging Face – Pricing](http://hf.co/pricing) to learn more. Make sure to include your HF token in your query.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/2/f/2f7d614a49edaec301b44a4ffce50fa9b711a42d.png)

what should I do ??

---

<div class="post-metadata">

**Author:** ![mahmutc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mahmutc/32/52583_2.png) [@mahmutc](https://discuss.huggingface.co/u/mahmutc)\
**Post date:** [December 28, 2024, 4:22pm UTC](https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356/2 "2024-12-28T16:22:45Z")

</div>

hi @huggingfaceldld

similar issue without a solution:

> **[meta-llama/Llama-3.3-70B-Instruct · Getting 400 error to send token](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct/discussions/31)**
>
> While sending request from this model Error 400: {"error":"Model requires a Pro subscription; check out hf.co/pricing to learn more. Make sure to include your HF token in your query."} getting this...

You may try this one:

> [@Model requires a Pro subscription](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/4):
>
> did you solve the issue? I am encountering same error. I have openAssistant model which works using inference endpoint. but Llama 2 is giving me exception mentioned in question. when I test it in Huggingface inference UI it works there. what could be the reason?

---

<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:** [December 28, 2024, 5:23pm UTC](https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356/3 "2024-12-28T17:23:48Z")

</div>

@meganariley @not-lain Perhaps pro subscription with Inference API issue.

---

<div class="post-metadata">

**Author:** ![not-lain](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/not-lain/32/59092_2.png) [@not-lain](https://discuss.huggingface.co/u/not-lain)\
**Post date:** [January 3, 2025, 4:01pm UTC](https://discuss.huggingface.co/t/error-400-even-i-have-access-to-model/133356/4 "2025-01-03T16:01:29Z")

</div>

hi @huggingfaceldld and @mahmutc  
you’re confusing access to download the model with API access.  
the serverless API is given to all users regarless if they accept the user agreement or not, there are 2 hypothesis why you’re getting this error.  
**case 1**  
some of these larger AI models require users to get pro access to run them.  
to check if that model requires pro or not try to use the widget in the model page and see if it works for you

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/6/d65f8c667d0ebc52a5d42a8146770fd065ed2d7a.png).

**case 2**  
if the widget worked online and your code did not you might check the following :

- you are passing your token correctly
- your code might have an error somewhere
