I made a dashboard to track actual costs after Sept 15 pricing…

Well… I realized without checking that this was the plan. The problem is that the MAX in your dashboard overrides the terminology of the Cursor MAX.


Only GPT-5 Pro must be with MAX in my case

You are right… I am thinking how it is determined, I found it

        },
        {
            "timestamp": "1760921734850",
            "model": "code-supernova-1-million",
            "kind": "USAGE_EVENT_KIND_USAGE_BASED",
            "maxMode": true,
            "usageBasedCosts": "$0.00",
            "isTokenBasedCall": true,
            "tokenUsage": {
                "inputTokens": 12,
                "outputTokens": 38,
                "cacheReadTokens": 13630
            },
            "owningUser": "0",
            "owningTeam": "0",
            "cursorTokenFee": 0
        },
        {
            "timestamp": "1760921722374",
            "model": "code-supernova-1-million",
            "kind": "USAGE_EVENT_KIND_INCLUDED_IN_BUSINESS",
            "usageBasedCosts": "-",
            "isTokenBasedCall": false,
            "tokenUsage": {
                "inputTokens": 3438,
                "outputTokens": 76,
                "cacheReadTokens": 24214
            },
            "owningUser": "0",
            "owningTeam": "0",
            "cursorTokenFee": 0
        },

Simply "maxMode": true, does this line up with yours?

I have max mode on permanently on if that helps

I’ve made several changes, including your suggestions. Try to see if your problem has been resolved, thank you for the feedback!


I think it’s perfect I think

That’s really close! I wonder what caused the Real API Cost to be lower, it should normally always be higher than everything else.

If you’d like to help, I added an export button at the top right (anonymized). It will give you a file you can upload here (you have to rename it to .txt), I’ll analyze why the Real API Cost is different…

And here’s my all time usage if curious

Great progress. Lots of charts. Some of them interesting.
For my account, it now pulls the data corrrectly.

Would you be making it open source, so that others can contribute and refine ?

Looks nice, but I would prefer if it would be open source and I can run it my self, before I enter any API tokens.

I saw Obscurity and Concealment - Discussions - Cursor - Community Forum and about the issue with bonus pricing no longer be there… I realized we can still access it, and now I’ve added it! We can now access the included usage and the bonus credits.

This is functionally equivalent but you can now

  • View previous billing cycles for included usage, not just the on-demand usage.
  • Show the bonus credits, technically calculable, but people really liked this feature.
  • Multi-Currency support!!

This will be released soon. And for the concerns about security, you can upload your own account’s json file as an alternative for now, but I understand the concerns. I am preparing in making it open source soon.

The curl required is as follows:

Business/Teams Account

curl -X POST 'https://api.cursor.com/teams/filtered-usage-events' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Basic YOUR_API_KEY' \
  -d '{
    "pageSize": 10000,
    "startDate": 0,
    "page": 1
  }' \
  -o cursor-usage.json

Pro/Ultra/Plus Account

curl -X POST 'https://cursor.com/api/dashboard/get-filtered-usage-events' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: WorkosCursorSessionToken=YOUR_SESSION_TOKEN' \
  -H 'Origin: https://cursor.com' \
  -d '{
    "pageSize": 10000,
    "startDate": 0,
    "page": 1
  }' \
  -o cursor-usage.json

Response structure:

{
  "totalUsageEventsCount": 12345,
  "usageEventsDisplay": [
    {
      "timestamp": "1704067200000",
      "model": "claude-4.5-sonnet",
      "tokenUsage": {
        "inputTokens": 100,
        "outputTokens": 50,
        "totalCents": 1.23
      }
      // ... more fields
    }
  ]
}

Then click “Import JSON” in the dashboard and select usage.json.

If possible, I am trying to see if we could use OAuth in order to make it more secure rather than using sessions. The API key is pretty good but it’s only for teams/business users.

my subscription is pro with 20$ what is the monthly budget for it ? is it 20$

You get $20 worth of API usage on Pro plan, with a variable ‘bonus’. You’d see it under the ‘billing section’ what the bonus amount is.

does it mean i still not over usage and can continue use it without additional costs

Yes, to confirm just visit billing Cursor - The AI Code Editor and see how much “Included Usage” have you spent there, does it line up?

1 Like

Dashboard should remember the Date Range selected by the user between sessions.

Looks awesome!

Can you please add some info for newbies:

  1. Where can I take the session data cookie from easily..?
  2. Is the same info store in a local JSON as implied in “import json”? Where do I find this json on a Windows machine?
    Thanks!

Is there data confidentiality within the board? I’m interested in whether I can use your board for a few dozen accounts anchored in a business subscription

  • The session data cookie is just in your application data under dev tools. There’s instructions when adding an account on how to do it
  • There is also instructions in the dashboard on how to get the json data yourself manually. Or scroll up to find the curl command in order to get it!

For business accounts, API keys are far safer than cookie sessions, since they use a dedicated API key that is read-only. So for your question, yes, it is better in terms of security.

Can the board be shared with multiple external stakeholders?
I have multiple teams from multiple vendors: can I see statistics for each separately?