Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AgentMeterNew to Visual Studio Code? Get it now.
AgentMeter

AgentMeter

nightevil

|
21 installs
| (0) | Free
View OpenAI Codex, GitHub Copilot, Claude Code and Cursor quotas in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AgentMeter for Visual Studio Code

This edition supports Codex, Copilot, Claude Code and Cursor. The standalone Windows app's additional providers, tray and floating bar belong to a separate executable, not this extension. See edition comparison and the documentation index. The package uses the shared repository version.

The VS Code extension reads the provider-reported OpenAI Codex 5-hour and weekly quotas from the locally installed Codex CLI app-server. It displays remaining percentages and reset times in the AgentMeter Activity Bar view and an OpenAI Codex status bar item.

It also reads GitHub Copilot quota snapshots and displays consumed quota in the view and status bar. Select Sign in to GitHub in the Copilot section when prompted. The Copilot reader uses VS Code's GitHub authentication and GitHub's internal Copilot quota endpoint because VS Code does not expose Copilot quota to third-party extensions through a public quota API. GitHub may change this endpoint without notice. The extension does not read local prompt history or estimate quota from activity. VS Code's built-in Copilot usage dashboard remains available from the Copilot status-bar item.

Codex CLI must be installed and signed in to read Codex usage. Use AgentMeter: Open Settings to set its executable path or change the refresh interval. This extension displays quota only. To chat with Codex and use it as a coding agent in VS Code, install the separate OpenAI Codex extension.

Usage preview

AgentMeter in VS Code with colored quota bars and status indicators

Illustrated VS Code preview with example balances, not a live account screenshot. OpenAI Codex shows remaining 5-hour and weekly quota; GitHub Copilot shows consumed quota. Subscription plans and reset times appear below the colored bars. Available quotas depend on your account and subscription.

Configuration

AgentMeter settings in VS Code

Illustrated settings preview. Select the providers to display, configure the Codex CLI path and refresh interval, and choose whether to show status indicators. Disabling a provider also pauses its quota reads. Open configuration through the Settings button or AgentMeter: Open Settings.

Build

Run npm install in this directory, then npm run package. The package version is synchronized from the root gradle.properties, and the resulting VSIX is agents-usage-vscode-<version>.vsix.

For repository setup and the combined Rider and VS Code build, see the development guide.

This independent extension is not affiliated with or endorsed by OpenAI. Codex is a trademark of OpenAI.

Claude Code reports session, weekly, Sonnet and Opus subscription quotas when available. Cursor reports consumed included-plan quota. Sign in with the official Claude Code or Cursor agent first. Claude uses .claude/.credentials.json (or absolute CLAUDE_CONFIG_DIR); Cursor uses its official local auth.json. Expired or unsupported sessions show unavailable. Credentials remain in memory only for requests to the owning provider. JetBrains AI requires the JetBrains IDE integration. Local Claude token statistics and Rider games are not included in these editions.

Weekly observations show session-local numeric consumption ranges over the last seven days. They are not a persisted history or a billing total; provider resets may reduce consumption.

All four providers can be switched independently using the Providers checkboxes in Usage or the grouped provider settings. Disabling a provider immediately hides its quota and stops subsequent reads. The Marketplace icon uses the current AgentMeter portal artwork; the Activity Bar uses a monochrome portal.

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