{
  "slug": "hf-spaces-zero-gpu-quota-reports-zerogpu-usage-49e4209bba24",
  "title": "hf spaces zero-gpu-quota reports ZeroGPU usage",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-01T12:12:05.000Z",
  "announced_at": "2026-10-01T12:12:05.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "Before calling ZeroGPU Spaces, check the remaining quota and reset time with `hf spaces zero-gpu-quota`.",
    "gotchas": [
      "Version: v2.1.0",
      "--format json: Print quota results as JSON.",
      "Prerequisite: A fine-grained token must have the “Billing > Read billing usage and payment method status” permission.",
      "Quota values are expressed in GPU-seconds.",
      "`resets_at` is `None` if ZeroGPU has not been used since the last reset.",
      "A fine-grained token requires the \"Billing > Read billing usage and payment method status\" permission.",
      "The CLI prints a credit-purchase hint when less than 10% of the quota is left; the linked documentation says PRO, Team, and Enterprise users can purchase credits to continue beyond the daily quota.",
      "Docs conflict: The v2.1.0 CLI documentation shows `hf spaces zero-gpu quota` and its `--format json` form, while the release note names `hf spaces zero-gpu-quota`. The documentation does not confirm the release-note command spelling."
    ]
  },
  "why_it_matters": "When building or maintaining a script that calls ZeroGPU Spaces, check the remaining quota and reset time before making calls.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v2.1.0",
    "https://github.com/huggingface/huggingface_hub/pull/5040",
    "https://huggingface.co/docs/huggingface_hub/v2.1.0/guides/cli",
    "https://huggingface.co/docs/huggingface_hub/v2.1.0/en/guides/manage-spaces"
  ],
  "rank": 0.96025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-a424eb929dd99d6a-1:gate",
    "evidence_hash": "1988694b2a2b01c7e4be950ab53bebdd7d144d5bdd768b42b1255f9491da806b"
  },
  "review": {
    "draft_hash": "5c33037107e3a7927c28c377740ee22d9ba0c32e6e9e632334a3c0abd729c7b3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
