Open files in VS Code and Cursor / Developer files

Claude Code token usage report

/cost shows the current session, and the free ccusage command line tool reports daily usage. If you bill clients per project, Agent Session Viewer in VS Code has the Pro tool Usage and cost report: it adds up the tokens of all sessions, one project or one tool in a date range, estimates the cost per project, model and day at API list prices, and saves a Markdown report and a CSV file. It has 3 free tries, then Zovo Pro is USD 19 once.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)

Free, MIT license. Extension ID zovo.agent-session-viewer, version 0.3.3. Needs VS Code 1.90.0 or newer.

The overview of Claude Code sessions in Agent Session Viewer inside VS Code.
The overview of Claude Code sessions in Agent Session Viewer inside VS Code.

Steps in VS Code

  1. Install Agent Session Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.agent-session-viewer.
  2. Open the Sessions view in VS Code. Reading and searching sessions is free.
  3. Pick the project you want to report on.

Where Zovo Pro saves time

Reading, searching, resuming and exporting one session to Markdown are free. The usage and cost report is the Pro tool.

The CSV has one row per day, project and model, ready for client billing or a spreadsheet. A message copied into a resumed session counts once, and subagents count with the session that started them.

With Usage and cost report (Zovo Pro)

  1. Run Usage and cost report from the Command Palette (type Agent Session).
  2. Choose all sessions, one project or one tool, and a date range.
  3. Save the Markdown report and the CSV file.

Usage and cost report works 3 times on your computer before it asks for a license, and a try counts only when you get a result. Opening a file shows no popup and no countdown.

Pay by card, USD 19 onceGitHub SponsorsPayPal

Zovo Pro costs USD 19 once. It is not a subscription, and it turns on the Pro tools in every Zovo extension, not only Agent Session Viewer. After a card payment (Stripe) your license key shows on the next page. In VS Code, run "Zovo Pro: Enter Zovo Pro license key" from the Command Palette and paste it. The key is checked on your computer, with no network call. With GitHub Sponsors, pick the "$19 one time" tier, then run "Zovo Pro: I already paid: unlock with GitHub Sponsors" and sign in with the same GitHub account. With PayPal, send USD 19 with "Zovo Pro" in the note and the key comes by email within a day.

A team of 5: USD 59 once, by card or by PayPal. Every rule and every Pro tool is on the Zovo Pro page.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.agent-session-viewer and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/agent-session-viewer.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What Agent Session Viewer handles

What it does not do

Other options

Install counts and Open VSX status were checked on 11 November 2026. Descriptions in quotes are the extensions' own.

Questions

Is the cost exact?

No. It is an estimate at API list prices. A subscription plan bills differently.

Is anything uploaded?

No. The report is built from the session files on your computer.

Does it work in Cursor or Windsurf?

Yes. Cursor, Windsurf and VSCodium install extensions from Open VSX. Search for the extension in their Extensions view and install it there.

More about Agent Session Viewer

Read the Agent Session Viewer page for every feature and setting, or the source code on GitHub.

Zovo Pro and support

Zovo Pro: USD 19 once, every Zovo viewer. It turns on the Pro tools in this extension and in the other Zovo extensions you use. The free features stay free.

After a card payment your license key shows on the next page. Paste it with the command "Zovo Pro: Enter a key".

You can also support the work with no Pro:

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.