Billing
Get Model APIs costs
Returns daily Model API costs in USD for your organization, with optional filtering and grouping by API key, user, model, and service tier.
GET
cURL
Cost data starts on August 5, 2026, at 20:45 UTC. The August 5 bucket includes only usage after that time. The API rejects an earlier
start_date.Authorizations
Query Parameters
Dimensions to break costs down by, repeated once per dimension: api_key_prefix, user, model, service_tier, or team. Each result represents one observed combination of the requested dimensions within that day. For example, grouping by api_key_prefix and user returns each API-key and user pair that had usage. Combinations without usage are omitted, so result counts can differ between days. Omit for daily totals across all teams you can manage.
Available options:
api_key_prefix, user, model, service_tier, team Response
200 - application/json