使用状況的追跡
使用状況的追跡和认证信息的需求
What it does
- Fetch provider usage/quota directly from their usage endpoints.
- No estimated costs; only what the provider reports for the window.
使用跟踪
- ''/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'' 是提供商每个完全那内訳输出执行。
- 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).
提供商 + 认证情報
- 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 密钥(代码计划密钥;''MINIMAX_CODE_PLAN_KEY'' 或 ''MINIMAX_API_KEY'');5时间的代码计划窗口使用执行。
- z.ai: API key saved via env/config/auth.
一致执行 OAuth/API 认证信息但存在不执行場合、使用状況是非显示变为。