Skip to main content
Vantage uses a Cursor team API key to ingest cost and usage data through the Cursor Admin API. Vantage recommends a fine-grained team API key with only the View team resources permission. This API provides structured cost data broken down by model (e.g., GPT 5.1 Codex, Claude 4.5 Opus High Thinking) and token type (e.g., input tokens, output tokens, cache read tokens, cache write tokens), as well as requests to the Cloud Agent. Usage data is available for Cursor, measured in tokens or requests based on the usage type.

Use Vantage inside Cursor

Vantage is also available as the official plugin in the Cursor Marketplace. Powered by the Vantage MCP, it lets you query cloud costs and act on Vantage workflows without leaving the editor.

Cursor Permissions

Vantage cannot perform cost-incurring actions. Vantage only reads usage events from the Admin API’s usage events endpoint and will never perform any other actions. Vantage stores only usage metadata (e.g., token consumption). No user content (prompts or responses) is ingested.
For least-privilege access, create a fine-grained team API key with only the View team resources permission, under General. Cursor’s usage events endpoint requires this read access. The View member usage permission, under Usage and spend, is not sufficient on its own and is not required.In the Cursor dashboard, keys created before fine-grained keys were available are listed under Legacy API Keys. Integrations that use a legacy Admin key continue to work, but these keys have full access to the Admin API. Vantage recommends replacing a legacy key with a fine-grained key.Vantage requires a team API key. User API keys and Organization API keys, including Organization API keys with the usage:* scope, do not work with this integration.

Connect Your Cursor Account

Prerequisites

  • A Cursor Teams or Enterprise plan is required. The Admin API is not available on individual plans.
  • You need to be a Team Administrator to create a team API key in the Cursor dashboard. A team key is required, not a user or organization key. It’s best practice to use a dedicated key for Vantage and rotate it per your security policy.
  • You must have a Vantage Organization Owner or Integration Owner role to add or remove this integration. See the Role-Based Access Control documentation for details.
  • Create a free Vantage account, then follow the steps below to integrate Cursor costs.
If your organization restricts access to the provider by IP address, add the following Vantage IP addresses to your provider’s allowlist:
  • 54.87.66.45
  • 3.95.43.133
  • 54.162.3.72
  • 44.199.143.63
  • 3.218.103.23

Create the Connection

1
Navigate to your Cursor dashboard.
2
In the left menu, click API Keys.
3
In the API Keys section, select Team.
4
Under Fine-grained API Keys, click New API Key and enter a key name, like vantage.
5
Open the permissions list and clear the permissions that are selected by default, such as General, Agents, and Models. Then, expand General and select only View team resources.
6
Click Create key.
7
Copy the generated API key. Cursor displays the key only once.
8
From the top navigation in Vantage, click Settings.
9
On the left navigation, select Integrations > Cursor.
10
The Cursor integrations page is displayed. Ensure you are on the Connect tab.
11
At the bottom of the page, click Add API Key and paste your previously generated API key.
12
For Account Name, enter a name that will be used to differentiate this Cursor account from others you may add. This name will be displayed in Cost Report filters.
13
Click Connect Account.
After clicking Connect Account, you will see the status of your integration change to Importing within the Vantage console. This status indicates that Vantage is actively importing your Cursor cost data. The integration will fetch historical data up to your account’s configured retention period. See the Integration Status documentation for details on integration statuses.
As soon as costs are processed, they will be available on your All Resources Cost Report. If you decide to remove your Cursor integration from Vantage, all costs associated with your Cursor API key will be removed from the Vantage console.

Next Steps - Manage Workspace Access

Once the import is complete and the integration status changes to Stable, you can select which workspaces this integration is associated with. See the Workspaces documentation for information.

Update the API Key

If your Cursor API key is rotated or revoked, or you want to replace a legacy Admin key with a fine-grained key, you can update the key on the existing integration. The account name, imported costs, and workspace assignments stay the same.
1
Create a new fine-grained API key in the same Cursor team. Follow the key creation steps in Create the Connection, and select only the View team resources permission.
2
From the top navigation in Vantage, click Settings.
3
On the left navigation, select Integrations > Cursor. On the Manage tab, open the integration.
4
On the Manage Connection page, scroll to Update API Key. Paste the new key into API Key, then click Update API Key.
Vantage checks the new key against the Cursor usage events endpoint before saving it. If Cursor rejects the key, it is not saved and Vantage displays “Authorization error: please check the permissions of your API key.” After the key is saved, Vantage re-imports recent months, going back to the oldest month that has not loaded, so months that failed on the old key are filled in. Once that import completes, you can revoke the old API key in the Cursor dashboard.

Use Case: Track Token Usage and Allocate Cursor Costs by Team

If your organization uses Cursor across multiple teams, you can use Virtual Tags in Vantage to allocate Cursor token usage and costs by team, user, or project. You can start by analyzing Cursor costs at the user level by grouping by Resource (which represents user emails) to see individual usage patterns. This allows you to identify which users are consuming the most tokens and understand their usage across different models.
Cursor Cost Report grouped by user

