Insights shows how your coding agents spend tokens and money, and where a habit is costing more than it needs to. It works from records your agents already keep on this computer.
What you see
- The Insights panel in the Smior sidebar: cost and savings per agent and model, for the period you choose.
- A status bar tip. With
smior.coachEnabledon (the default), Smior shows one quiet line in the status bar tooltip when a pattern is costing tokens or money right now, such as a growing context or a retry loop. A lightbulb appears on the status bar item. Each pattern shows at most once per session, only after it has repeated, and never as a pop-up. - Your agent can ask with
smior_coach, which returns up to three patterns for this session, each marked as an estimate.
Every figure is an estimate from data on this computer.
Plans
Insights is included in Personal, Pro, Team and Business, and in the trial. On Free, Insights shows one preview insight.
Where the numbers come from
Smior reads the usage records your agents keep, read-only. For example:
- Claude Code’s transcripts in
~/.claude/projects; - Codex’s session logs;
- Copilot’s chat sessions;
- Cline’s task files.
It takes only what the estimate needs: the model, token counts, times, the project folder, tool names, the paths of files that were read, and a one-way hash of each shell command. It never stores prompt or response text, command text or file contents. Agent databases are opened strictly read-only.
The parsed numbers are cached in ~/.smior/usage-cache.json. Nothing from this analysis leaves your computer.
Prices
Smior prices each message by the model that answered it, from a dated table of published prices.
smior prices [--json]shows the table and its date.- To correct a price, edit
~/.smior/prices.json. - How you pay for each agent matters. Smior asks once per agent: per token, subscription or per request. Answer from a terminal with
smior usage billing <agent> <per-token|subscription|per-request>.
The old single price, smior.costPerMillionTokens, is deprecated and no longer used.
From a terminal
smior insights [--period session|today|week] [--json]
smior insights dismiss <type> # never show that kind of insight again
smior usage [--period P] [--json] # usage and savings per agent and modelRight-size
Not released. Right-size is not active in this release and records nothing.