Monk CIMonk CI home

1 Dec, 2026Manmohan Singh

Why Cost per CI Minute Can Mislead: Measure Cost per Successful Build


Learn why per-minute CI pricing misses retries, queue delays and cache overhead, and how to calculate cost per successful build.

CI vendor websites often highlight a simple number: dollars per runner-minute. It is useful for comparing one billing unit, but it does not tell an engineering leader whether a pipeline is efficient. Cost per successful build is often the stronger financial metric.

The difference between a rate and an outcome

A CI minute buys time on a runner. A successful build is the result your team needs: compiled code, passing tests and an artifact or deployable change. Faster hardware may charge more per minute while reaching that result in fewer minutes.

For example, a runner at $0.006/min taking 20 minutes costs $0.12 of gross compute. Another at $0.008/min taking eight minutes costs $0.064. The second runner is more expensive per minute but less expensive per successful build. These figures are illustrative.

Formula: measure all attempts, not just green jobs

Cost per successful build = total billable CI compute across attempts ÷ number of successful builds.

Suppose 100 builds are successful, but achieving them required 115 job executions because of retries. If each attempt costs $0.10, the effective compute cost per successful build is $11.50 / 100 = $0.115, not $0.10. Include partial attempts based on actual billed duration, not an assumption that every retry runs to completion.

For complete cash costs, add paid cache, artifact storage, subscription and other applicable charges before dividing by successful outcomes. Compare gross compute and net invoice views separately when plans include credits.

Time-to-green is a second essential metric

Runner costs alone miss queue time and developer waiting. Measure time to green = queue wait + execution + rework/retry delay. Queue time may be unbilled, but the developer still waits before getting feedback.

A cheap runner that has unpredictable queue delay can hurt pull-request throughput. A fast runner with an unreliable job environment can trigger expensive retries. The cost and reliability metrics therefore belong next to one another.

Measure the right distribution

Averages hide bad tail behavior. Segment by repository and workflow and track median and p95 execution time. Separate cold and warm cache states. Exclude canceled runs only when your definitions consistently explain why; canceled attempts may still generate costs.

MetricCore question
Runner-minute rateWhat does compute time cost?
Cost per successWhat does usable output cost?
Retry rateHow much waste is caused by failures?
p95 time-to-greenHow bad are the slowest common experiences?
Cache hit rateHow much repeated work is avoided?

How to use this metric in vendor selection

Run identical jobs on your current infrastructure and any candidate provider. Keep the commit, test commands, cache conditions and runner size documented. Calculate cost from billed minutes, not just elapsed wall time. If one configuration finishes faster but requires more expensive cores, multiplication resolves whether it really saves money.

Monk CI's pricing publishes Linux runner rates and included plans; GitHub publishes its runner rates and billing notes. These pages help construct the model, but they cannot predict performance for your specific repository. See Monk CI vs GitHub-hosted runners for a practical comparison framework.

FAQ

Does a faster build always mean a lower invoice?

No. Runner rate, billing increments, subscription allowances, retries and paid services all matter.

Should failed attempts count?

Yes. Count their actual billable compute, since failure consumes resources without producing a successful outcome.

How often should we track the metric?

Weekly for operational regressions and monthly for budget decisions, segmented by workflow and runner size.

Turn CI cost into a measurable outcome

Benchmark a representative workflow on Monk CI and report cost per success alongside time to green.

References: GitHub Actions pricing, Monk CI pricing.

Try Monk CI for free

Continue with GitHub