OneKeyLLM

/usage

Track the remaining budget on a OneKeyLLM key.

This page calls GET https://api.onekeyllm.io/v1/usage with your bearer token. For the exact response shape, read the usage documentation.

Check a key

The request goes directly from your browser to the OneKeyLLM API. The key is not stored.

GET /v1/usage

Key budget

Paste a sk-lazytech key to display how much of your budget and 5h/weekly windows are used and remaining, as percentages.

{
  "object": "api_key.usage",
  "foundation": "all",
  "expires_at": null,
  "budget": {
    "used_percent": 40,
    "remaining_percent": 60
  },
  "subscription": {
    "product_id": "prod_...",
    "five_hour": { "used_percent": 40, "remaining_percent": 60 },
    "weekly": { "used_percent": 12, "remaining_percent": 88 }
  }
}