By Davide Ciffa

CI builds and AI code review on one Lucebox: paid back in about 5 months

One Lucebox now reviews every pull request on our main repository and runs the Linux jobs we move to it, and the code never leaves the office. Our CI bots cost us about $1,340 a month on hosted models. The box costs $8,199 once and about $1 a day, and pays for itself in about 5 months.

A Lucebox with a long strip of printer paper running out of it, rows of code with a check mark every few rows

In short

Set it up

The CI tab in Lucebox Manage on our box, recorded read-only. Repository, box, job and pull request names are changed.
  1. Connect GitHub. The CI tab creates a GitHub App for the box. It sees only the repositories you pick.
  2. Start the runner. GitHub jobs run in a virtual machine on the box, apart from the model and the dashboard.
  3. Turn on code review. Every new pull request gets a review from DeepSeek V4.1 Flash on the box. A bug is posted only with the command and the output that show it.
  4. Move jobs. The job picker lists the jobs the box can run and moves the ones you pick with a pull request.

What it costs

Our four CI bots cost us about $1,340 a month on hosted models today, mostly Kimi K3 and GLM 5.3. GitHub's list price for our Linux minutes adds about $215. One Lucebox does that work for $8,199 once and about $28 a month of electricity, so it pays for itself in about 5 months.

In a budget the box is a purchase, written off over the years it serves: $256 a month over three years, or $165 over five, electricity included. Hosted services are a bill every month, and it grows with every pull request. The table assumes all our Linux jobs move to the box; so far we have moved two.

When one box pays for itself, by what it replaces in our CI
What it replacesA monthPays back in
What our CI pays today: the hosted models of our four CI bots, plus GitHub's Linux minutes$1,560~5 months
The same model hosted, DeepSeek V4.1 Flash at list price, reviewing every new commit (about 2,400 a month in our two repositories), plus Linux minutes$870~10 months
The same model hosted, one review per pull request (about 480 a month), plus Linux minutes$345~26 months
What has been spent after each month: one box and its electricity, against three hosted bills for the same work.

These numbers count only our CI. The box is idle most of the day: our reviews need about 7 hours of model time and our Linux jobs about a tenth of its cores. Whatever else a team runs on it, like coding agents or chat, comes on top for the same $1 a day.

Against the hosted models we use today, the 5 months assume the box serves all four of our CI bots and reviews as well as those models do. We are measuring the review part now.

What we measured

On one Lucebox Zero 495 with 192 GB, running DeepSeek V4.1 Flash
WhatResult
Our engine build7.6 minutes, against 24.1 on GitHub's runners (average of 92 runs)
The same build while the box writes a review8.3 minutes; while a build runs, the model writes about 9% slower
A pull request with two planted bugsBoth found, each shown with a command, in about two and a half minutes
Real reviews3 to 16 minutes each
Four reviews or chats at once7.4 tok/s each, up to 64K tokens of context each

What we learned

What comes next

How we worked it out

Our two repositories over 30 days, from GitHub: 482 pull requests, 2,380 commits pushed to them, and 480 reviews from our review bot, about one a pull request.

In 12 days of its logs the review bot ran 220 times, read about 167 million tokens and wrote about 8 million: about 760,000 read and 36,000 written a review. At DeepSeek V4.1 Flash's list price on a hosted API, $0.30 per million tokens read and $1.20 written, that is about $0.27 a review.

Our four CI bots spent about $530 on hosted models in those 12 days, mostly Kimi K3 and GLM 5.3: about $1,340 a month.

GitHub's list prices for the minutes the box takes: 35,860 Linux minutes a month on 2-core runners at $0.006, about $215. Our Windows, ARM64 and GPU-test minutes stay where they run: the box has no Windows, no ARM64 cores, and its GPU holds the model.

Electricity at $0.30 per kWh: about 2.8 kWh a day for 7 hours of reviews and 0.3 kWh for the Linux jobs, about $28 a month. The payback is the box's price over what it saves a month.


Related

Run your CI on a Lucebox

The engine is open source.

The box GitHub Discord