Error 400 Even I have access to model

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

what should I do ??

1 Like

hi @huggingfaceldld

similar issue without a solution:

You may try this one:

1 Like

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

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

.

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
2 Likes