BuildJet vs GitHub-Hosted Runners: コストと速度
BuildJet は、GitHub-hosted ランナーの人気の高い、安くて速いドロップイン代替です。コストを下げるシンプルな入れ替えです。
BuildJet は、GitHub-hosted より安く速い、GitHub Actions 向けのドロップインランナーを提供します。成熟したシンプルな選択肢です。GitHub-hosted との比較と、自己修復するマネージドランナーがどこで上乗せするかを見ていきます。
Published Linux rates, private repository
| GitHub-hosted | BuildJet | Latchkey | |
|---|---|---|---|
| 分単価 | プレミアム | より安い | hosted 比 約70%減 |
| セットアップ | 標準搭載 | label の入れ替え | label の入れ替え |
| 速度 | 標準 | より速い CPU | ウォームプール、高速 |
| キャッシュ | 基本のみ | 標準搭載 | 標準搭載 |
| 不安定な失敗からの回復 | なし | なし | 自己修復による自動リトライ |
BuildJet の得意なこと
BuildJet は成熟し予測しやすい、安価なランナーへの入れ替えです。ランナーの label を変えるだけで、最小限の変更で GitHub-hosted より低コストで多くの場合より速いマシンが得られます。
| Size | GitHub-hosted | BuildJet AMD | Actual saving |
|---|---|---|---|
| 2 vCPU | $0.006 | $0.004 | 33% |
| 4 vCPU | $0.012 | $0.008 | 33% |
| 8 vCPU | $0.022 | $0.016 | 27% |
| 16 vCPU | $0.042 | $0.032 | 24% |
| 32 vCPU | $0.082 | $0.048 | 41% |
マネージドランナーが上回る点
Latchkey も安価なドロップインランナー (GitHub-hosted 比 約70%減) ですが、ジョブが待ち行列に入らないウォームプールと、一時的な失敗を自動リトライする自己修復を加えます。単なる安価な入れ替えでは得られない回復です。
- 2 vCPU: 8 GB on AMD against 3 GB on ARM, at the same $0.004/min.
- 8 vCPU: 32 GB on AMD against 12 GB on ARM, at the same $0.016/min.
- If a job is memory-bound rather than CPU-bound, the ARM option at the same price can be slower or fail outright on out-of-memory.
コストと信頼性の両立
安く入れ替えるだけが目的なら BuildJet は良い選択です。不安定な再実行への支払いも止めたいなら、Latchkey のようなマネージドランナーの自己修復が決め手になります。
- Default concurrency is 64 AMD vCPUs and 32 ARM vCPUs. A wide matrix can hit that ceiling and queue.
- Concurrency extensions add 100 vCPUs for $300/month, which is a real cost to fold into any comparison at scale.
- Cache storage is 20 GB per repository weekly, against the 10 GB per-repository limit on GitHub-hosted, with oldest entries cleared automatically.
- Accounts get a one-time $5 credit rather than a recurring free-minute allowance, so unlike Blacksmith at 3,000 free minutes per month there is no ongoing free tier.
切り替えと、元に戻すこと
どちらの方向もjobごとに1行です。最もコストの高いjobをBuildJetに向け、実際の実行を2週間分比較し、その数字が自分のpipelineでも通用した場合にのみ範囲を広げてください。
jobs:
build:
# GitHub-hosted
runs-on: ubuntu-latest
# BuildJet
runs-on: buildjet-4vcpu-ubuntu-2204
# Latchkey
runs-on: latchkey-small安いminuteでは解決しないこと
BuildJetはminuteの単価を下げます。しかし、コードとは無関係な失敗で消費するminute数は変わりません。registryのタイムアウト、インストールされなかったブラウザバイナリ、一時的な依存関係の解決エラー。jobは失敗し、失敗したminuteは課金され、再実行も課金され、pipelineは人間を待ちます。jobの10%を再実行するpipelineに33%安いminuteを適用しても、その再実行分は割引価格で払い続けているだけです。
Decide with your own repository
- Both tools in a mature category can do the job. What differs is behaviour on your codebase, which takes an afternoon to measure and beats any feature table.
- Benchmark the cold path with no cache. Warm local runs favour whatever you already have cached, which is the one condition CI never has.
- Price the switching cost honestly: lockfile or config format, stricter resolution surfacing latent bugs, and every developer plus every runner having to move together.
The verdict
BuildJet はコスト削減のための堅実でシンプルな入れ替えです。同じドロップイン体験に加えて自己修復の信頼性とウォームプールの速度が欲しいなら、Latchkey も並べて評価してください。無料で始められます。