Skip to content

Conversation

@robinebers
Copy link

@robinebers robinebers commented Jan 24, 2026

Ultra-minimal fix for long-standing bug (it never worked).

More focused than #225 so hopefully is easier to merge. I tested this myself locally, it's a precision change.

Before

cursor-before

After

cursor-after

Summary

  • Fixes Cursor usage always showing 100% used (0% left) regardless of actual usage
  • breakdown.total represents total used credits, not the plan limit

Test plan

  • Verified locally with Cursor Ultra account showing correct ~48% left

🤖 Generated with Claude Code
^ sorry @steipete 😂

…ulation

breakdown.total represents the total *used* credits (included + bonus),
not the plan limit. This caused usage to always show 100% (0% left).

API response structure:
  plan.used: 20925 (credits consumed)
  plan.limit: 40000 (actual plan allowance)
  breakdown.total: 20925 (total USED, not the limit)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robinebers robinebers changed the title fix(cursor): use plan.limit instead of breakdown.total for usage calculation Fix Cursor subscription/plan bug (minimal, JSON fix) Jan 24, 2026
@Zerquix18
Copy link

+1 here, having this issue too. Codex pointed to this solution, so I came to check if anyone else had bothered opening a PR.

@shunkakinoki
Copy link

+1 here 🙇‍♂️

@eduhdev12
Copy link

+1, for me it's showing 0% all the time after last update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants