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

|
3 installs
| (0) | Free
Show Codex and Claude Code remaining usage and reset times 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

Shows remaining Codex and Claude Code usage with reset times in the VS Code status bar.

🤖 Codex 5h ▱▱▱▱▱ 1% · wk ▰▰▰▱▱ 54% | ✦ Claude 5h ▰▱▱▱▱ 18% · wk ▰▱▱▱▱ 20%
  • 5h — 5-hour session window, wk — weekly window (5-segment bar + %)
  • Hover for per-window details and reset times, click to refresh
  • Background turns yellow at 80% usage, red at 95%

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