---
title: "List model generation usage"
method: GET
path: "/api/v1/billing/model-runs"
tags: ["billing"]
---

# List model generation usage

`GET /api/v1/billing/model-runs`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/billing/model-runs`
- Auth: HTTP bearer

Returns the newest provider calls for the authenticated user's workspaces, including token usage, estimated provider cost, and the pricing source used.

## Response `200`

Successful Response

- ModelRunRead[]
  - `id` string, required
  - `workspace_id` string, required
  - `at` string, required
  - `provider` string, required
  - `model` string, required
  - `task` string, required
  - `input_tokens` integer, nullable, required
  - `output_tokens` integer, nullable, required
  - `total_tokens` integer, nullable, required
  - `cached_input_tokens` integer, nullable, required
  - `cache_write_5m_tokens` integer, nullable, required
  - `cache_write_1h_tokens` integer, nullable, required
  - `reasoning_tokens` integer, nullable, required
  - `input_cost_usd_micros` integer, required
  - `output_cost_usd_micros` integer, required
  - `cost_usd_micros` integer, required
  - `pricing_source` string, nullable, required

## Other responses

- `401`: Missing or invalid Supabase bearer token.

---

[API](https://skmtc.dev/cadencz/apis/cadencz-api.md) · [All operations](https://skmtc.dev/cadencz/apis/cadencz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencz/apis/cadencz-api/revisions/3392fe5e93db?raw)
