google_ container_ cluster cost estimation
A managed Kubernetes cluster on GKE. Two operating modes: Standard with per-cluster management fee, or Autopilot priced per pod.
A google_
Standard mode: you manage node pools (google_
Autopilot mode (enable_
Standard mode is right when you need GPU pods, custom node OS, daemonsets, or have steady utilization. Autopilot is right when utilization is variable, you don't want to manage nodes, or you have few pods.
Additional costs apply for: load balancers (each Service of type LoadBalancer creates a google_
c3x reads the cluster mode and node pool configurations. Autopilot pods need pod request specs from the deployment manifests or usage file.
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "google_container_cluster" "production" {
name = "production"
location = "us-central1"
remove_default_node_pool = true
initial_node_count = 1
release_channel {
channel = "REGULAR"
}
}
resource "google_container_node_pool" "general" {
name = "general-pool"
cluster = google_container_cluster.production.id
node_count = 3
node_config {
machine_type = "e2-standard-4"
disk_size_gb = 100
disk_type = "pd-balanced"
}
autoscaling {
min_node_count = 2
max_node_count = 10
}
}Pricing dimensions
What you actually pay for when you provision google_.
| Dimension | Unit | What's being charged |
|---|---|---|
| Standard cluster management fee | per cluster per hour | Flat hourly fee for the control plane on Standard mode. Free for the first zonal cluster per billing account. $0.10/hour ≈ $73/month |
| Node VMs (Standard mode) | per VM per hour | Worker nodes are GCE instances. Standard GCE pricing applies, including SUD/CUD. |
| Node disks | per GB-month | Boot and persistent disks for each node. |
| Autopilot pod CPU | per vCPU-hour | Billed by the requested CPU of each pod. Rounded to nearest 0.25 vCPU. |
| Autopilot pod memory | per GB-hour | Billed by the requested memory of each pod. Rounded to nearest 1 GB. |
| Autopilot ephemeral storage | per GB-hour | Billed by requested ephemeral-storage of each pod. |
Optimization tips
Common ways to reduce google_ cost without changing the workload.
Take advantage of the free zonal cluster
$73/monthGKE includes one free zonal cluster per billing account. Use it for dev/staging to avoid the $73/month management fee on Standard mode.
Use Spot VMs for batch and stateless workloads
60-91% on computeSpot VMs in GKE Standard cost 60-91% less than on-demand. Right for CI/CD runners, batch jobs, and stateless services that tolerate eviction.
Use Autopilot for low-utilization workloads
Workload-dependentStandard mode pays for nodes even when pods underutilize them. Autopilot bills per pod request, so low-utilization clusters cost less. Crossover depends on average node utilization.
Buy Committed Use Discounts for Standard node pools
37-70%1-year CUDs cut compute by 37%, 3-year by 70%. Right for production node pools with steady min_
FAQ
Standard or Autopilot for production?
Standard is more flexible (custom OS, GPUs, daemonsets, more control over node sizing). Autopilot trades flexibility for operational simplicity. Most production workloads still use Standard; Autopilot is a strong choice for small-team operations.
Does c3x include load balancer cost?
Yes. Each Kubernetes Service of type LoadBalancer creates a google_
Are GKE security updates free?
Yes. Node OS patching, control plane upgrades, and security fixes are included. The Premium tier of Anthos Service Mesh and other Anthos components have separate costs.
What about regional vs zonal clusters?
Regional clusters replicate the control plane across zones for HA. Both have the same $73/month management fee on Standard, but regional clusters typically have 3x the nodes (one per zone) by default. Zonal clusters can be cheaper for dev.
Related resources
More Google Cloud resources
Further reading
- AWS vs GCP for Kubernetes cost: EKS or GKE for your cluster?
EKS and GKE both charge a control-plane fee and node compute, but their pricing details, autopilot options, and free-tier treatment differ enough to matter. Which cloud is cheaper for Kubernetes depends on cluster count and how you run nodes. Here is the comparison.
- GCP Cloud Composer cost: a managed Airflow baseline that is always on
Cloud Composer bills environment compute (per-hour, always on) plus the underlying GKE, database, and storage. The always-on environment fee is significant, so consolidating DAGs and right-sizing the environment matter. Here is the breakdown.
- Cloud Run vs GKE cost: when serverless beats a node pool
Cloud Run bills per request-second and scales to zero; GKE bills for nodes 24/7. The cheaper option comes down to utilization. Here's the crossover, the min-instances trap, and where Autopilot fits.
- GCP Committed Use Discounts vs Sustained Use Discounts
SUDs are automatic (30% off steady workloads). CUDs require commitment (25-55% off). They don't stack. Here's the math, the break-even, and the optimal strategy: 3-year flexible CUDs on baseline, SUDs above, Spot for elastic.
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including google_.