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

Claude & Codex Usage Timer

ARSSO

|
1 install
| (0) | Free
Shows Claude Code and Codex subscription usage and reset countdowns in the VS Code status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude & Codex Usage Timer

See your Claude Code and Codex subscription usage and reset countdowns in the VS Code status bar. For example, Claude 5h 11% · 2h 25m means you have used 11% of your five-hour allowance and it resets in 2 hours and 25 minutes.

Claude's five-hour and weekly limits each have an orange indicator when available. The Codex indicator is blue. Hover over an indicator or click it to see details, including model-specific limits, the remaining allowance, and the local reset date and time. Run AI Usage: Refresh Now to fetch usage on demand. Usage refreshes every five minutes by default, and countdowns update between refreshes.

Installation

  1. In VS Code 1.90 or later, search Extensions for arsso.ai-usage-timer and select Install. You can also run code --install-extension arsso.ai-usage-timer. VS Code Marketplace
  2. Sign in to your subscription accounts in Claude Code and Codex CLI. If needed, run claude auth login and codex login in a terminal.

VS Code Settings Sync can install the Marketplace version on your other computers when extension sync is enabled. If you previously installed the local.ai-usage-timer VSIX, uninstall that copy after installing the Marketplace version to avoid duplicate indicators.

The extension finds the CLIs in standard system locations or in the official VS Code extensions. For custom installs, set aiUsageTimer.claudePath and aiUsageTimer.codexPath to absolute executable paths in your user settings.

Set aiUsageTimer.refreshMinutes in your user settings to change the refresh interval. Verified on macOS with Claude Code 2.1.332 and Codex CLI 0.166.0.

To customize the status bar colors, set aiUsageTimer.claudeForeground and aiUsageTimer.codexForeground inside workbench.colorCustomizations.

Data sources

The extension reads Claude Code usage with the local /usage command and disables model turns and tools. Changes to the command output across CLI versions can affect the usage or reset times the extension can read. Codex usage comes from the account/rateLimits/read App Server method. Both use your existing CLI sessions. Claude Code commands · Codex App Server

If a refresh fails, the indicator displays the last known usage with a warning. After the reported reset time passes, the indicator waits for an updated value. The extension does not save subscription data, prompts, or credentials.

Development

Run npm test for the automated tests. Press F5 to open the AI Usage Timer extension development window. Run npm run package to build the VSIX.

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