Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VSCode AI Cost TrackerNew to Visual Studio Code? Get it now.
VSCode AI Cost Tracker

VSCode AI Cost Tracker

lijustin655

| (0) | Free
AI API cost tracker for VS Code — track Copilot and LM API costs in real-time
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode AI Cost Tracker 🐾

Real-time AI API cost tracking for VS Code. Monitor your Copilot Chat and Language Model usage costs without leaving your editor.

Version VS Code License


📸 Screenshots

Dashboard View Status Bar
Dashboard Status Bar

🚀 Features

  • 💰 Real-time cost tracking — automatically captures every Copilot Chat and vscode.lm API call
  • 📊 Status bar indicator — see total cost and call count at a glance ($(graph) AI: $0.00)
  • 📈 WebView dashboard — detailed breakdown by provider and model, with average cost per call
  • 🔍 Provider auto-detection — supports 23 providers (OpenAI, Anthropic, Google, DeepSeek, Meta, Mistral, Qwen, xAI, and more)
  • 💾 Persistent storage — call history survives VS Code restarts (up to 10,000 records)
  • 🔌 Zero configuration — works out of the box, no API keys needed
  • 🕵️ Privacy first — all data stays local, no external network calls

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+P to open the Command Palette
  3. Paste: ext install lijustin655.vscode-tracker
  4. Press Enter

From Marketplace Website

Click here to install


🎯 Usage

  1. Install the extension
  2. Use Copilot Chat or any vscode.lm-based AI feature as usual
  3. See costs automatically tracked in the status bar: $(graph) AI: $0.00
  4. Click the status bar to open the detailed cost dashboard
  5. Explore per-provider and per-model breakdowns

Commands

Command Description
VSCode-Tracker: Show Cost Panel Open the cost dashboard WebView
VSCode-Tracker: Refresh Status Bar Refresh the status bar display
VSCode-Tracker: Clear All Data Remove all tracked call history

🔒 Privacy

  • No external network calls — all data stays in your local VS Code
  • No data collection — no analytics, no tracking, no telemetry
  • No API keys required — works with existing Copilot/Chat setup
  • No response modification — reads metadata only, never alters AI responses

All tracked data is stored in VS Code's globalState and can be cleared at any time via the Clear All Data command.


📋 Requirements

  • VS Code 1.96 or higher
  • Copilot Chat or any extension using the vscode.lm API

📄 License & Privacy

  • License: MIT
  • Privacy Policy: View on GitHub
  • Source Code: github.com/lijustin655/vscode-tracker

Made with ❤️ by 小小抓

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft