Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude + Codex CostNew to Visual Studio Code? Get it now.
Claude + Codex Cost

Claude + Codex Cost

Lovis Odin

| (0) | Free
See what Claude Code and Codex cost you since the 1st of the month, right in the status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude + Codex Cost

See what Claude Code and Codex cost you since the 1st of the month, right in the VS Code status bar.

Preview

  • One status bar item: Claude $278 · Codex $822
  • Hover for the breakdown (cost, token volume, total). Click to refresh.
  • Refreshes every 5 minutes and resets on the 1st of each month.
  • Nothing to configure, no account, no API key. It reads the logs Claude Code (~/.claude) and Codex (~/.codex) already write on your machine.
  • English or French, following VS Code's language.

Install

Download claude-codex-cost.vsix from the latest release, then:

code --install-extension claude-codex-cost.vsix

Or in VS Code: Extensions view → … → Install from VSIX…. Then run Developer: Reload Window.

Works on macOS, Linux and Windows (x64 and arm64).

How the numbers are computed

The extension bundles ccusage (MIT), which totals your token usage from the local logs and prices it at public API rates. So:

  • It's an estimate at API prices, not your bill. On a Claude or ChatGPT subscription, it shows what the same usage would cost pay-as-you-go.
  • It counts this machine only.

License

MIT. Bundles ccusage binaries (MIT, © ryoppippi).

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