{
  "title": "Usage tracking",
  "content": "* Pulls provider usage/quota directly from their usage endpoints.\n* No estimated costs; only the provider-reported windows.\n\n* `/status` in chats: emoji‑rich status card with session tokens + estimated cost (API key only). Provider usage shows for the **current model provider** when available.\n* `/usage off|tokens|full` in chats: per-response usage footer (OAuth shows tokens only).\n* `/usage cost` in chats: local cost summary aggregated from OpenClaw session logs.\n* CLI: `openclaw status --usage` prints a full per-provider breakdown.\n* CLI: `openclaw channels list` prints the same usage snapshot alongside provider config (use `--no-usage` to skip).\n* macOS menu bar: “Usage” section under Context (only if available).\n\n## Providers + credentials\n\n* **Anthropic (Claude)**: OAuth tokens in auth profiles.\n* **GitHub Copilot**: OAuth tokens in auth profiles.\n* **Gemini CLI**: OAuth tokens in auth profiles.\n* **Antigravity**: OAuth tokens in auth profiles.\n* **OpenAI Codex**: OAuth tokens in auth profiles (accountId used when present).\n* **MiniMax**: API key (coding plan key; `MINIMAX_CODE_PLAN_KEY` or `MINIMAX_API_KEY`); uses the 5‑hour coding plan window.\n* **z.ai**: API key via env/config/auth store.\n\nUsage is hidden if no matching OAuth/API credentials exist.",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "What it is",
      "id": "what-it-is"
    },
    {
      "level": "h2",
      "text": "Where it shows up",
      "id": "where-it-shows-up"
    },
    {
      "level": "h2",
      "text": "Providers + credentials",
      "id": "providers-+-credentials"
    }
  ],
  "url": "llms-txt#usage-tracking",
  "links": []
}