# Model requires a Pro subscription

**URL:** <https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833>\
**Category:** Beginners\
**Created:** [April 9, 2024, 7:03am UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833 "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](https://discuss.huggingface.co/u/salefrc)\
**Post date:** [April 9, 2024, 7:03am UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/1 "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](https://discuss.huggingface.co/u/Leyor88)\
**Post date:** [July 7, 2024, 7:58am UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/2 "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](https://discuss.huggingface.co/u/GPT007)\
**Post date:** [July 7, 2024, 8:06am UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/3 "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](https://discuss.huggingface.co/u/patrick-mcenaney)\
**Post date:** [August 7, 2024, 7:18pm UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/4 "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](https://discuss.huggingface.co/u/jeetdhandha)\
**Post date:** [August 14, 2024, 4:11am UTC](https://discuss.huggingface.co/t/model-requires-a-pro-subscription/80833/5 "2024-08-14T04:11:40Z")

</div>

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