3-5 min setup

Connect Cursor to StackSpend

Track Cursor AI costs including token usage and fees. Monitor team member usage and spending in real-time.

StackSpend tracks Cursor costs via the Admin API. Get per-user cost breakdown, daily spend visibility, and anomaly alerts. Requires Enterprise plan and team admin access. Historical data typically 6-7 days.

Enterprise Plan Required

The Cursor Admin API is only available for Enterprise plan customers. You also need team admin access to generate API keys.

Prerequisites

  • Cursor Enterprise plan subscription
  • Team admin access in Cursor
  • Access to Cursor team settings
Step 1

Generate Admin API Key

Create an Admin API key in your Cursor team settings. This key provides access to usage and billing data.

  1. 1Open Cursor and go to SettingsTeam (or Team Settings)
  2. 2Navigate to Admin API section (or API Keys)
  3. 3Click Generate API Key or Create Key
  4. 4Optionally name the key (e.g., "StackSpend Cost Tracking")
  5. 5Important: Copy the API key immediately. You won't be able to see it again after closing the dialog.
Step 2

Connect in StackSpend

  1. 1Go to SettingsProviders in your StackSpend dashboard
  2. 2Click Add Provider → Select Cursor
  3. 3Paste your Admin API key
  4. 4Click Test Connection to verify
  5. 5Once the test succeeds, click Connect

After Connecting

Once Cursor is connected, StackSpend begins syncing usage data. Note that Cursor Admin API has limited historical data retention (typically 6-7 days).

  • Costs sync automatically every 6 hours
  • User-level cost tracking (by team member email)
  • Token usage and fee tracking
  • Historical data limited to 6-7 days (API retention policy)

Important Notes

  • Historical data: Cursor Admin API typically retains only 6-7 days of historical usage data
  • Enterprise only: Admin API access requires an Enterprise plan subscription
  • Team admin: You must be a team admin to generate API keys

Know where your cloud and AI spend stands — every day, starting today.

Sign up
Connect Cursor to StackSpend — Step-by-Step Guide