Where the numbers come from
Every AI call the VS Code extension makes on your own key — chat, QuickFix, analysis, generation — logs one event whose token counts are read from the provider's own response: Anthropic's usage.input_tokens and output_tokens, and the equivalents for OpenAI and Google. Nothing is estimated from text length; if a provider answers without usage figures, the event records zeros rather than a guess.
What is counted, and what deliberately is not
Counted: calls the extension itself makes with your API key.
Not counted: work done by your coding agent CLI (Claude Code, Cursor, and the rest) through the hand-off — that runs on the tool's own plan and never touches your API key, which is the point of the hand-off; the Chrome extension's AI reviews, which go from your browser to Google on your Gemini key; and every deterministic feature (audits, skills, sync), which calls no model at all.
Storage: local, capped, yours
Events live in VS Code's local storage and are never sent anywhere. The store keeps the last 2,000 events; the charts derive from it, so the 24H and 7D views are exact in practice while 30D and 12M undercount once more than 2,000 calls fall in the window. Per-day totals (tokens, commands) are kept separately without that cap. You can clear all of it at any time.
Est. Cost is an estimate, deliberately
The cost tile is computed locally from a fixed reference price table per model, input and output priced separately, with a conservative default for models the table does not know. Reference rates drift from what providers actually invoice — treat the tile as an order of magnitude. Your provider's bill is the truth; this tile exists so a surprise on it is impossible, not to replace it.
Autonomy Rate and Success Rate
The share of tracked events flagged autonomous, and the share flagged successful. Until at least one event carries those flags, the tiles show a dash — never a made-up percentage. A rate with zero observations behind it would be an invention wearing the same font as the measured numbers.
What reaches flowky.ai
One thing: a request count, batched, for daily fair-use limits (feature: ai_request, a quantity). No token counts, no prompts, no code, no file names — ever. The Analytics panel is a local instrument reading local data.