Integrations4 min read
ByCostGraph Team
Announcing the boxd integration for CostGraph
Track boxd machine costs and usage, run sandboxes in your own account, and use boxd runners with AutoPilot for CI.
Coding agents and CI jobs need somewhere to run. Their machines should be part of the same cost view as the rest of your infrastructure.
Today, we're announcing our integration with boxd. You can bring daily machine costs and usage into CostGraph, run CostGraph sandboxes in your own boxd account, and use boxd as a runner provider for AutoPilot for CI.
boxd runs persistent KVM microVMs for developers and agents. It bills for active vCPU, active memory, and disk space written to. Machines can run, sit in standby, or hibernate. A hibernated machine pays only for its disk.
Track costs and usage per boxd machine
The integration reads boxd's billing for your organization and records each machine's cost every day. Alongside the cost, every record carries the usage behind it:
- vCPU-hours of active CPU
- GiB-hours of memory
- GiB-hours of disk written
- Hours spent running, in standby, and hibernated
- The machine's size in vCPUs and GiB of memory
Compare each machine's cost with its CPU, memory, and disk usage, and see how long it spent in each state.
Understand CPU, memory, and disk charges
We connected our own boxd organization and checked the imported cost against boxd's published EUR rates:
- Active CPU: EUR 0.039 per vCPU-hour.
- Active memory: EUR 0.012 per GiB-hour.
- Written disk: EUR 0.00008 per GiB-hour.
Usage figures are rounded.
The stopped machine's whole cost comes from the 4 GiB it has written. At the published disk rate, keeping that data for 30 days costs about EUR 0.23. CostGraph shows these charges per machine, so you can find stopped machines you no longer need.
Run CostGraph sandboxes in your boxd account
CostGraph can also start sandboxes on boxd. When you connect boxd, the CostGraph MCP server and workflows can create a sandbox on your account, run commands in it, and delete it when the work is done. Docker is available inside the sandbox.
Because the sandboxes run in your own boxd organization, their cost lands on your boxd bill and comes back into CostGraph with the rest of your usage.
Use boxd runners with AutoPilot for CI
boxd is also available as a runner provider for AutoPilot for CI. AutoPilot routes a GitHub Actions job to another provider only when that provider fits the job and matches your cost and speed policy.
Connect boxd to CostGraph
In boxd, create an API key for your organization. Then open Integrations in CostGraph, select boxd, choose a tenant, and enter the key. CostGraph reads your billing once a day, and the same connection can run sandboxes.
boxd support is available on all CostGraph plans.
Get started with CostGraph or book a demo to see it with your infrastructure.
Questions about boxd billing and usage
Daily cost per machine, as boxd charged it, with the active vCPU-hours, memory GiB-hours, disk GiB-hours, and the hours each machine spent running, in standby, and hibernated.
boxd balances are in EUR or USD, set when the organization is created. CostGraph imports the cost in the currency boxd billed.
CostGraph reads boxd billing once a day. The current day stays open until boxd closes it, so its total can still change.
boxd bills disk for the space a machine has written, in every state. A stopped or hibernated machine keeps paying for its disk until it is deleted.