Usage, Costs, ROI, and AI Insights
Last reviewed November 15, 2026 (checked against the app).
CPLai separates three questions:
- What usage occurred and what did it cost?
- What output did each agent produce for that spend?
- Which agents and models perform best across runs and races?
Usage
Open Usage from the Insights section of the sidebar (it was called Billing). The page has four tabs: Costs, Agent ROI, AI Insights and Revenue Ledger.
- On web,
/usageopens Costs and/usage?tab=followed byroi,insightsorrevenueopens a tab. The old/roiand/insightsaddresses open their tabs. - On desktop, anything that used to open the Agent ROI or AI Insights page opens its tab here. Both are also in the Command Palette.
- Help for this page on the AI Insights tab opens AI Insights; on the other tabs it opens this page.
Money is labelled the same way everywhere on the page: Charged is what was billed to an API key, and Covered is work your plans (a Claude, ChatGPT or Antigravity subscription) paid for, priced at API rates so you can see its value.
Costs
What do the cards show?
| Card | What it shows |
|---|---|
| Charged this month | Money billed to your API keys. |
| Covered by your plans | Plan usage priced at API rates. Nothing was charged for it. |
| Local models | Runs and tokens on your own model servers. Nothing is charged. |
| Plan limits this week | Claude, Codex and the busiest agent account: the same reading as the Plan usage chip in the title bar. |
Subscription-backed CLI work can have nothing charged while still showing a covered value.
API-equivalent value prices the cached slice of input (Anthropic cache reads, Codex cached_input_tokens) at the provider's cached-input rate, so a run that reuses a long prompt is not valued as if every token were sent fresh. Token totals still count the cached input.
How do I filter Usage?
- Select 30 days, 90 days, or six months.
- Choose a company when more than one is available.
- Use Refresh to load the latest records.
What does Each day show?
Each day of the range, with covered work as bars and charged money as a line. Each has its own scale, so a small charge stays visible next to a large covered amount.
What does By source show?
Switch between Sources and Models. Sources groups the range by where the usage came from, such as Anthropic, OpenAI, Gemini, Kie, Firecrawl or OpenRouter. Models lists each model with its Charged and Covered amounts; sort it by Cost, Tokens or Calls.
What does By agent show?
Each agent's Charged and Covered amounts, a trend line over the selected range, and its Runs. Sort by Charged, Covered or Runs.
One more row, Background jobs, sorts in with the agents. It holds the jobs CPLai runs on its own, such as conversation titles, run digests and the Terminal Supervisor: one row each in Settings -> Utility models. Their calls belong to no agent, so no agent's row counts them; the totals at the top always did. Runs on that row counts calls. The row is left out when you choose a company, because the jobs are CPLai's own. The CSV export has the same row.
How do I review fleet costs from Mission Control?
Open Agents and clear any selected agent to return to Mission Control. The Fleet Ledger gives desktop and web users a compact operational view of the same usage data without leaving the live wall.
- Choose a 30-day, 90-day, or six-month window.
- Focus a single company to scope the agent rows, or use an unscoped fleet view to compare companies.
- Compare actual-or-API-equivalent spend, tokens, runs, and fleet share by agent.
- Review the model table separately. It covers all recorded surfaces, including direct Chat, so it can total more than the agent table.
- Use live badges to see which agent rows have active work. No per-run dollar figure is shown because the current usage data does not provide a trustworthy run-level rollup.
See How do I read the Fleet Ledger? for company-focus behavior, summary-card definitions, and the mobile table scroll boundary.
How do I export Usage?
Select CSV in the page header. Desktop opens a native save flow; web downloads a browser-generated CSV.
How does the Revenue Ledger work?
Open Usage -> Revenue Ledger. CPLai already tracks what the fleet costs, and the ledger brings in what each company earns, so you can see whether it is profitable after its agents.
- Entries - the latest 50 entries, with date, company, description, source and amount. Filter by company or description, and show All, Stripe or Manual.
- Stripe import - link a
stripe_accountKeychain entry, including itssecret_key, to a company. The always-on service imports paid, non-refunded charges daily. Sync Stripe now, under the list, runs an import on demand; imports are idempotent per charge. - Manual entries - Add manual revenue, under the list, records revenue that does not come through Stripe, such as checks, ACH or PayPal, with a company, amount and description. It appears immediately.
- This month - income recorded, charged for AI work, and income after AI charges.
- Income and charged, by month - the last 6 months; the current one is marked "so far".
- By company - each company's revenue activity over the last 30 days.
Agent ROI
The Agent ROI tab compares what each agent was charged with its output: tickets closed and goal progress, over seven or 30 days. See Agent ROI Dashboard.
AI Insights
The AI Insights tab analyzes run and race history: success rates, agent and model win rates, agent performance, delivery, and model profiles. Its run cost columns are priced at API rates, so plan runs show a value even though they were covered, not charged. See AI Insights.
What do the usage chips and cost estimates show?
CPLai records every model call and its cost automatically.
What does the title bar spend chip show?
- Always visible in the desktop title bar
- Shows current-month company spend
- Click to refresh the company rollup
What does the Plan usage chip show?
The Plan usage chip next to the spend chip (desktop title bar and web header) shows how much of each subscription's weekly limit is used, for example Claude 21% · Codex 36% · Agents 40%:
- Claude and Codex: the logins you use in your own terminals.
- Agents: the busiest agent account.
Each number turns amber at 75% and red at 90%. Click the chip for a panel that lists every account with its weekly and 5-hour bars, when each resets, and how old the reading is. On a phone the chip shows only the busiest account. Only the instance owner sees the chip.
Where the numbers come from:
- Your Claude login: Anthropic's usage check (what Claude Code's
/usageshows), refreshed at most every five minutes. If Claude Code's saved sign-in has expired, the panel says so; it refreshes the next time you use Claude Code. - Agent Claude logins (Settings -> Agent access & safety -> Agent logins): Claude Code reports the account's usage during each agent run, and CPLai keeps the latest reading. An account updates only when one of its agents runs. After you save a new token for a login, its row waits for the next agent run.
- Codex logins (yours and the agents'): the usage Codex records in its own session logs, as of that login's last Codex run.
How do I see what one chat cost?
- Desktop only: open a chat's overflow menu and choose "Cost Estimate"
- Shows input/output tokens, per-model rates, total estimated cost
- A model with no known rate shows no estimate rather than a guessed price
Why can totals differ between pages?
- Usage -> Costs reads detailed usage records and cost rollups.
- Usage -> Agent ROI reads company-scoped output and agent-cost data.
- Usage -> AI Insights reads run and race history, plus ticket history for its Delivery section.
- Mission Control Fleet Ledger totals the spend values displayed in its agent rows, while its model table includes direct Chat and other non-agent surfaces.
- Different time ranges and company filters can be active.
- Subscription-backed runs can carry API-equivalent value without actual spend.
- Background jobs (run summaries, project pulses, the librarian and the other jobs on Settings -> Utility models) are not agent runs. They count in the Usage totals for All companies and in the model table, but not in a company's agent rows, Agent ROI or the Revenue Ledger.
- A background job's call often costs a fraction of a cent. Each call's cost is kept exactly and each total is rounded once to the cent, so a row and the total it belongs to can differ by a cent.
- Older runs may have incomplete token or pricing metadata.
Always compare pages with the same company and time range before treating a difference as an error.
How do spend caps relate to these pages?
Spend caps are set per agent in the agent editor: Budget guardrails ($) with Month, Day, and Run fields on desktop, or Monthly Budget ($), Daily Budget ($), and Per-Run Budget ($) on the web dashboard. Settings > Plan & costs has no cap controls. A cap can pause future automated work; it does not rewrite historical Usage or ROI data.
Related pages
- AI Insights
- Agents
- Settings
- Companies
- Running CI on Your Own Hardware for the CI minutes an agent fleet generates outside CPLai

