Will this PR create an unstable AI workload?
See callsites, model swaps, max-token changes, retry/fallback exposure, MCP schema overhead, and the exact controls that reduce the tail.
AI cost approval before merge
Turn every AI pull request into a priced, risk-adjusted business decision before it ships.
Class1 reads the diff, models the monthly cost delta, declares P50/P90/P95, checks model fit, names the tail drivers, projects escalation, adds carbon and water, and enforces the budget gate in CI.
- model="gpt-4o-mini"
+ model="gpt-4.1"
+ max_tokens=8192
+ retries=5
The category
Dashboards tell you what happened after the money is gone. Class1 answers the decision while the change is still a pull request.
The method is cost engineering: quantity takeoff, rate basis, contingency, escalation, estimate class, and actuals calibration.
Buyer moment
Most AI cost tools start after production telemetry exists. By then the model choice, retry policy, context shape, fallback path, and tool schema architecture have already become habits. Class1 moves the decision upstream, where the team can still cap output, narrow context, lazy-load tools, choose a fit-for-purpose model, or require a budget owner before merge.
The buyer is not buying a prettier dashboard. The buyer is buying a governance moment: a repeatable way to ask whether a software change creates recurring AI spend, whether that spend is justified, and which control lowers the tail without blocking useful engineering work.
That is why the homepage leads with P90 after scale. Expected cost is useful for discussion, but P90 is the number a finance team can approve against. Class1 keeps both numbers visible and separates the modeled risk band from the estimate class, so a report can be useful without pretending to be definitive.
See callsites, model swaps, max-token changes, retry/fallback exposure, MCP schema overhead, and the exact controls that reduce the tail.
Review expected, P50, P90, P95, worst case, estimate class, budget gate status, and the 12-month escalation curve.
Approve, defer, or require controls with one report that engineering and finance can both defend.
Why now
Free to estimate. Paid to enforce.
Open core proves the forecast. The Business Pilot sells private repo installation, blocking P90 policy gates, actuals ingestion, a private Blue Book basis, and monthly variance reports.
Apply for the Business PilotExplore the system