Skip to content

How you are billed

What is measured, how it becomes an invoice, and why every amount is an integer of micro-dollars.

Last updated

One invoice for everything your organisation uses.

The rates are on the pricing page. This page is about the mechanism.

CI jobs are measured in minutes of execution, priced by the size of machine the work asked for. A larger runner costs more per minute than a smaller one: on Linux x64 and Windows in proportion to its vCPU, and on ARM64 at its own rate for each size.

Storage-shaped things — the Docker layer cache and sticky disks — are measured by what they store over time rather than by the minute, at the rates on the pricing page.

The Actions cache is included and is not metered at all.

Time is counted from when your work starts running to when it stops. Waiting for a machine is not billed.

  • Each job is billed in whole minutes, rounded up, with a minimum of one. A job that runs for 61 seconds is billed as 2 minutes, and one that runs for 5 seconds as 1.

  • A job that fails, or is cancelled after it started running, is billed for the time it ran, as a job that passed is.

  • A job that never started running is not billed: one cancelled while it waited, one we refused, and one whose machine never came up.

  • The plan includes 3,000 run-minutes a month. A run-minute is one minute of a 2 vCPU Linux x64 runner, and each size and platform draws its own number of them a minute:

    • Linux x64: 0.5 at 1 vCPU, 1 at 2, 2 at 4, 4 at 8, 8 at 16 and 16 at 32 vCPU.

    • Windows: 2.5 times the Linux x64 runner of the same size, so 2.5 at 2 vCPU, 5 at 4, 10 at 8 and 20 at 16 vCPU.

    • ARM64: 1 at 2 vCPU, 1.75 at 4, 3 at 8 and 5.5 at 16 vCPU.

  • A month runs from 00:00 UTC on the 1st to the same moment on the 1st of the next month.

  • Prices are in US dollars and exclude VAT. UK VAT at 20% is added to invoices for customers in the UK. A business outside the UK that gives us a valid VAT number is not charged UK VAT. Our VAT number is GB533241423.

To estimate how many minutes a month a team will use before you have a bill to read, see How many GitHub Actions minutes does a team of 20 developers use a month?.

There is one plan, and an organisation is on it from the moment a card is on file. That is what the dashboard means by a paid plan, for example on the Run more jobs at once card: an organisation with a card. Until then nothing is included and new jobs wait for the card; the quickstart has the card step.

  • Some run-minutes are included every month. The month is the calendar month in UTC, so the included minutes start again at midnight UTC on the first. Minutes you did not use are not carried over.

  • The first minutes of the month are the included ones, in the order the jobs ran. A job's page shows whether it was inside them, partly inside or past them, and that does not change once the job has run.

  • They are counted in run-minutes. A larger runner draws more run-minutes a minute than a smaller one, and a priority job twice its label's; Runner labels has the sizes.

  • Past them, usage is metered at the rates on the pricing page and billed on that month's invoice. Jobs do not stop when the included minutes run out: a spending cap is the way to stop new jobs at a figure you choose.

How many run-minutes are included, and whether the plan has a monthly fee, are on the pricing page.

Every amount in the system is an integer number of micro-dollars, a millionth of a dollar. A cent is ten thousand of them.

That sounds like an implementation detail and is the reason your invoice adds up. A month is the sum of many thousands of amounts each individually smaller than a cent, and floating-point arithmetic over that many values accumulates error you only find out about when a customer's invoice disagrees with the ledger by a cent that neither side can explain. Integers cannot drift. The database independently re-adds the lines and refuses a set that does not sum to the total.

We wrote up why in Why every price in our billing is an integer of micro-dollars.

Usage in the dashboard shows what you have used so far in the current period, broken down by where it went, and a projection of where the month is heading if the pattern holds. A month runs from 00:00 UTC on the 1st. It groups by repository by default and, for the month in progress, by machine size; a closed month shows its invoice's share per repository. For the same question on GitHub's own minutes, see How do I see which workflows use the most GitHub Actions minutes?.

You can set a spending threshold and be told when you cross it. The alert is a check, not a live trigger. CI usage reaches billing every hour, at about half past (02:30 UTC is the day's full reconciliation), and the thresholds are checked at 02:50 UTC and again at 08:00 UTC. So the Usage figures lag your CI jobs by up to about an hour, and the alert can arrive up to about a day after the moment you crossed the threshold.

The alert is a notice: nothing stops when it fires. If you want new CI jobs to stop at a figure, set a Spending cap under Settings → Billing → Limits as well. It is checked within minutes of the usage reaching billing, so a month can pass it by up to about two hours of usage at the rate your jobs are running before new jobs stop. Spending alerts and the spending cap has both in full.

At the end of a period the usage is turned into a draft invoice with a line per category, and then charged to the card on file. You can read the lines before and after it is charged.

A card is required before compute runs. Free compute with internet egress attracts miners, and we would rather say why than pretend otherwise.

A failed payment does not delete anything. You are told, retried on a schedule, and told again — and if it stays unpaid, the account is restricted rather than torn down: existing work and history remain readable while new compute is held. Paying the invoice restores it, within a couple of minutes: the banner's Pay button opens the oldest unpaid invoice. Changing the card does not pay an overdue invoice by itself. Invoices and payments has the stages, day by day.

If you think a charge is wrong, email us first. A chargeback pauses new jobs until the card network closes it, which usually takes weeks. Disputed charges says what to do while one is open.

Disputes are recorded against the invoice they concern, so the history stays readable by the organisation it belongs to.