# Model requires a Pro subscription

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%3E%5C
**Category:** Beginners\
**Created:** [April 9, 2024, 7:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833 "2024-04-09T07:03:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![salefrc](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@salefrc](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsalefrc)%5C
**Post date:** [April 9, 2024, 7:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%2F1 "2024-04-09T07:03:47Z")

</div>

Hi, complete beginner here I’m trying to hit free API llama 2 and I’m getting this error I’m not sure why .Do I need to pay for PRO to use it

HTTP Error: 400 Bad Request {"error":"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."}

---

<div class="post-metadata">

**Author:** ![Leyor88](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@Leyor88](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FLeyor88)%5C
**Post date:** [July 7, 2024, 7:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%2F2 "2024-07-07T07:58:27Z")

</div>

Same issue, I am wondering how can one know if its a pro subscription or not

---

<div class="post-metadata">

**Author:** ![GPT007](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gpt007/32/26934_2.png) [@GPT007](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGPT007)%5C
**Post date:** [July 7, 2024, 8:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%2F3 "2024-07-07T08:06:01Z")

</div>

I think it’s because the API inference/client (not PRO) does not have enough memory to load Llama 2.

---

<div class="post-metadata">

**Author:** ![patrick-mcenaney](https://avatars.discourse-cdn.com/v4/letter/p/c77e96/32.png) [@patrick-mcenaney](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpatrick-mcenaney)%5C
**Post date:** [August 7, 2024, 7:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%2F4 "2024-08-07T19:18:48Z")

</div>

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:** ![jeetdhandha](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jeetdhandha](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjeetdhandha)%5C
**Post date:** [August 14, 2024, 4:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-requires-a-pro-subscription%2F80833%2F5 "2024-08-14T04:11:40Z")

</div>

I was getting this error and i solved it by invalidating and refreshing my hf token.
