Payment Required huggingface...Qwen2.5-Coder-32B-Instruct

I work with unit2 course: Building Agents That Use Code - Hugging Face Agents Course
And on secondrun of example i got this…
How to resolve it ?

402 Client Error: Payment Required for url: https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions (Request ID: Root=1-68063243-7ef4317d76eacb46003d4813;485422fc-79dd-43ff-8361-7cfd309a5eab)
You have exceeded your monthly included credits for Inference Providers. Subscribe to PRO to get 20x more monthly included credits.
python-BaseException

1 Like
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/'

# Initialize the model

model = HfApiModel(model_id=model_id)

From HF Discord. I hope this still works…

Well, it might be easier to use other models or local models.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.