Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Codex Quota StatusNew to Visual Studio Code? Get it now.
Codex Quota Status

Codex Quota Status

Codex_Quota_load

|
9 installs
| (0) | Free
Show remaining Codex quota percent in the status bar from local session logs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex Quota Status

This extension reads local Codex session logs and shows remaining quota percent in the VS Code status bar. It also shows time left until reset in the status bar by default.

Display formula:

  • remaining percent = 100 - primary.used_percent

Data source:

  • %USERPROFILE%\\.codex\\sessions\\**\\*.jsonl
  • latest event_msg with payload.type = token_count

Commands:

  • Codex Quota: Refresh

Settings:

  • codexQuota.refreshIntervalSeconds
  • codexQuota.warnThresholdPercent
  • codexQuota.criticalThresholdPercent
  • codexQuota.showResetCountdownInStatusBar

Packaging / Publishing

  • Build VSIX: npm run vsix
  • Publish Marketplace: npm run publish:marketplace
  • Full steps: PUBLISHING.md
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft