Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>ACCA - Acidni Chat Cost AnalyzerNew to Visual Studio Code? Get it now.
ACCA - Acidni Chat Cost Analyzer

ACCA - Acidni Chat Cost Analyzer

Acidni LLC

| (0) | Free
Analyze instruction files AND chat histories for token efficiency, track AI spending, and optimize prompts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ACCA - Acidni Chat Cost Analyzer

A VS Code extension that saves you money by analyzing AI token usage - both for instruction files AND your actual GitHub Copilot chat histories.

Visual Studio Marketplace License: MIT

💰 How It Saves You Money

Analysis Type What It Does Savings
Chat History See what you ALREADY spent Identify expensive patterns
Quality Analysis Compare efficiency across sessions Learn what works best
Instruction Files Optimize prompts BEFORE you use them Reduce future costs

Features

📊 Chat History Cost Analysis

See exactly what your AI conversations are costing you:

  • BY COST: Sessions grouped by High/Medium/Low cost
  • BY QUALITY: Sessions ranked by efficiency (chars per dollar)
  • Per-conversation cost breakdown
  • Input vs output token tracking
  • Most expensive sessions highlighted

📈 Quality Rating System

Sessions are automatically ranked using percentile-based quality scoring:

Rating Percentile Meaning
🌟 High Quality Top 33% Best value - most output per dollar
⚡ Medium Quality Middle 33% Average efficiency
⚠️ Low Quality Bottom 33% Room for improvement

Quality = Total Characters ÷ Total Cost (higher is better)

🤖 Supported Models

Model Cost Multiplier Pricing Included
GPT-4o 1x ✅
GPT-4o-mini 0x (free) ✅
GPT-4.5-preview 6x ✅
GPT-4 1x ✅
o1 6x ✅
o1-mini 1x ✅
o3-mini 1x ✅
Claude 3.5 Sonnet 3x ✅
Claude Sonnet 4 3x ✅
Claude Opus 4 6x ✅
Gemini 2.0 Flash 0x (free) ✅
Gemini 2.5 Pro 3x ✅

🔢 Token Counter

  • Real-time token count in status bar
  • Count tokens in any selection
  • Accurate gpt-tokenizer based counting

📋 Instruction Analyzer

Analyzes your Copilot instruction files and categorizes by efficiency:

Tier Format Efficiency
1 YAML/JSON ⭐⭐⭐⭐⭐
2 Bullet Points ⭐⭐⭐⭐
3 Short Sentences ⭐⭐⭐
4 Prose/Paragraphs ⭐⭐

Installation

  1. Open VS Code
  2. Press Ctrl+P (or Cmd+P on Mac)
  3. Type ext install AcidniLLC.ai-chat-cost-analyzer

Or install from VS Code Marketplace

Usage

View Chat Costs

  1. Open the ACCA panel in the sidebar
  2. Expand BY COST to see sessions grouped by expense
  3. Expand BY QUALITY to see efficiency rankings
  4. Click any session for detailed analysis

Analyze Instructions

  1. Open your .github/copilot-instructions.md
  2. Run command: ACCA: Analyze Instructions
  3. View efficiency report with suggestions

Count Tokens

  1. Select text in any file
  2. Run command: ACCA: Count Tokens
  3. See token count in notification

Commands

Command Description
ACCA: Scan Chat Sessions Refresh chat session analysis
ACCA: Analyze Chat History Costs Detailed cost breakdown
ACCA: Show Chat Cost Report Full spending report
ACCA: Open Cost Dashboard Visual analytics dashboard
ACCA: Scan Instruction Files Find and analyze instruction files
ACCA: Count Tokens Count tokens in selection

Settings

{
  "chatCostAnalyzer.tokenModel": "gpt-4o",
  "chatCostAnalyzer.showStatusBar": true,
  "chatCostAnalyzer.pricing": {
    "gpt-4o-input": 0.0025,
    "gpt-4o-output": 0.01
  }
}

Why Optimize Instructions?

Prose (inefficient):

When writing code for this project, please make sure to use TypeScript 
with strict mode enabled. It would be great if you could prefer using 
const declarations over let whenever possible.

~45 tokens

Bullet Points (efficient):

- Use TypeScript strict mode
- Prefer const over let

~12 tokens

Savings: 73% fewer tokens = lower cost + better AI compliance

Related Extensions

  • ACCM - Acidni Copilot Chat Manager - Organize, export, and search your Copilot chat histories

License

MIT © Acidni LLC

Contributing

Issues and PRs welcome at GitHub


Made with 💚 by Acidni LLC

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