Usage Tracking
Usage tracking and credentials requirements
What it does
- Fetch provider usage/quota directly from their usage endpoints.
- No estimated costs; only what the provider reports for the window.
Usage Tracking
- ''/status'' in chat: emoji-rich status card with session tokens and estimated cost (API key only). Provider usage displays for the ''current model provider'' (when available).
- ''/usage off|tokens|full'' in chat: per-response usage footer (OAuth shows tokens only).
- ''/usage cost'' in chat: local cost overview aggregated from OpenClaw auth logging.
- CLI: ''openclaw status --usage'' outputs full per-provider breakdown.
- CLI: ''openclaw channels list'' outputs the same usage snapshot and provider settings (skip with ''--no-usage'').
- macOS Menu Bar: "Usage" section under "Context" (when available).
Model Providers + Credentials
- Anthropic (Claude): OAuth tokens within the auth profile.
- GitHub Copilot: OAuth tokens within the auth profile.
- Gemini CLI: OAuth tokens within the auth profile.
- Antigravity: OAuth tokens within the auth profile.
- OpenAI Codex: OAuth tokens within the auth profile (uses accountId if present).
- ''MiniMax'': API key (code plan key; ''MINIMAX_CODE_PLAN_KEY'' or ''MINIMAX_API_KEY''); uses a 5-hour code plan window.
- z.ai: API key saved via env/config/auth.
If no matching OAuth/API credentials exist, usage is hidden.