For Claude Code and Codex in VS Code

Your quota, coloured by pace.

Token Pace puts every quota window of Claude Code and Codex into the VS Code status bar. The bar turns yellow when you run ahead of the clock and red when the window is spent, next to your tokens, the API cost equivalent and a dashboard that explains its own colour.

Free and open source (AGPL-3.0). Requires VS Code 1.106 or newer. Reads the files Claude Code and Codex keep on your machine; the only network access is a quota poll you switch on yourself.

status bar · preview dataelapsed 0 %
CC 5h
25% · resets 3h45m
CC 7d
62% · resets 4d 6h
CDX 5h
33% · resets 1h05m
CC Fable 7d
100% · resets 2d 1h
at or below paceahead of pacespent
Pace, not level

A 60 % bar is reassuring an hour before the reset and alarming five minutes in.

A fixed threshold cannot tell those apart. Token Pace draws the share of the window that has already elapsed as a marker on every bar and colours the bar by where the fill stands against it.

green · on pace
38 %

Consumption stays at or below the share of the window that has passed. Keep going.

yellow · ahead of pace
62 %

The fill has overtaken the clock. The forecast line says when the window would run out at this rate.

red · spent
100 %

The window is used up. The bar stays red until the reset and the countdown says how long that is.

What you see

A status bar entry per window, a tooltip with the whole picture, a dashboard that explains itself.

The status bar

One entry per quota window, model-scoped windows included: the pace-coloured bar with its elapsed marker, the percentage and the countdown to the reset. You decide how many appear, which kinds exist, in which order, and how much text each one gets.

  • The tooltip holds the window table, a forecast line per window, the token tables for today, seven and thirty days, and a provenance line that names what was measured and what was estimated.
  • When a quota fetch fails, the old figure stays and says so.
Four status bar entries: CC on 25 % green, CC warn 45 % yellow, CC warn2 80 % yellow, CC full red
Preview states, rendered from synthetic data.

The dashboard

In the secondary sidebar, with a provider switch at the top: Claude Code, Codex or both. Quota cards that explain their own colour, a seven-day sparkline, the running agents as a tree, the daily chart by model with the cost line, and the fixed-period token totals.

  • Your Claude Code agents as a tree: what runs now, what each one cost, which session started it.
  • The same figures without a webview: a markdown report, a searchable Quick Pick, a CSV.
The dashboard: provider switch, quota cards with pace verdicts and sparklines, the agents tree, the tokens filter and the summary
Quota, Agents, Tokens and Summary sections, dark theme.

A prompt cache that says when it cools

Five minutes before a Claude Code session's one-hour cache expires, the Claude card says so and what a cold start would re-write instead of reading from the cache. Keep-warm, opt-in and off by default, can type one line into that terminal before the cache cools, after a countdown you can cancel.

The Claude quota card with its prompt-cache block: one session measured by the status line, the cache cooling in 4 m 10 s
The prompt-cache block after the windows.

Tokens, cost and cache economy

The two running windows against the fixed periods, the composition bars with a cache switch, and what the cache saved. Cost is the API equivalent from a price table you can inspect, marked as a lower bound whenever a model has no price on file.

The Tokens section: running windows against the quota cards, the cache switch over the composition bars, the cache economy
The Tokens section.
Privacy

Nothing leaves your machine unless you say so.

Token Pace reads the session files Claude Code and Codex already keep locally and the quota figures their own clients cache. It sends no telemetry and opens no connection by itself. The one outbound request, a poll of your quota, runs only after your consent, and a build check fails if any other file or host is added.

A missing figure is shown as a dash, never as 0 %. Every estimate is marked as one.

Read
Claude Code's and Codex's local session folders, the two quota cache files, the extension's own mirror files, the settings that say whether the status-line bridge is installed.
Never read
Your prompts' contents beyond what the token counts need, an agent's description or prompt, a workflow's script or result.
Sent
Nothing, unless you enable the quota poll: then your access token goes to api.anthropic.com and nowhere else.
Exported
Only by your command: markdown report, CSV, JSON, a diagnostics report you can read before you share it.
Fourteen languages

A flag at the top of the dashboard switches everything.

The status bar, the dashboard, the tooltip, the reports and the settings' descriptions follow the language you pick, or VS Code's own.

EnglishDeutschFrançaisEspañolPortuguês (Brasil)Italiano日本語한국어简体中文繁體中文РусскийTürkçePolskiČeština
Install

Three ways in, one extension.

Visual Studio Marketplace

Search for Token Pace in the Extensions view, or install from the store page.

ext install frederik.token-paceOpen the Marketplace

Open VSX

The same extension for VSCodium and every editor that uses that registry.

frederik/token-paceOpen Open VSX

From the .vsix

Download the release file from GitHub and install it with Extensions: Install from VSIX….

VS Code 1.106 or newerReleases on GitHub