Skip to content

Guides

How to measure CI cost per pull request

You know the monthly total but not what a single pull request costs.

5 min read

You know the monthly total but not what a single pull request costs.

Why it happens

Billing is aggregated by account, not by change, so the unit economics are invisible.

How to fix it

  1. Sum job minutes by run and attribute runs to their pull request
  2. Multiply by the per-minute rate for each runner label
  3. Divide monthly spend by merged pull requests for a quick baseline
  4. Track the number over time — it is the metric that shows whether optimisation stuck

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.