Get public platform stats

Public, unauthenticated endpoint. Returns platform-wide weekly token usage broken down by model or provider for the last 52 weeks. Top 10 breakdown values are returned; the remainder are aggregated into an Others bucket. Pre-aggregated weekly (Monday-aligned) in ClickHouse and cached for 1 hour. Rate limited to 30 requests per minute per IP.

Query parameters

breakdown_byenumOptionalDefaults to model
Dimension to break the weekly totals down by.
Allowed values:

Response

Successful response.
total_tokenslist of objects