I run a job platform with one human engineer (me) and a handful of AI coding agents. The agents open most of the pull requests. In the last two weeks our CI ran 33,152 jobs and we merged about 114 PRs a day.

We changed CI setups four times since July. Here is what each cost per merged PR, from our own usage exports and list prices.

The four setups

Setup Dates (2026) $/day Merged PRs/day $/merged PR
GitHub Actions on 3 GCP VMs to Jul 9 ~$10 30 ~$0.33
GitHub Actions on Cloudflare Containers (self-hosted, one container per job) Jul 10 – Oct 17 $22.72 38 $0.36 – $0.63
Our own scheduler on Cloudflare Containers, $ gate Oct 18 – Nov 13 $17.77 32 (capped) $0.39 – $0.46
Depot CI Nov 17 – now ~$80 at list 114 ~$0.80

Between Nov 14 and Nov 16 we gated PRs on an 8 GB laptop. One run took about 75 minutes.

Why we moved

GCP VMs. About $300 a month for a fixed fleet doing about 2,536 job-minutes a day. By September the agents needed about 7,300 a day.

Cloudflare Containers behind GitHub Actions. Self-hosted runners, one container per job. Cheap per minute: vCPU bills on CPU actually used, and our runners sat about 41% busy, so a 4 vCPU / 12 GiB container cost about $0.0039 per minute. GitHub's 4-core runner lists at $0.012.

Our own scheduler. Then we took GitHub Actions out of the loop. A Cloudflare Worker took the pull_request webhook, started containers and posted commit statuses. It worked. But CI was $607 a month at list, 69% of our Cloudflare usage, and that budget is meant for production. It also needed a daily dollar gate, and the gate leaked: agents used a manual override for "hotfixes", and one day hit $41.80 against a $5 cap. The lesson: a soft cap with an override is not a cap for agents. They will use the override. Make limits hard and keep the override with a human. With the cap enforced we merged about 32 PRs a day. From July to November, 422 merged PRs touched our CI code. We switched it off on Nov 14.

Depot CI. We moved on Nov 17.

The Depot numbers

From the November usage export (Nov 16 – 30):

  • 33,152 job attempts, 72,508 elapsed minutes, 303,014 vCPU-minutes (average 4.2 vCPU per job)
  • The PR gate is 78% of compute: 26,626 attempts, 2.2 minutes each, mostly on 4-vCPU runners
  • That is 18.6 PR-gate jobs per merged PR. Agents push often.
  • The e2e lane is 164 runs at 24.5 minutes each
  • 1,005 GB of remote build cache against 250 GB included
  • 1.66 million test results

Depot's usage estimate for Nov 16 – Dec 1 is about $1,200 at list: $200 plan, about $849 of compute past the included 20,000 minutes, and about $151 of cache storage.

The catch

  1. The minutes are not cheaper. Depot CI is $0.00005 per vCPU-second, which is $0.003 per vCPU-minute. A 4-vCPU runner costs $0.012 a minute, the same as GitHub's 4-core hosted runner. The same minutes on GitHub-hosted would have been about $894. You pay Depot for faster runners, caching, a merge-friendly API and no runner ops.
  2. It bills allocated vCPU. Cloudflare billed our CPU use. Depot bills the runner size for every second, so a 4-vCPU job at 41% CPU pays for 4.
  3. It adds up fast at agent volume. At list price our usage is about $2,300 a month.
  4. The usage cap defaults to unlimited. Ours was set to "Unlimited usage".
  5. Cache storage grows quietly. 1 TB of build cache is $151 a month on its own.
  6. CI moved cost to other bills. Depot runners deploy real preview workers for e2e. That added about $8.90 a day on Cloudflare.
  7. Green tests, red jobs. The test failure rate reads 0.0% (388 of 1.66 million). Job failures were 7.1% (2,357 of 33,152). Flakes, infra resets and cancelled jobs live in the gap.

Migration traps

  • Check runs are named <workflow> / <job>, so our branch-protection contexts stopped matching. We post commit statuses ourselves.
  • pnpm/action-setup with a version: conflicts with packageManager in package.json.
  • gh pr list --json statusCheckRollup caps at 100 entries. One head had 129 check runs, the passing ones were hidden, and our merge train never picked the PR.
  • Reading checkSuite.workflowRun over GraphQL returned "Resource not accessible by integration", which made the train see zero checks. We read check runs over REST instead.
  • Faster runners clicked before React hydrated. That was the biggest e2e flake class. We fixed it in the product with a hydrated flag.
  • Visual-diff baselines were pinned to the old container image.

Did it pay off for the product?

Cost per PR only matters if the product gets better. Here are the four weeks before (our own scheduler, Oct 18 – Nov 13) against the first 12 days on Depot (Nov 18 – 29):

Metric Before Depot
Merged PRs per day 44 113
Feature PRs per day (feat/perf) 14 27
Share of PRs that are fixes 54% 33%
New Sentry error types per 100 merged PRs 23.5 5.1
Deploys to production per day 44 39
Median PR lead time 0.6 h 0.8 h

Two honest notes. Deploy frequency did not go up: the merge train now batches about 3 PRs per deploy, so we ship more per deploy, not more deploys. And not all of the defect drop is CI: we quarantined our flakiest e2e tests and fixed pre-hydration clicks in the same weeks. Still, fewer new production errors per PR at 2.5x the PR volume is the result we care about.

Was it worth it?

For us, yes. We merge 3.6x the PRs per day we merged under the capped Cloudflare setup, for about 2x the cost per PR, and nobody maintains a runner fleet. The Cloudflare budget goes back to production. The next saving is right-sizing the PR gate, which is 78% of compute.

When each option wins

  • Under ~5 PRs a day: GitHub-hosted runners. The included minutes probably cover you.
  • Steady volume, cash-tight, time to spare: self-hosted containers billed on CPU used are the cheapest per PR we measured. You own the scheduler, the budget gate and the image.
  • Bursty or agent-driven volume with heavy e2e: a managed fast runner like Depot. Set a usage cap on day one and right-size runners by job.
  • Whatever you pick: keep CI portable. Each move cost us real work.

We build lokerdollar.com, where companies hire Indonesian talent for any role, with free hiring tools. This CI setup is how a one-person team ships it.

I also help engineering teams move from vibe coding to agentic coding: a software factory where agents open PRs, CI gates them and a merge train ships them, with the cost and defect numbers to show for it. If your team is working on that, reach out on LinkedIn.

How are you capping what your coding agents spend? Tell me in the comments.

Method: Depot usage CSV export (Nov 2026), Depot usage estimate, merged PRs and lead times from the GitHub API, new issues from Sentry, Cloudflare Containers usage from the GraphQL API priced at list, merged PRs from git history, Depot and GitHub pricing pages read Nov 30, 2026.