---
title: "Get ZeroGPU quota"
method: GET
path: "/api/spaces/zero-gpu/quota"
tags: ["spaces"]
---

# Get ZeroGPU quota

`GET /api/spaces/zero-gpu/quota`

Get the authenticated user's current ZeroGPU quota usage and limits

## Response `200`

The authenticated user's current ZeroGPU quota usage and limits

- object
  - `base` number, required — Total quota in GPU-seconds
  - `current` number, required — Remaining quota in GPU-seconds
  - `resetsAt` string, date-time, nullable, required — ISO 8601 timestamp when the quota resets, or null if the quota has not been used yet
  - `overquotaUsed` number — Overquota (paid) GPU-seconds consumed
  - `runs` object — Execution (runs) accounting, or omitted for visitors without a runs limit
    - `used` number, required — Executions used in the current runs window
    - `limit` number, required — Maximum number of executions allowed in the runs window
    - `remaining` number, required — Executions left before the runs limit is reached
    - `resetsAt` string, date-time, nullable, required — ISO 8601 timestamp when the runs window resets, or null if no run has happened yet. Independent of resetsAt.

## Changes

- **2026-09-08** `bd17546f47b8` — 2 info
  - the `resetsAt/anyOf[subschema #1]/` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `runs/resetsAt/anyOf[subschema #1]/` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/spaces/zero-gpu/quota/get.md)

---

[API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.dev/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingface/apis/hub-api-endpoints/revisions/ea15a26e9ab3?raw)
