You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/rate-limits.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ We define different rate limits for distinct classes of requests. We distinguish
11
11
- Specifically, this is the ["Resolve a file" endpoint](https://huggingface.co/spaces/huggingface/openapi#tag/models/get/{namespace}/{repo}/resolve/{rev}/{path}) documented in our OpenAPI spec.
12
12
- Resolve requests are heavily used by the community, and since we optimize our infrastructure to serve them with maximum efficiency, the rate limits for Resolvers are the highest.
13
13
-**Pages**
14
-
- All the Web pages we host on huggingface.co.
14
+
- All the Web pages we host on huggingface.co.
15
15
- Usually Web browsing requests are made by humans, hence rate limits don't need to be as high as the above mentioned programmatic endpoints.
16
16
17
17
> [!TIP]
@@ -37,18 +37,23 @@ Note: You can use the context switcher to easily switch between your user accoun
37
37
38
38
Whenever you or your organization hits a rate limit, you will receive a **429**`Too Many Requests` HTTP error.
39
39
40
-
We implement the mechanism described in the [IETF draft](https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/) titled “RateLimit HTTP header fields for HTTP” (also known as `draft-ietf-httpapi-ratelimit-headers`).
40
+
We implement the mechanism described in the [IETF draft (Version 9)](https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/) titled “RateLimit HTTP header fields for HTTP” (also known as `draft-ietf-httpapi-ratelimit-headers`).
41
41
42
42
The goal is to define standardized HTTP headers that servers can use to advertise quota / rate-limit policies and communicate current usage / limits to clients so that they can avoid being throttled.
|**`RateLimit‑Policy`**| Carries the rate limit policy itself (e.g. “100 requests per 5 minutes”). It’s informative; shows what policy the client is subject to. |
49
-
|**`RateLimit‑Limit`**| The total allowed rate limit for the current window. “How many requests (of this type) you’re allowed to perform.” |
50
-
|**`RateLimit‑Remaining`**| How many requests of this type you have left in the current window. |
51
-
|**`RateLimit‑Reset`**| Number of seconds until the rate limit window resets (or until quota is refreshed). Uses a “delta-seconds” format to reduce clock sync issues. |
|**`RateLimit`**| The total allowed rate limit for the current window. “How many requests (of this type) you’re allowed to perform.” |
49
+
|**`RateLimit-Policy`**| Carries the rate limit policy itself (e.g. “100 requests per 5 minutes”). It’s informative; shows what policy the client is subject to. |
0 commit comments