Billing API

#36
by andrewday - opened

Monitoring our inference spend is getting more and more important so we can control costs and identify potential issues.

Is there a HF billing endpoint and / or how do I raise a product feature request to get one on to the roadmap?

Especially for inference and infra costs.

Hugging Face org

Hello,
You can retrieve your organization's billing expense using this endpoint: https://huggingface.co/spaces/huggingface/openapi#tag/orgs/GET/api/organizations/{name}/billing/usage-v2 (requires startDate and endDate to be the first of the month and the first of next month, respectively)

Sign up or log in to comment