---
title: "Inference usage"
method: GET
path: "/api/organizations/{name}/billing/usage/inference"
tags: ["orgs"]
---

# Inference usage

`GET /api/organizations/{name}/billing/usage/inference`

## Request

- Base URL: `https://huggingface.co`
- URL: `https://huggingface.co/api/organizations/{name}/billing/usage/inference`
- Auth: HTTP bearer

Get org inference-provider usage per member, model and provider, returned as a time-series of daily periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Returns up to `limit` periods, follow the `Link` header for the next ones. Requests are included up to 2 hours after they are made.

## Path parameters

- `name` string, required

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `limit` integer — Number of daily periods per page

## Response `200`

Org inference-provider usage per member, model and provider, indexed by daily period

- object[]
  - `period` string, date-time, required
  - `usage` object[], required
    - `user` string, nullable, required
    - `model` string, nullable, required
    - `provider` string, required
    - `requestCount` number, required
    - `costCents` number, required
    - `inputTokens` number, required
    - `outputTokens` number, required
    - `cachedInputTokens` number, required

## Changes

- **2026-10-08** `2e368d71e0f0` — 1 breaking
  - for the `query` request parameter `endDate`, default value was changed from `2026-10-07T07:42:12.644Z` to `2026-10-07T13:14:36.675Z`
- **2026-10-07** `07c91f0ff62a` — 1 breaking
  - for the `query` request parameter `endDate`, default value was changed from `2026-10-06T12:39:30.088Z` to `2026-10-07T07:42:12.644Z`
- **2026-10-06** `75504d1070d6` — 1 breaking
  - for the `query` request parameter `endDate`, default value was changed from `2026-10-05T14:58:30.755Z` to `2026-10-06T12:39:30.088Z`
- **2026-10-05** `ff0fe1455f1d` — 1 info
  - endpoint added

[Operation history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/organizations/:name/billing/usage/inference/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/2e368d71e0f0?raw)
