Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Codex Claude UsageNew to Visual Studio Code? Get it now.
Codex Claude Usage

Codex Claude Usage

ypdev

|
115 installs
| (0) | Free
Monitor Codex and Claude Code usage with separate traffic-light indicators and reset details in the status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex Claude Usage

Monitors Codex and Claude Code usage with separate traffic-light indicators in the VS Code status bar. Hover either service for detailed bars and reset times.

🤖 Codex 🟢 5h 12% · 🟢 Weekly 54% | ✦ Claude 🟢 5h 31% · 🟡 Weekly 82% · 🔴 Fable 96%
  • 5h — 5-hour session window, Weekly — weekly window
  • A model name (e.g. Fable) — weekly window that applies to that model only; shown when the API reports one
  • Signals: 🟢 below 80%, 🟡 80–94%, 🔴 95% or higher
  • Hover for per-window details and reset times, click to refresh
  • Codex and Claude use separate status bar items
  • Detailed bars remain available in the hover tooltip; status bar backgrounds are not changed

How it works

  • Codex: reads the token from ~/.codex/auth.json and queries chatgpt.com/backend-api/wham/usage
  • Claude: reads the OAuth token from ~/.claude/.credentials.json and queries api.anthropic.com/api/oauth/usage
  • Tokens are sent only to those two official hosts, never stored or logged
  • Both APIs are unofficial and may stop working if the services change
  • ⚠ means the token expired — run the CLI once and it refreshes automatically

Settings

Setting Default Description
claudeCodexUsage.refreshIntervalSeconds 300 Polling interval in seconds (min 30)
claudeCodexUsage.showCodex true Show Codex usage
claudeCodexUsage.showClaude true Show Claude usage
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft