/api/v1/creditsReturn the GlobalRouter balance and cumulative usage. This endpoint does not return upstream API keys or directly represent the official OpenRouter balance page.
Back to Credits and usage endpoint listRequest parameters
No required request parameters. Authentication is read from the Authorization header.
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
data | object | No | See the OpenAPI schema for field details. |
data.total_credits | number | No | See the OpenAPI schema for field details. |
data.total_usage | number | No | See the OpenAPI schema for field details. |
data.voucher_balance | number | No | See the OpenAPI schema for field details. |
data.cash_balance | number | No | See the OpenAPI schema for field details. |
data.credit_balance | number | No | See the OpenAPI schema for field details. |
Errors
401
UNAUTHORIZEDMissing or invalid Authorization Bearer token.
403
FORBIDDENThe current API key is not authorized for this scope, model, or management capability.
422
VALIDATION_ERRORThe request body, path parameters, or query parameters do not match the endpoint schema.
Notes
- Use a GlobalRouter API key; upstream OpenRouter API keys are never exposed to tenants.