SKIP_TO_MAIN_CONTENT
03.1 // Post

Your GitHub Actions cache now lives next to your runner

PUBLISHED NOVEMBER 24, 2026 // AUTHOR LEONARD O'SULLIVAN
FEATURED_IMAGE.PNG ASSET_01
A long-exposure rocket launch arcing into a starry night sky
01 Article body
[REF_001]

Technical write-up from the team at machine.dev.

Every machine.dev plan now comes with its own GitHub Actions cache. It sits in the same region as your runner, the first 25 GB per repository is free, and your workflows don't change. It's been in beta with a handful of teams for the last few weeks. Today it's generally available on every plan.

A team admin flips one switch in Settings → Cache. That's the whole setup.

Why we built it

GitHub's cache lives in Azure, because of course it does. That's a long way from our runners, so every cache restore was a trip across the internet while you paid for the runner to wait.

For a small cache that doesn't matter. ML caches aren't small. A pip cache with torch in it is 3 GB, and GitHub only gives you 10 GB per repository, so big caches get evicted fast too.

Paying GPU prices to watch a progress bar was not our finest piece of engineering.

What changes in your workflow

Nothing. actions/cache, setup-python with cache: pip, Docker's type=gha cache and the rest keep working exactly as written. They just restore from a lot closer. We tested the 20 most common caching setups and every one of them got a hit.

How fast

WorkloadSizeGitHubmachine.dev
Random data4.3 GB80.3 s13.1 s
pip install torch cache3.0 GB53.5 s9.9 s
Hugging Face model773 MB12.9 s3.2 s
npm install cache122 MB1.5 s1.2 s

Small caches barely change, because there wasn't much time to save. The bigger your cache, the more you get back.

What it costs

The first 25 GB per repository, in each region, is free. If a repo needs more, raise its limit in Settings → Cache and pay $0.10 per GiB-month for what you actually store above that.

It's plans only. Builder is $25 a month and comes with $25 of compute, so the cache comes along for free. Pay-as-you-go teams keep using GitHub's cache, same as before.

How it compares

GitHub gives you 10 GB per repository and charges for more. Other runner providers either have you run a cache in your own cloud account or swap actions/cache for their own fork in every workflow. Ours needs neither. You flip a switch and your existing steps get faster.

Worth knowing

It's region-locked, so if a job runs in a region your repo hasn't used before, its first run there starts cold. Like GitHub's cache, any job in the repository can restore its entries, so don't put secrets in cached paths. And if one job should stay on GitHub's cache, add cache=false to its label.

For now: it's live, it's free up to 25 GB a repo, and the switch is waiting in Settings → Cache. Your GPUs can go back to doing GPU things.

The details are in the cache docs.

Header photo by SpaceX on Unsplash.

02 Share
03 Continue reading
04 Initialize
READY
> STOP_READING // START_BUILDING

High powered
CI infra.

$10 free compute on signup. Two minutes to connect your GitHub org. torch.cuda.is_available() == True on the first run.