VS Code Extensions
Windsurf Quota -- Real-Time AI Usage Tracker

Windsurf Quota -- Real-Time AI Usage Tracker

by CodeCraftsmaniac

Track Windsurf AI quotas in real-time — daily, weekly, Cascade messages, flow actions, and overage balance. Zero login. Zero config. Click for full details.

Downloads

343

Rating

5.0 / 5 (1)

Version

2.0.0

Last updated

Apr 18, 2026

icon.png

Real-Time AI Usage Tracker

Zero login. Zero config. Zero delay.
Track your Windsurf AI quotas the moment they change

Marketplace GitHub License

Updates-Real__Time-2ea043?style=for-the-badge&logo=lightning&logoColor=white Auth-Zero__Login-58a6ff?style=for-the-badge Setup-Zero__Config-a371f7?style=for-the-badge Platform-Win%20%7C%20Mac%20%7C%20Linux-8b949e?style=for-the-badge

Daily-Quota-f85149?style=flat-square Weekly-Quota-d29922?style=flat-square Cascade-Messages-58a6ff?style=flat-square Flow-Actions-a371f7?style=flat-square Overage-Balance-2ea043?style=flat-square

Stars Forks Issues

rainbow.png

Activity

Commit Activity Releases Last Commit

rainbow.png

Preview

Status Bar Widget Hover Tooltip
Widget Tooltip
rainbow.png

Features

-Real__Time-2ea043?style=flat-square Instant updates via fs.watch() -- fires the moment the DB changes
-Zero__Login-58a6ff?style=flat-square No API calls, no browser automation, no Selenium, no .env files
-Zero__Config-a371f7?style=flat-square Auto-detects Windsurf's state.vscdb on Windows, macOS, and Linux
-Color__Coded-f85149?style=flat-square Green / Yellow / Red progress bars based on remaining quota
-Cascade-d29922?style=flat-square Messages, Flow Actions, Flex Credits tracked with block bars
-Overage-58a6ff?style=flat-square Pay-per-use balance shown in status bar and tooltip
rainbow.png

Quota Breakdown

Metric Status Bar Tooltip Format
Plan Name -YES-2ea043?style=flat-square -YES-2ea043?style=flat-square Free / Pro / Ultimate / Team
Daily Quota -YES-2ea043?style=flat-square -YES-2ea043?style=flat-square [██████████░░░░░░░░░░] + % + timer
Weekly Quota -YES-2ea043?style=flat-square -YES-2ea043?style=flat-square [██████████░░░░░░░░░░] + % + timer
Cascade Messages -YES-2ea043?style=flat-square used / total + bar
Flow Actions -YES-2ea043?style=flat-square used / total + bar
Flex Credits -YES-2ea043?style=flat-square used / total + bar
Overage Balance -YES-2ea043?style=flat-square -YES-2ea043?style=flat-square $XX.XX remaining + bar
Billing Strategy -YES-2ea043?style=flat-square quota / overage
Account Email -YES-2ea043?style=flat-square auto from DB
rainbow.png

Color Coding

Range Status Bar Color
>= 50% remaining Safe-2ea043?style=flat-square ██████████
20-49% remaining Low-d29922?style=flat-square ██████████
< 20% remaining Critical-f85149?style=flat-square ██████████
rainbow.png

Installation

Search "Windsurf Quota" in the Extensions panel, then click Install.

code --install-extension CodeCraftsmaniac.windsurf-quota

Option 2: VSIX

Download the latest release and run:

code --install-extension windsurf-quota-2.0.0.vsix

Option 3: Manual

  1. Clone or download from GitHub
  2. Copy to your extensions directory:
# Windows
xcopy /E . "%USERPROFILE%\.windsurf\extensions\codecraftsmaniac.windsurf-quota-2.0.0-universal\"

# macOS / Linux
cp -r . ~/.windsurf/extensions/codecraftsmaniac.windsurf-quota-2.0.0-universal/
  1. Restart Windsurf IDE -- the widget appears in the status bar!
rainbow.png

Commands & Settings

Command Description
Windsurf Quota: Show Details Opens the detail panel with full breakdown
Windsurf Quota: Refresh Now Force-refresh quota data from DB
Setting Default Description
windsurfQuota.refreshIntervalSeconds 15 Fallback polling interval (seconds)
windsurfQuota.stateDbPath auto Path to state.vscdb (auto-detected if empty)
rainbow.png

Architecture

State DB
Windsurf IDE                          Extension
-----------                          ---------
state.vscdb  ──── fs.watch() ────>  Real-time update
  |                                    |
  ├── cachedPlanInfo ─────────────>  Daily/Weekly/Cascade/Overage
  └── codeium.windsurf ───────────>  Email/Billing/Plan
  • Data source: windsurf.settings.cachedPlanInfo + codeium.windsurf keys
  • Real-time: fs.watch() on the DB file -- fires instantly on change
  • Fallback: mtime polling every 2s + interval poll every 15s
  • Python required: Uses Python to read SQLite (auto-detected)
rainbow.png

Contributing

1-Fork-181717?style=flat-square&logo=github 2-Branch-58a6ff?style=flat-square&logo=git 3-Commit-2ea043?style=flat-square&logo=git 4-Push-d29922?style=flat-square&logo=git 5-PR-a371f7?style=flat-square&logo=github

rainbow.png

License-MIT-yellow?style=for-the-badge
MIT (c) CodeCraftsmaniac

Star

Related extensions