Skip to content

Usage and quota

Reports what your key has spent against the shared model APIs, and what’s left today.

GET /api/profile/model-usage Session or API key
ParameterTypeDescription
include_recentbooleanOptionalInclude a list of recent individual calls. Defaults to false.
Terminal window
curl "https://radeon-global.anruicloud.com/api/profile/model-usage?include_recent=true" \
-H "Authorization: Bearer $RADEON_API_KEY"
{
"status": "ok",
"rpm_limit": 30,
"daily_cost_limit_usd": 10,
"daily_cost_used_usd": 1.8412,
"daily_cost_remaining_usd": 8.1588,
"daily_reset_timezone": "Asia/Shanghai",
"daily_reset_at": "2026-08-26T00:00:00+08:00",
"today": {
"requests": 142,
"errors": 3,
"total_tokens": 88214,
"prompt_tokens": 31002,
"completion_tokens": 57212,
"cost": 1.8412,
"last_request_at": "2026-08-25T14:22:07+08:00"
},
"last_30_days": { "requests": 2840, "total_tokens": 1904221, "cost": 39.77 },
"all_time": { "requests": 9120, "total_tokens": 6210443, "cost": 128.44 },
"by_model": [
{ "model": "DeepSeek-V4-Flash", "requests": 120, "total_tokens": 74001, "cost": 1.55 }
],
"recent": []
}
FieldDescription
statusok normally. not_configured if the account has no API key yet; not_available if the usage service can’t be reached.
rpm_limitRequests per minute allowed for this key.
daily_cost_limit_usdDaily spend ceiling.
daily_cost_used_usdSpent so far in the current window.
daily_cost_remaining_usdWhat’s left before requests start being rejected.
daily_reset_timezoneTimezone the daily window is anchored to — Asia/Shanghai.
daily_reset_atWhen the current window rolls over.
today, last_30_days, all_timeAggregates over each period.
by_modelThe same aggregates broken down per model.
recentIndividual recent calls. Empty unless include_recent=true.

Token counts split into prompt_tokens and completion_tokens; some models also report reasoning_tokens. Costs are USD.

Poll this before a large batch job to confirm there’s headroom, or watch daily_cost_remaining_usd in a dashboard so a job doesn’t stop halfway through the night. Once the daily allowance is exhausted, requests are rejected until daily_reset_at.

Credits for GPU instances are tracked separately and don’t appear here — see Account.

502 means the usage service is unreachable; the aggregate fields come back zeroed with a status explaining why. Treat a 502 as “unknown”, not as “zero usage”.