Cost per accepted change

Calculator

Compute cost per accepted change

Enter the costs and counts for one measurement window — a sprint, a month, a quarter. The calculator runs entirely in your browser; nothing is sent to a server.

LLM / API spend attributable to the changes produced.
Compute, storage, observability, tooling overhead.
Spec / prompt / integrate / steer, converted to currency.
Time spent reviewing / gating AI work, converted to currency.
Cost of fixing or reverting changes that did not stay in production.
Reached production and stayed there during the window.
Cost per accepted change
View source

Use the library

The calculator is a pure TypeScript function. Import it in your own dashboards, FinOps pipelines, or CI jobs:

import { costPerAcceptedChange } from 'cost-per-accepted-change';

const cpac = costPerAcceptedChange({
  modelCost: 1200,
  infraCost: 400,
  engineeringTime: 18000,
  reviewCost: 6000,
  reworkCost: 2400,
  acceptedChanges: 42,
});

console.log(cpac.value);     // 666.67
console.log(cpac.breakdown); // share-of-total per component

Source: github.com/brennhill/cost-per-accepted-change. MIT-licensed.