AiTA — AI Token Analyzer
AiTA is a Chapar AI product that helps developers understand how AI coding assistants consume tokens, where estimated costs are generated, and which repositories, models, tasks, users, and engineering skills drive that usage. The Visual Studio Code extension brings AiTA’s analytics directly into the editor. It uses a bundled TypeScript runtime, a local SQLite database, and a local React dashboard. Supported environments are OpenAI Codex, Claude Code, Gemini CLI, and GitHub Copilot. The extension’s marketplace and installed-extension tile uses the 112×112 AiTA logo on a white background. Its Activity Bar icon remains a separate monochrome, theme-aware asset for correct rendering in VS Code. Understand AI-assisted developmentAiTA turns fragmented local agent histories into practical engineering intelligence:
Complete local analytics pipelineAiTA reads local session data, normalizes it on your machine, and stores structured analytics under:
The normalized model includes provider and account context, model identity, repository attribution, task classification, token categories, skill and tool activity, engineering outcome signals, parser diagnostics, source health, and estimated public API cost. Raw transcript bodies are processed in memory for explicit signals and are not stored in the analytics database. Complete rescans mark disappeared sources and their conversations stale; stale conversations are excluded from active totals but retained until you explicitly prune them. Multi-provider usage analytics
Reports and the dashboard can filter by provider, normalized model, relative date range, and local user scope. Token and estimated-cost intelligenceWhen available, AiTA separates:
During a scan, AiTA retrieves public OpenAI API pricing or uses a configured local pricing catalog. Matching prices are applied only to supported Codex/OpenAI usage. Reports show the raw and normalized model, selected pricing rule, exact/fallback/unpriced status, token-bucket rates, and estimated cost. Costs are estimates. Public API prices can differ from subscription, enterprise, promotional, internal, or negotiated prices. Engineering context, not just totalsAiTA attributes conversations to repositories and classifies work from explicit, lightweight signals. Skill attribution uses turn-level token usage; when multiple skills are active in one turn, usage is divided evenly. Conversation totals remain context and are not summed as skill attribution. Where evidence exists, AiTA records outcomes such as files edited, tests and builds run, browser verification, Git activity, pull-request activity, blocked work, and user termination. DashboardThe responsive React dashboard includes:
Extension defaults are applied when the dashboard opens, so reports and visual analytics use consistent range, provider, user, and model settings. Visual Studio Code commands
Opening the Activity Bar does not scan automatically; scans remain an explicit user action. Settings
Requirements and first use
No repository clone is required. The extension copies its bundled runtime into VS Code global storage and runs Run AiTA: Scan AI Agent History, then open the dashboard or report. Privacy by design
Accuracy and transparencyAiTA records parser warnings, missing sources, partial parses, unrecognized models, pricing-match quality, unpriced conversations, and actual/estimated/mixed token accounting. Limited scans never mark unseen records stale; only a complete inventory scan reconciles source disappearance. Product visionAiTA’s wider mission is to become a Developer AI FinOps platform:
Product: AiTA — AI Token Analyzer Company: Chapar AI Category: Developer tooling, AI analytics, AI FinOps Technology: TypeScript, Node.js, SQLite, React, Vite, Visual Studio Code Principle: Local-first, privacy-first, transparent analytics |