Estimate Cloud Build costs across machine types, build minutes, free tier, and Artifact Registry storage.
Last verified: May 2026
8.33 hours/month
~150 builds/month
3,100 free minutes remaining
First 0.5 GB free, then $0.10/GB/month
First 1 GB free, then standard GCP egress rates
The Cloud Build Cost Estimator helps you project monthly costs for Google Cloud Build based on your build configurations. You can specify machine types, build frequency, average build duration, and concurrent builds to get a detailed cost estimate. The tool shows how different machine types (e2-medium, e2-highcpu, custom) and build volumes affect your spending, and accounts for the free tier included with Cloud Build.
Your team's Cloud Build bill is $400/month — surprising given you only have ~50 builds/day. The estimator shows the math: 50 builds × 12 min average = 600 min/day - 120 free = 480 paid min/day × 30 days × $0.003/min (e2-medium) = $43... but you're using e2-highcpu-8 at $0.016/min = $230. The other $170 comes from a nightly integration test suite running on n2-highmem-32 at $0.10/min for 30 min/run × 30 days = $90, plus various overages. You optimize Docker layer caching, dropping average build to 4 min, and switch the integration tests to e2-standard-16, cutting the bill to $145/month.
The 120-min/day free tier is per-PROJECT, not per-account. Teams that split CI/CD across many small projects (e.g., one per microservice repo) get effectively N × 120 free minutes daily. Conversely, monorepo projects often blow through the free tier on a single project before lunch.
Cloud Build's machine-type choice has dramatic impact on duration AND cost. e2-medium ($0.003/min) for a slow 30-min build = $0.09. e2-highcpu-8 ($0.016/min) for the same build at 5 min = $0.08 — same cost, 6x faster feedback loop. Always benchmark your build with a higher tier; faster builds usually win on cost too.
Layer caching is the single biggest Cloud Build optimization. A typical Dockerfile with proper layer caching builds in 2-3 minutes; without caching it takes 8-15 minutes. Use the --cache-from flag with a previously-built image as the cache source. Worth multiple hours of one-time setup for teams running many builds per day.
The estimator computes Cloud Build monthly cost as: (build minutes above 120/day free tier) × per-minute rate by machine type, summed across all daily builds. It surfaces the daily free tier vs. average daily minutes consumption so you can see how much of your bill is overage vs. opportunity for further build optimization.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.