# Limits on Gradio API (HF Spaces)

**URL:** <https://discuss.huggingface.co/t/limits-on-gradio-api-hf-spaces/147812>\
**Category:** Spaces\
**Created:** [March 28, 2025, 10:59am UTC](https://discuss.huggingface.co/t/limits-on-gradio-api-hf-spaces/147812 "2025-03-28T10:59:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gblssroman](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gblssroman/32/44276_2.png) [@gblssroman](https://discuss.huggingface.co/u/gblssroman)\
**Post date:** [March 28, 2025, 10:59am UTC](https://discuss.huggingface.co/t/limits-on-gradio-api-hf-spaces/147812/1 "2025-03-28T10:59:42Z")

</div>

Hi,  
I am unclear on the rules or pricing for the [Spaces - Hugging Face](https://hf.space/%E2%80%A6) API endpoints. When I send a cURL request, it returns fine, but unlike with [https://api-inference.huggingface.co/…](https://api-inference.huggingface.co/%E2%80%A6) I don’t include an API key, so how would it charge me. Or if it is free, then what are the usage limits?

Re-asking the question from 2022. Thank you!

---

<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:** [March 28, 2025, 12:04pm UTC](https://discuss.huggingface.co/t/limits-on-gradio-api-hf-spaces/147812/2 "2025-03-28T12:04:12Z")

</div>

Calling Gradio Spaces via the API is free and best effort. Only for Zero GPU Spaces, there is a benefit from a token with a Pro subscription. (There is a version-dependent bug.)  
It is recommended that people who want stable operation use Endpoint API (dedicated) etc.

The fee is paid by the person hosting the Spaces.

> **[Hugging Face – Pricing](https://huggingface.co/pricing#spaces)**
>
> The simplest way to access compute for AI

If you’re worried, ask the following support.  
Payment related: [billing@huggingface.co](mailto:billing@huggingface.co)  
General: [website@huggingface.co](mailto:website@huggingface.co)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [March 31, 2025, 12:18pm UTC](https://discuss.huggingface.co/t/limits-on-gradio-api-hf-spaces/147812/3 "2025-03-31T12:18:48Z")

</div>

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