Practical billing guide

How to read a GitHub Actions billing export without fooling yourself.

The dangerous number in a usage report is usually the easiest one to find. Gross usage is not necessarily billed usage, public and private workloads behave differently, and a reduction scenario is not yet attributable savings. Here is a conservative way to screen the file before touching a workflow.

RunnerTrim field noteUpdated August 17, 20268 minute read

01 / The source data

Start with the fields GitHub actually bills.

GitHub's usage report includes fields such as date, product, sku, quantity, unit_type, gross_amount, discount_amount, and net_amount. Detailed web exports can also include the repository and workflow path. The summarized REST response exposes the same cost relationship without workflow-level detail.

Filter to rows whose product is Actions, but do not collapse the SKU or unit type yet. Minutes, storage, operating systems, and runner sizes can have different economics.

GitHub billing report fields ↗

02 / The denominator

Use net_amount, not the biggest number.

GitHub defines the relationship as gross amount minus discount amount equals net amount. Included allowances and public-repo discounts can make a large quantity or gross amount correspond to little or no billable spend. For a hard-dollar savings screen, rows with a zero net amount contribute zero to the baseline.

gross_amount−discount_amount=net_amount

Keep discount and credit information in the analysis instead of reconstructing the bill from quantity multiplied by a list price. Contract rates and included usage are real parts of the customer's current economics.

03 / Runner classes

Public repository does not always mean free.

Standard GitHub-hosted runners are free in public repositories. Larger runners are different: GitHub says they are always billed, including for public repositories, and included minutes cannot be applied to them. That is why the SKU must survive the first pass.

Per-minute rates also vary materially by operating system and size, and GitHub rounds each job's partial minute up to a whole minute. A fragmented workflow can therefore cost more than the same runtime consolidated into fewer jobs.

04 / Time window

Normalize conservatively, especially for short exports.

Use the first and last UTC dates in the report to establish the observed window. A partial-month file should not be multiplied as though a busy week were representative of every week. The RunnerTrim screen uses at least a 30-day denominator: reports shorter than 30 days are not scaled upward beyond their observed net spend.

monthly_net = net_paid_actions × 30 ÷ max(observed_days, 30)

Seasonality, releases, outages, and one-off migrations still need review. Normalization prevents obvious exaggeration; it does not prove representativeness.

05 / Scenario math

Calculate the break-even reduction before claiming savings.

Once monthly net paid Actions spend is known, a simple scenario can show whether an opportunity is even large enough to examine. For a $15,000 annual-savings target, the required reduction is:

required_reduction = 15,000 ÷ (monthly_net × 12)

If monthly net spend is $4,000, the threshold requires a 31.25% attributable reduction. That is a screening boundary, not a forecast. If the required percentage is implausible, stop before requesting repository access or selling an engagement.

06 / Evidence boundary

A billing export proves spend. It does not prove causality.

The report can identify paid concentration by SKU, repository, and sometimes workflow. It cannot by itself prove that a cache, matrix, timeout, trigger, or runner-size change will remove that spend. Attribution requires representative workflow evidence and like-for-like before/after runs.

  • Exclude free standard public-repository minutes.
  • Exclude allowances, discounts, and credits from savings.
  • Keep engineering-time value separate from hard-dollar CI savings.
  • Treat every percentage as sensitivity analysis until workflow evidence supports it.

Try it locally

Screen the CSV without sending it anywhere.

The free browser tool applies the boundaries above, displays the aggregate result, and keeps repository and workflow identifiers on your device. No account is required.

Open the local billing screen →

Disclosure: RunnerTrim also sells a fixed-fee GitHub Actions optimization sprint. The calculator is free; its result is not a proposal, customer result, or signed savings baseline.

Official references