claude-code - 💡(How to fix) Fix /usage says 'only available for subscription plans' while /cost confirms active subscription [1 comments, 2 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
anthropics/claude-code#48232Fetched 2026-04-15 06:29:28
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1
RAW_BUFFERClick to expand / collapse

Bug Description

/cost and /usage contradict each other regarding subscription status:

  • /cost reports: "You are currently using your subscription to power your Claude Code usage" — correctly recognizing the subscription.
  • /usage reports: "/usage is only available for subscription plans." — implying no subscription is detected.

Steps to Reproduce

  1. Run /cost — confirms subscription is active
  2. Run /usage — claims the feature is only available for subscription plans

Expected Behavior

/usage should recognize the subscription and display usage information, consistent with /cost.

Actual Behavior

/usage fails to detect the subscription that /cost correctly identifies, and blocks access to usage data.

Screenshot

<img width="337" height="75" alt="Image" src="https://github.com/user-attachments/assets/3098dd13-ff35-452d-82db-3f4c440d5b66" /> <img width="686" height="292" alt="Image" src="https://github.com/user-attachments/assets/dd63eee9-dc3b-4fee-8603-b0b9496734a3" />

Environment

  • Platform: macOS (Darwin 25.3.0)
  • Claude Code: CLI
  • Model: Claude Opus 4.6

extent analysis

TL;DR

The inconsistency between /cost and /usage endpoints regarding subscription status may be due to a discrepancy in how each endpoint checks for subscription plans, suggesting a potential fix involves aligning these checks.

Guidance

  • Review Subscription Detection Logic: Compare the code or logic used by /cost and /usage to detect subscription status to identify any discrepancies.
  • Verify API Documentation: Check the API documentation for /cost and /usage to ensure that the expected behavior for subscription detection is correctly outlined and consistent across both endpoints.
  • Test with Different Subscriptions: If possible, test the behavior with different types of subscriptions to see if the issue is specific to certain plans or a general problem.
  • Check for Updates: Ensure that the Claude Code CLI and the model (Claude Opus 4.6) are up to date, as updates might address known issues related to subscription detection.

Example

No specific code example can be provided without access to the actual implementation of /cost and /usage endpoints. However, a hypothetical alignment of subscription checks might involve ensuring both endpoints query the same database or API for subscription status.

Notes

The provided screenshots and environment details (macOS, Claude Code CLI, Claude Opus 4.6) are noted but do not directly inform a specific technical fix without more context on how these elements interact with the subscription detection logic.

Recommendation

Apply a workaround by temporarily using the /cost endpoint as a reference for subscription status while investigating and aligning the logic for /usage, as it correctly identifies the subscription.

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

claude-code - 💡(How to fix) Fix /usage says 'only available for subscription plans' while /cost confirms active subscription [1 comments, 2 participants]