Skip to content

cursor-ai-usage-spending-limit-manager

JavaScript

Manage Cursor AI spending limits.

A browser console script to manage spending limits and toggle usage-based pricing for Cursor AI. Developed as a workaround when the frontend UI prevented updating spending limits after hitting a hard cap.

cursor browser utility

[features]

Spending Limits

Set and manage spending limits

Usage Toggle

Toggle usage-based pricing

Token Auth

Secure session token authentication

Browser Console

No installation required

[install]

# 1. Open browser console (F12)
# 2. Copy and paste the script
# 3. Get your token from Cookies:
#    cursor.com -> WorkosCursorSessionToken

[usage]

init('your_token_here');

setLimit(100);           // Set limit to $100
setLimit(100, true);     // Set limit + disable usage-based pricing

getToken();              // Show token instructions

[license]

This project is licensed under the MIT license.

[links]