Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
There is a backend data-binding and math calculation conflict within the get-current-period-usage API response.
The frontend dashboard progress bars read from the totalPercentUsed variable, which is broken and frozen at a very low number (~3.7%).
However, actual usage (totalSpend) is at 1,288 out of a 2,000 limit (~64.4%).
The backend successfully generates the correct text string (displayMessage: “You’ve used 64% of your included usage”), but the numerical percentage variables remain broken, causing the visual progress bars in both the web dashboard and the IDE to freeze and fail to track token depletion.
Steps to Reproduce
- Open the Cursor Web Dashboard or check usage inside the IDE settings.
- Observe that the split usage percentages are frozen and do not increase despite heavy AI usage.
- Open browser DevTools (F12) on the dashboard page and navigate to the Network tab.
- Filter by usage and look at the response payload for get-current-period-usage.
- Compare the value of “totalPercentUsed” (broken) against the calculated percentage of “totalSpend” divided by “limit” (correct).
Example get-current-period-usage response:
“planUsage”: {
“totalSpend”: 1288,
“includedSpend”: 1288,
“remaining”: 712,
“limit”: 2000,
“remainingBonus”: false,
“bonusTooltip”: “We work with model providers to give you free usage beyond what you’ve purchased. Amounts may vary.”,
“autoPercentUsed”: 3.8966666666666665,
“apiPercentUsed”: 2.6444444444444444,
“totalPercentUsed”: 3.733333333333334
},
“spendLimitUsage”: {
“limitType”: “user”
},
“displayThreshold”: 200,
“enabled”: true,
“displayMessage”: “You’ve used 64% of your included usage”,
“autoModelSelectedDisplayMessage”: “You’ve used 4% of your included total usage”,
“namedModelSelectedDisplayMessage”: “You’ve used 3% of your included API usage”
Expected Behavior
The numerical percentage variables (totalPercentUsed, autoPercentUsed, apiPercentUsed) should accurately calculate the mathematical quotient of spend vs. limits (e.g., 1288 / 2000 = 64.4%). The frontend progress bars in both the IDE and the web UI should update in real-time to match this true consumption data.
Operating System
MacOS
Version Information
Version: 3.15.19 (Universal)
VS Code Extension API: 1.128.0
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
Date: 2026-08-11T05:22:54.627Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue

