CodeMeter gives you fast, local-first insight into how much AI assistance costs while you code.
- Track AI usage per project so you can see which tools and models are driving cost.
- Helpful for individuals and teams to budget and audit AI-assisted development.
- Detects AI-generated insertions (completions, inline edits, chat outputs).
- Estimates tokens from inserted characters and converts tokens → cost using model pricing.
- Stores usage per-project (
.codemeter), supports multi-root workspaces, and offers a dashboard.
- Install the extension in VS Code.
- Open a project folder and open the CodeMeter Dashboard view.
- Optionally set
codemeter.codemeterPathin workspace settings to customize storage.
- CodeMeter stores only estimated token counts and metadata locally. It does NOT upload your source code.
- Detailed token accounting:
TOKEN_ACCOUNTING.md
- Issues and PRs: https://github.com/bhav09/codemeter