Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Claude Code Usage & Codex Usage MonitorNew to Visual Studio Code? Get it now.
Claude Code Usage & Codex Usage Monitor

Claude Code Usage & Codex Usage Monitor

Elvin Ju

|
1,808 installs
| (1) | Free
Claude usage & Codex usage monitor in your status bar. Track Claude Code and OpenAI Codex CLI rate limits: 5-hour and weekly quotas, reset times, and alerts. Works in VS Code, Cursor, Windsurf, and VSCodium.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Code Usage & Codex Usage Monitor

VS Marketplace Installs Rating Open VSX

Claude usage & Codex usage monitor for your status bar — track Claude Code and OpenAI Codex CLI rate limits side by side in VS Code, Cursor, Windsurf, and VSCodium, with 5-hour and weekly quotas, reset times, and alerts.

VS Code Marketplace · Open VSX for Cursor and VSCodium · Windsurf Marketplace · Leave an honest review

Claude and Codex usage in the VS Code status bar

Hover any item for a full breakdown:

Claude Code usage details

Codex CLI usage details

Install

  • VS Code: install from the VS Code Marketplace
  • Cursor and VSCodium: install from Open VSX
  • Windsurf: install from the Windsurf Marketplace after the Open VSX listing is synchronized
  • Manual installation: download the VSIX from GitHub Releases

What you see

  • Claude: ✳ 5h 7% used (3h 12m) — 5-hour window usage + time until its reset
  • Codex: ⬡ 7d 12% used (6d 1h) — weekly window used quota + time until reset
  • Full mode: 5h 7% used (3h 12m) · 7d 41% used (2d 5h) — each usage window + its reset time
  • The history icon marks a Codex session log reading.
  • Hover for details: 5-hour / weekly / per-model usage bars, reset times, and plan
  • Background turns orange at 80% usage and red at 95% (thresholds configurable)
  • Click for a quick menu: toggle Claude/Codex on or off, open settings, or refresh

Data sources

Tool Source How
Claude Code OAuth token from ~/.claude/.credentials.json or the macOS Keychain Queries an Anthropic-hosted, undocumented usage endpoint (every 60s while the window is focused, configurable)
Codex CLI Codex app-server; session logs as fallback Reads account/rateLimits/read; falls back to the latest local rate_limits event

Tokens and usage data stay on your machine. The extension has no telemetry or owned server; Claude usage requests go only to the Anthropic-hosted endpoint, and Codex authentication remains inside the local Codex app-server.

If the extension helps your workflow, an honest Marketplace review is welcome. Reviews are never rewarded or incentivized.

Settings

Setting Default Description
claudeCodexUsage.refreshIntervalSeconds 60 Refresh interval in seconds
claudeCodexUsage.displayMode compact compact: 5-hour usage only / full: all windows
claudeCodexUsage.warningThreshold 80 Orange warning background threshold (%)
claudeCodexUsage.errorThreshold 95 Red error background threshold (%)
claudeCodexUsage.claude.enabled true Show Claude usage
claudeCodexUsage.codex.enabled true Show Codex usage
claudeCodexUsage.claude.credentialsPath "" Override Claude credentials file path
claudeCodexUsage.codex.sessionsPath "" Read the specified logs instead of the live account

Requirements

  • Logged in to Claude Code (run claude, then /login)
  • Signed in to Codex. The extension can use the installed Codex executable or the executable bundled with the official Codex extension. The default fallback log path follows CODEX_HOME when set.

Known limitations

  • If the Claude token has expired, running Claude Code once renews it automatically.
  • The Anthropic-hosted usage endpoint is undocumented and may change without notice.
  • Codex usage uses live app-server data when available. The fallback source updates only when Codex writes session logs and is labeled in the tooltip. Expired log windows disappear until a new reading is available. The tooltip shows the event time for a log reading. Logs do not identify the account that generated the reading.
  • A status bar item is hidden when the tool cannot be detected. Codex can show live usage before it writes any session logs.
  • Refresh pauses while the window is unfocused and resumes (with an immediate refresh) on focus.

Localization

English by default; Korean (한국어) and Chinese (简体中文 / 繁體中文) UI when the VS Code display language matches.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft