# Huggingface get billing usage

**URL:** <https://discuss.huggingface.co/t/huggingface-get-billing-usage/153214>\
**Category:** Beginners\
**Created:** [May 2, 2025, 10:26am UTC](https://discuss.huggingface.co/t/huggingface-get-billing-usage/153214 "2025-05-02T10:26:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqbal57](https://avatars.discourse-cdn.com/v4/letter/i/5f8ce5/32.png) [@iqbal57](https://discuss.huggingface.co/u/iqbal57)\
**Post date:** [May 2, 2025, 10:26am UTC](https://discuss.huggingface.co/t/huggingface-get-billing-usage/153214/1 "2025-05-02T10:26:18Z")

</div>

Hello there, I wanted to know how I can get the total usage that I’ve incurred for hardware spaces programmatically. Is there any endpoint provided by huggingface which I can use for this?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [May 2, 2025, 7:41pm UTC](https://discuss.huggingface.co/t/huggingface-get-billing-usage/153214/2 "2025-05-02T19:41:43Z")

</div>

I’ve never heard of that…

As far as I know, information accessible via tokens is mostly covered by the `huggingface_hub` library, but I don’t think there are many APIs that allow you to refer to or manipulate account-specific information. @meganariley

> **[HfApi Client](https://huggingface.co/docs/huggingface_hub/main/en/package_reference/hf_api)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> **[Hub API Endpoints](https://huggingface.co/docs/hub/api)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> **[Billing](https://huggingface.co/docs/hub/billing)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
