Account
Get the current key
The key you send, inference or management, in OpenRouter's current-key shape: its label, limit, limit_remaining and limit_reset, its spend over its life (usage) and in the current UTC day, week and month, expires_at, is_management_key, and is_free_tier, true until your organization has bought credit. A key with a limit has one entry in budgets, whose resets_at says when its period ends (null for a lifetime limit). USD amounts are JSON numbers.
Request
curl https://api.llm.buzz/api/v1/key \
-H "Authorization: Bearer $LLM_BUZZ_KEY"Response
{
"data": {
"label": "CI key",
"limit": 5,
"limit_remaining": 3.75,
"limit_reset": "monthly",
"include_byok_in_limit": false,
"usage": 1.25,
"usage_daily": 0.5,
"usage_weekly": 1.25,
"usage_monthly": 1.25,
"is_free_tier": false,
"is_management_key": false,
"is_provisioning_key": false,
"expires_at": null,
"budgets": [
{
"scope": "key_limit",
"limit_usd": 5,
"spend_usd": 1.25,
"remaining_usd": 3.75,
"reset_interval": "monthly",
"resets_at": "2026-11-01T00:00:00Z"
}
],
"workspace_id": "default",
"allowed_data_regions": [
"global",
"europe",
"us"
]
}
}{
"error": {
"code": 401,
"message": "Missing Authentication header",
"metadata": {
"error_type": "authentication",
"gateway_code": "missing_authentication"
}
}
}Authorization
Any key, inference or management, as Authorization: Bearer KEY.
Response 200
The key, as {"data": ...}.
Errors
401No
Authorizationheader (missing_authentication), or the key is unknown, expired, revoked or disabled (invalid_key).