GET 路径: /api/billing/usage 认证: 会话 Bearer
查询参数
string
起始时间戳(ISO 8601 UTC)。默认本月开始。
string
结束时间戳(ISO 8601 UTC)。默认当前。
string
day 或 hour。默认 day。响应
object[]
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回一段时间与粒度内的计量用量:按模型的用量、单位与费用。金额以钱包币种计。
GET 路径: /api/billing/usage 认证: 会话 Bearer
day 或 hour。默认 day。curl -H "Authorization: Bearer eyJhbGciOi..." \
"https://ariacompute.cn/api/billing/usage?from=2026-09-01T00:00:00Z&granularity=day"
{
"usage": [
{
"timestamp": "2026-09-22T00:00:00Z",
"model": "gemma-4-e2b-it_q4",
"quantity": 1250000,
"unit": "per_million_tokens",
"cost": 1.50,
"currency": "CNY"
}
]
}
Was this page helpful?