Llm
Get LLM cost metrics
Return current-month total LLM cost and per-model cost timeseries for the tenant.
post/llm/cost
Query parameters
cookie_namestring nullable
tenant_idinteger
Request body
Example request
{
"granularity": "monthly",
"date_start": "2026-01-01T00:00:00Z",
"date_end": "2026-01-31T23:59:59Z"
}Response
Successful Response
Example response
{
"total_cost": 123.45,
"timeseries": {
"gpt-4o": [
{
"cost": 12.34,
"date": "2026-01-15"
}
]
}
}