Loading
Loading
Requests are paid from a prepaid balance: no subscription, credits don’t expire, and each request is charged at its actual cost.
max_tokens (4096 output tokens if not set). An input image adds about 2,000 tokens.insufficient_funds, and the request isn’t run.| Method | Returns |
|---|---|
| GET /v1/billing/balance | balance_rub, reserved_rub, spendable_rub |
| GET /v1/billing/usage | Recent requests: model, tokens, amount, status, error_code. Texts aren’t stored |
| GET /v1/billing/transactions | Balance transactions: top-ups and charges |
curl https://llmproxy.org/v1/billing/balance -H "Authorization: Bearer $LLMPROXY_API_KEY"/billing/usage parameters: limit (up to 200), model, key=this (current key only), since and until (ISO), status=error, before (uuid of the last row — the next, older page; see has_more). With group=model you get a per-model summary for days (30 by default) or for since/until. /billing/transactions takes limit (up to 200) and before.