Skip to content

Cursor Extra Usage is inaccurate for Business plans #2903

Description

@cszmzh

Cursor Extra Usage is inaccurate for Business plans — usage-summary.used excludes Cursor Token Fee

Problem

The Cursor Extra Usage displayed in CodexBar is inaccurate for Cursor Business plans.

The issue comes from this Cursor API:

https://cursor.com/api/usage-summary

The limit returned by this endpoint is correct, but used does not include charges from Cursor Token Fee.

As a result, requests that incur Cursor Token Fee are not reflected in Extra Usage, causing CodexBar to report a lower usage amount and percentage than the actual amount charged by Cursor.

Comparison with another Cursor API

Cursor also provides:

https://cursor.com/api/dashboard/get-team-spend

The spendCents returned by this endpoint includes Cursor Token Fee and matches the actual Extra Usage charges.

However, the response from this endpoint is quite large, so it may not be ideal if the only goal is to retrieve Extra Usage.

A more accurate approach

Another solution is to calculate Extra Usage by aggregating the current month's Usage Events / usage history.

Cursor's usage history indicates whether each request is included in the Business plan:

  • USAGE_EVENT_KIND_INCLUDED_IN_BUSINESS: included in the Business plan and should not count toward Extra Usage
  • Other billable Usage Events: count toward Extra Usage

By aggregating the actual costs of all billable events for the current month, the resulting Extra Usage matches the actual charges shown on the Cursor Dashboard.

Reproduction

After using a model that incurs Cursor Token Fee:

  1. Cursor charges the request as Extra Usage.
  2. spendCents from get-team-spend increases accordingly.
  3. The corresponding billable entry is present in Usage Events.
  4. used returned by usage-summary does not include the Cursor Token Fee.
  5. CodexBar therefore displays an incorrect Extra Usage amount and percentage.

The usage-summary.used field does not represent the complete Extra Usage billing amount for Cursor Business plans.

I suggest using either get-team-spend.spendCents or aggregating the current month's Usage Events to calculate Cursor Extra Usage.

CodexBar:

Image

Actually accurate:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions