Model requires a Pro subscription

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 to learn more. Make sure to include your HF token in your query."}

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

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

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?

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