Codex and OpenCode Token UsageA local VS Code dashboard for inspecting Codex and OpenCode token usage and estimated costs. Features
Requirements
The extension supports Linux, macOS, and Windows. In WSL it combines sessions from the Linux and Windows Codex data directories. A configured WSL UNC directory is likewise combined with the default Windows directory when the extension runs on Windows. Remote SSH and development containers read data from their remote environment. InstallationInstall a packaged extension from the command line:
Alternatively, open the Extensions view, select …, and choose Install from VSIX…. ConfigurationThe default Codex data directory is
You can also run Codex Usage: Configure Codex Home from the Command Palette. The configured directory and any available default Codex directories are loaded together. Duplicate session IDs are included only once. Privacy and pricingSession data is processed locally. Codex estimates use cached public OpenAI pricing; OpenCode costs come from its local database through DevelopmentRun the checks with:
Create a VSIX package with:
LicenseMIT License |