Account Management
Account management here mainly covers three categories: authentication methods, OAuth browser flow, and balance and usage queries at the API Key level or account level.Authentication Methods
Bearer Token, Claude-compatible headers, Gemini-compatible headers, login state, and OAuth routes.
Balance and Usage
/api/usage/token, /dashboard/billing/subscription, /dashboard/billing/usage.Route List
| Method | Path | Description |
|---|---|---|
GET | /api/oauth/state | Generate OAuth state value |
GET | /api/oauth/{provider} | Standard OAuth callback route |
GET | /api/usage/token/ | API Key usage and balance |
GET | /dashboard/billing/subscription | OpenAI-compatible subscription/balance |
GET | /v1/dashboard/billing/subscription | Same as above, compatibility path with /v1 prefix |
GET | /dashboard/billing/usage | OpenAI-compatible usage |
GET | /v1/dashboard/billing/usage | Same as above, compatibility path with /v1 prefix |