Cursor Cost Report grouped by user email (Resource) showing individual token consumption

Once you’ve identified user-level patterns, you can take your analysis further by creating Virtual Tags to group users by team, department, or project. For example, you may want to track token consumption for the Engineering team to understand their usage patterns across different models. By creating a Virtual Tag with the key Team and the value Engineering, you can apply a filter to group together Cursor costs filtered by user emails (Resource) associated with engineering team members. You can then analyze token usage by model type (e.g., GPT 5.1 Codex vs. Claude 4.5 Opus High Thinking) and token category (input, output, cache read, cache write) to identify optimization opportunities.

Data Refresh

See the provider data refresh documentation for information on when data for each provider refreshes in Vantage.

Comparing Cursor Invoices to Vantage

When reconciling Cursor costs between your Cursor invoice and Vantage, you may notice differences in the total amounts shown. This is expected and can be explained by understanding how Cursor and Vantage categorize usage.

Understanding Subcategory Filtering

Cursor’s invoices typically show On-Demand Usage, which represents billable consumption that you are charged for. In Vantage, this aligns most closely with the Usage-based subcategory filter. To compare your Cursor invoice to Vantage:
  1. Navigate to your Cursor Cost Report in Vantage.
  2. Apply a filter for Subcategory = Usage-based.
  3. Compare this filtered total to the On-Demand Usage amount on your Cursor invoice.
By default, Vantage shows all usage, including non-billed subcategories. Filtering to Usage-based will give you the closest match to your Cursor invoice.

Why Vantage May Show Higher Totals

Without applying the Usage-based filter, Vantage will display higher totals than your Cursor invoice. This occurs because Vantage ingests and displays all usage categories, including:
  • Usage-based: Billable, on-demand consumption (matches Cursor invoice)
  • Included in Business: Usage included in your Cursor plan subscription
  • Other non-billed usage types
This comprehensive view allows you to understand your total consumption patterns, not just what you’re being billed for. For invoice reconciliation purposes, focus on the Usage-based subcategory.

Accounting for Timing Differences

Even after filtering to Usage-based, you may notice small remaining differences between Vantage and your Cursor invoice. These discrepancies are typically due to refresh timing around billing period boundaries:
  • Cursor generates invoices based on their billing cycle and cut-off times.
  • Vantage refreshes Cursor cost data once daily from the Admin API.
  • Data refreshed near the boundary of a billing period may result in minor timing differences.
These timing-related differences are usually small (typically less than 1% of total costs) and will resolve as data continues to sync.

Cursor Reporting Dimensions

On Cursor Cost Reports, you can filter and group across several dimensions:
  • Team (the name you assign to the integration when created in Vantage; use Account for Group By)
  • Service (e.g., GPT 5.1 Codex, Claude 4.5 Opus High Thinking)
  • Category (e.g., requests, tokens)
  • Subcategory (e.g., Usage-based, Included in Business)
  • Resource (user email)
  • Charge Type:
    • Usage: Model usage at list price.
    • Fee: The Cursor Token Rate, for teams billed a token rate.
    • Discount: Pricing discounts, including enterprise discounts on included usage.
    • Credit: Usage covered by your plan’s included usage.
  • Tags: Includes Virtual Tags created in Vantage for this provider. The following provider tags are automatically created by Vantage from Cursor data and are available for filtering and grouping:
    • cursor:max_mode: Indicates whether the option to use maximum context windows for all models is enabled, allowing you to filter and group costs by max mode usage.
    • cursor:user: The Cursor user email when present in the source data, allowing you to filter and group costs by user email.
    • cursor:cloud_agent_id: The Cloud Agent run ID when the request is attributed to a Cloud Agent.
    • cursor:automation_id: The automation ID when the request is attributed to an automation.
    • cursor:conversation_id: The agent conversation ID when the request is attributed to an agent session.
    • cursor:pr: The pull request number when the request is attributed to pull request work.
    • cursor:repo: The repository name when the request is attributed to pull request work.
    • cursor:pr_author: The pull request author when the request is attributed to pull request work.
    • cursor:service_account: The service account name (or ID, if no name is available) when the request comes from a service account.
    • cursor:headless: Indicates whether Cursor reported the request as headless (true or false).
    • cursor:charge_status: How Cursor charged the request: billed (usage-based), included (covered by your plan’s included usage), free (e.g., free Bugbot runs), errored_not_charged (errored requests Cursor didn’t charge for), or aborted.
Vantage also applies Managed AI Tags to Cursor costs. This is a normalized vntg:ai: schema shared across all AI providers, so you can analyze AI spend with consistent dimensions. For Cursor, the following keys are emitted: vntg:ai:model, vntg:ai:raw_model, vntg:ai:model_provider, and vntg:ai:user_email. See Managed AI Tags for the full schema.