Google Kubernetes Engine (GKE) Calculator
Compare GKE Autopilot per-pod billing with Standard node billing, including the cluster fee and the 110-pod ceiling.
About Google Kubernetes Engine (GKE) Calculator
Standard mode bills whole nodes whether or not pods fill them, so the node count is the maximum of three constraints: CPU requests, memory requests and the 110-pod ceiling. Autopilot instead bills the sum of your pod requests at a higher per-vCPU rate, which comes out cheaper precisely when your nodes would have sat half empty. The Autopilot-versus-Standard decision usually turns on bin-packing efficiency rather than on the headline rates, and the pod ceiling catches teams running many tiny sidecars long before CPU does. Check node, Autopilot and cluster-fee prices for your region in the Google Cloud pricing calculator before choosing a mode.
Formula
Google Kubernetes Engine (GKE)
nodes = max(CPU requests ÷ allocatable CPU, memory requests ÷ allocatable memory, pods ÷ pods-per-node); Standard = nodes × node price × hours + cluster fee, Autopilot = (Σ pod CPU × vCPU rate + Σ pod memory × GiB rate) × hours + cluster fee.
- allocatable CPU
- Node vCPU after the system reservation for kubelet, the OS and GKE add-ons
- pods-per-node
- 110 by default, which also fixes the /24 pod CIDR carved per node
- Autopilot
- Billing mode that charges the sum of pod requests rather than whole nodes
Worked example
With the default values below, Google Kubernetes Engine (GKE) Calculator returns Nodes Required of 9. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Pods to runaccepts 1–20,000 pods
- 60 pods
- CPU request per podaccepts 0.05–64 vCPU
- 0.5 vCPU
- Memory request per podaccepts 0.1–512 GiB
- 2 GiB
- vCPUs per nodeaccepts 1–416 vCPU
- 4 vCPU
- Memory per nodeaccepts 1–12,000 GiB
- 16 GiB
- Price per node-houraccepts 0–100 USD/node-hour
- 0.134 USD/node-hour
- Maximum pods per nodeaccepts 8–256 pods
- 110 pods
- Node capacity reserved for the systemaccepts 0–40 %
- 12 %
- Autopilot price per vCPU-houraccepts 0–10 USD/vCPU-hour
- 0.0445 USD/vCPU-hour
- Autopilot price per GiB-houraccepts 0–10 USD/GiB-hour
- 0.0049 USD/GiB-hour
- Cluster management feeaccepts 0–10 USD/hour
- 0.1 USD/hour
- Apply the free cluster credit
- Yes
- Hours in the billing monthaccepts 1–744 hours
- 730 hours
Results
- Nodes Required
- 9 nodes
- Standard Mode Cost
- $880.38
- Autopilot Mode Cost
- $1,403.79
- Cheaper Mode Here
- Standard — packed nodes cost less than per-pod billing at these requests
- Cluster Fee
- $0.00
- CPU Booked on the Nodes
- 83.3%
- Pod Ceiling at This Node Count
- 990 pods
- Node Count Driven By
- CPU requests
Step by step
- 1Values used
- 2Google Kubernetes Engine (GKE)
- 3Nodes Required= 9 nodes
- 4Standard Mode Cost= 880.38
- 5Autopilot Mode Cost= 1,403.79
- 6Cheaper Mode Here= Standard — packed nodes cost less than per-pod billing at these requests
- 7Cluster Fee= 0.00
- 8CPU Booked on the Nodes= 83.3
Assumptions and limits
- The result is derived only from the 13 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax or compounding frequency into account.
- Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Google Kubernetes Engine (GKE) calculated?
nodes = max(CPU requests ÷ allocatable CPU, memory requests ÷ allocatable memory, pods ÷ pods-per-node); Standard = nodes × node price × hours + cluster fee, Autopilot = (Σ pod CPU × vCPU rate + Σ pod memory × GiB rate) × hours + cluster fee. Standard mode bills whole nodes whether or not pods fill them, so the node count is the maximum of three constraints: CPU requests, memory requests and the 110-pod ceiling. Autopilot instead bills the sum of your pod requests at a higher per-vCPU rate, which comes out cheaper precisely when your nodes would have sat half empty.
Why does Google Kubernetes Engine (GKE) matter?
The Autopilot-versus-Standard decision usually turns on bin-packing efficiency rather than on the headline rates, and the pod ceiling catches teams running many tiny sidecars long before CPU does. Check node, Autopilot and cluster-fee prices for your region in the Google Cloud pricing calculator before choosing a mode.
What values do I need to enter?
This calculator takes 13 inputs: Pods to run, CPU request per pod, Memory request per pod, vCPUs per node, Memory per node, Price per node-hour, Maximum pods per node, Node capacity reserved for the system, Autopilot price per vCPU-hour, Autopilot price per GiB-hour, Cluster management fee, Apply the free cluster credit, Hours in the billing month. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
Why does GKE reserve part of every node?
kubelet, the container runtime, the OS and GKE add-ons such as the metrics agent and DNS all consume resources before your pods are scheduled. The reservation grows with node size in absolute terms but shrinks as a percentage, which is one argument for fewer, larger nodes.
Related Calculators
You might also need
- Cloud Run Cost CalculatorCommonly used together
- Compute Engine Cost CalculatorCommonly used together
- GCP VPC Network PlannerCommonly used together
- Artifact Registry Storage CalculatorCommonly used together
- Container Registry Migration CalculatorCommonly used together
- BigQuery Cost CalculatorAlso in Google Cloud
