openclaw - 💡(How to fix) Fix Companion app: Anthropic provider usage/limits not visible while OpenAI Codex appears in Usage providers [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59952Fetched 2026-04-08 02:38:23
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

In the macOS companion app / Control UI usage provider view, openai-codex appears as a usage provider, but Anthropic/Claude does not appear comparably even when Anthropic is the configured default provider and is actively being used.

Root Cause

In the macOS companion app / Control UI usage provider view, openai-codex appears as a usage provider, but Anthropic/Claude does not appear comparably even when Anthropic is the configured default provider and is actively being used.

RAW_BUFFERClick to expand / collapse

Summary

In the macOS companion app / Control UI usage provider view, openai-codex appears as a usage provider, but Anthropic/Claude does not appear comparably even when Anthropic is the configured default provider and is actively being used.

Why this seems inconsistent

OpenClaw docs suggest Anthropic has provider-level usage support internally:

  • concepts/model-providers mentions Anthropic provider support including usage endpoint fetching.
  • OpenAI Codex docs/plugin internals explicitly mention fetchUsageSnapshot / usage endpoint integration.

At the same time, Anthropic can be configured via supported OpenClaw flows:

  • anthropic/... via setup-token / token auth
  • claude-cli/... via Claude CLI-backed mode

The current UX makes it unclear whether:

  1. Anthropic usage visibility is unsupported in the companion app UI,
  2. it is supported only for some auth modes,
  3. or this is simply a UI omission/bug.

What I observed

  • OpenAI Codex shows up under usage providers.
  • Anthropic does not show comparably, despite Anthropic being the default model/provider path in config and actively serving requests.
  • This leads users to wonder whether Anthropic is unsupported, misconfigured, or invisible in the companion app.

Environment / shape of setup

  • Default model path: anthropic/claude-opus-4-6
  • Fallbacks include anthropic/claude-sonnet-4-6 and openai-codex/gpt-5.4
  • Auth profile for Anthropic is a supported OpenClaw Anthropic token/setup-token style profile (anthropic:default)
  • Codex is configured via supported openai-codex OAuth

Request

Could the docs and/or UI clarify:

  • whether Anthropic provider usage is expected to appear in the companion app usage providers list,
  • whether this depends on auth mode (anthropic/... token/setup-token vs claude-cli/...),
  • and whether Anthropic usage/limit snapshots should be surfaced similarly to Codex?

If this is a gap, a companion app / Control UI enhancement to show Anthropic provider usage consistently would help a lot.

Related docs references

  • docs/concepts/oauth.md
  • docs/providers/anthropic.md
  • docs/gateway/cli-backends.md
  • docs/concepts/model-providers.md

extent analysis

TL;DR

The most likely fix is to enhance the companion app UI to consistently show Anthropic provider usage, similar to OpenAI Codex.

Guidance

  • Verify that Anthropic usage endpoint fetching is correctly implemented in the companion app by checking the concepts/model-providers documentation and the fetchUsageSnapshot function.
  • Check the authentication mode used for Anthropic (token/setup-token vs Claude CLI-backed mode) to determine if it affects usage visibility.
  • Review the OpenClaw documentation (e.g., docs/concepts/oauth.md, docs/providers/anthropic.md) to ensure that Anthropic provider usage is expected to appear in the companion app usage providers list.
  • Consider adding a UI enhancement to surface Anthropic usage/limit snapshots consistently with Codex.

Notes

The issue seems to be related to a UI omission or inconsistency, rather than a fundamental limitation in the OpenClaw implementation. Clarifying the documentation and enhancing the UI can help resolve the issue.

Recommendation

Apply a workaround by enhancing the companion app UI to show Anthropic provider usage, as this will provide a consistent user experience and help users understand whether Anthropic is supported, misconfigured, or invisible in the companion app.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Companion app: Anthropic provider usage/limits not visible while OpenAI Codex appears in Usage providers [1 participants]