GuideOps
AI spend
See what models cost this week against the weekly budget, who and what spent it, every model run, and how people use the MCP endpoint — and change the budget in place.
Automatic work stops at $125. At this pace the week ends near $121, $4 to spare.
The scope and the Feature, Model and Started by filters narrow everything except the budget card.
Read the week
Section titled “Read the week”The page shows what agent runs cost: reviews, chat, agent tasks, learnings and release notes. Everything is limited to the repositories you may read.
- Period. This week is the budget week, from Monday 00:00 in the instance’s time zone. This month and Last 30 days widen the strip, the breakdowns and the runs. The budget card and the daily chart always show the budget week.
- Scope switch. My teams counts your home teams, a picked team just that team.
- Feature, Model and Started by (People or Automatic) narrow every figure on the page but the budget card, which always shows the real budget.
The strip under the toolbar shows spend in the period (with the weekly limit on This week), the week’s forecast, the automatic and people parts, runs, tokens, the cache hit ratio, the change against the same elapsed span before, errors with the error rate, runs blocked by the budget and runs whose cost is unknown.
How the weekly budget works
Section titled “How the weekly budget works”One weekly limit covers every model run on the instance. Part of it, kept for people, is reserved for work a person started: a click in the panel, a chat message, a command on a merge request.
| Work | Stops when this week’s spend plus the run’s estimate goes above |
|---|---|
| Automatic: schedules, triggers, webhooks, freshness | the weekly limit minus the amount kept for people |
| People: anything a person started | the weekly limit |
With When reached set to Block runs a run over the line is refused before the model is called, and a running agent stops when it has spent what is left. With Warn the run goes on. A fresh install starts at $150 a week with $25 kept for people, blocking, warning at 80%.
The card’s status reads:
| Status | Means |
|---|---|
| On track | Spend and forecast stay under the automatic limit. |
| Close to the limit | Spend reached the warning share, or the forecast passes the automatic limit. |
| Automatic work stopped | Spend reached the limit minus the reserve; only people’s work runs. |
| Limit reached | Spend reached the weekly limit. |
The meter shows spent, the forecast to week end hatched after it, and a marker at Automatic work stops at $X. A line below says when automatic work is expected to stop, or how much is left to spare at this pace. The forecast for the rest of the week is the mean of the same span over the last four full weeks.
Narrower budgets and caps
Section titled “Narrower budgets and caps”Under the card, Narrower budgets and caps lists the team and path budgets you may read with their scope, mode, status and a small bar. A narrower budget adds a limit for its repositories; it never lifts them out of the broader one. Two fixed caps follow, which are not settings:
Change the budget
Section titled “Change the budget”With settings:write over everything, the global budget has an inline editor under the card.
- Enter the Weekly limit.
$and thousands separators are fine; it must be above $0. - Enter how much is Kept for people: not negative and not above the limit. The form shows the automatic limit that results.
- Set Warn at, %, a whole percent from 1 to 100.
- Pick When reached: Block runs or Warn. There is no mode that pauses everything.
- Click Save budget. Every figure on the page refreshes.
Team and path budgets are entries of the same setting, added in Settings › AI.
See where it went
Section titled “See where it went”Daily cost draws four Monday-to-Sunday weeks, each day a stacked bar of people over automatic spend, today in the accent colour. The rest of the budget week gets hatched forecast bars. Below it: the week’s forecast, the mean automatic spend of full weeks, last week’s total and the period’s spend per analyzer.
Three breakdowns follow, each narrowed like the rest of the page:
- By feature: Reviews (reviews and triage), Agent tasks (write tasks, fixes, ports, upgrades, tests), Chat, Learnings (review replies and the rule miner), Release notes, Vulnerability triage (urgency checks of critical and unknown advisories), and Other for anything else.
- By repository: the top eight, each linking to its repository hub, the rest in one row.
- By model: model, provider and runs. Models without a price say so and link to Settings › AI.
Find a model run
Section titled “Find a model run”Model runs lists every run of the period, newest first, with Load older. Segments pick All, Errors or Blocked by budget.
| Time | Feature | Repository | Subject | Model | Tokens | Cost | Duration | Outcome | Started by |
|---|---|---|---|---|---|---|---|---|---|
| 10:42 | Reviews | acme/checkout-web |
MR !214 · review | claude-sonnet-5-5 · acme-gateway | 18 turns · 74% cached | $0.22 | 1 min | ok | job 2d9e71b0 |
| 10:31 | Chat | acme/admin-ui |
chat | claude-sonnet-5-5 · acme-gateway | 6 turns · 80% cached | $0.05 | 22 s | ok | Jon D. |
| 09:58 | Agent tasks | acme/widget-kit |
write-task | claude-sonnet-5-5 · acme-gateway | 41 turns · 68% cached | $0.64 | 6 min | error max turns reached |
job 7a10c3f2 |
| 09:12 | Release notes | acme/widget-kit |
v5.4.0 · release-notes | claude-haiku-5-5 · acme-gateway | 12.4 k in · 1.1 k out | unknown | 8 s | ok | release |
Tokens read N turns · X% cached for agents, input and output otherwise, and not sent for a refused run. Started by names the job or analysis by its short id, a person by name (with users:read, else a short id) or the automatic actor. Prompts and answers are never stored, only the figures.
MCP usage by person
Section titled “MCP usage by person”Last on the page, and never narrowed by the filters, a table shows how people use the MCP endpoint over seven days: avatar and name, teams, unexpired tokens, tool calls, a sparkline, the two most used tools, the error rate and the last call. MCP tool calls do not call a model, so they cost nothing here.
| Person | Teams | Tokens | Calls | Top tools | Errors | Last call |
|---|---|---|---|---|---|---|
| Mira K. | Gizmo | 2 | 1,284 | find_packages, package_api |
0.4% | 2 min ago |
| Jon D. | Widgets | 1 | 412 | repo_rules, check_commit_message |
1.2% | 1 h ago |
| Ana P. | — | 1 | 37 | code_review, search_knowledge |
0% | yesterday |
With users:read over everything you see everyone; anyone else sees only their own row. The endpoint has no request limits, so there is no rate-limited column. Your tokens opens Connect agents.
Who can see it
Section titled “Who can see it”The page needs ai:read or ai:admin; others see a no-access card. Configure and ⋯ › Providers and models open Settings › AI.
Related
Section titled “Related”- Settings › AI — providers, model tiers, team and path budgets.
- Tasks — agent tasks and their own write caps.
- Runs — the jobs behind automatic spend, with each run’s cost.
- Connect agents — MCP tokens for your coding agent.
- AI usage — how runs are metered, budgets checked and forecasts made.