Skip to Content
v1.33.6 · shipped One-screen report · Looks like your app Read the changelog →
Clustering, judging, PDCA, drift, anomaly pipelines · · open live demo ↗

AI spend

Route: /team?view=spend (Team → AI spend; the old /cost address redirects there)

The AI spend view shows the LLM calls Mushi Mushi made for the selected project and what they cost, as estimated from token counts.


What’s tracked

Every AI call an edge function makes for the project (diagnosis, fixes, reviews, judging and the rest) is written to the llm_invocations table with the function and stage, the primary and used model, whether a fallback ran, status, latency, input and output tokens, cache tokens, the prompt version, which key paid (key_source), and cost_usd, an estimate from the model’s price list.


Tabs

  • Overview: a Daily spend chart, a budget forecast, and Compare to plan usage (a link to Billing)
  • Breakdown: cost By operation and By model
  • Raw log: the Invocation log, one row per call

Controlling costs

LeverWhere to set it
Monthly AI budgetSettings → General → Spend limits, or the budget card on the Overview tab (team owners and admins). Generation calls stop for the rest of the month once spend reaches it; embeddings count toward it but are not blocked
Auto-fix limitsSettings → General → Spend limits: spend per 30 days, automatic fixes per day, and an approval threshold
Improvement run sizeEach run on Improvement runs sets its own iteration target

Last updated on