CloudEstimate

Size vLLM Inference Server on Google Cloud

Medium — multi-replica GPU serving for 14B to 32B quantized models with prefix caching

Monthly cost

$1,961.67

Annual cost

$23,540/year

Line-item breakdown

Compute $1,786.67
Storage $175.00
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Inference Worker 2 × g2-standard-16 (1× GPU) 16 64 500 GB nvme
Router Gateway 1 × n4-highcpu-4 4 8 50 GB ssd

Why this sizing

This Google Cloud tier fits multi-replica GPU serving workloads for 14B to 32B quantized models with prefix caching in us-central1. The g2-standard-16 instance family drives the monthly compute cost of $1786.67 across two workers. High availability is disabled, requiring manual intervention for node recovery during maintenance events.

Export

Share the current URL or copy the Google Cloud Terraform / OpenTofu baseline.

Google Cloud Terraform / OpenTofu baseline
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
  required_version = ">= 1.6.0"

  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "~> 6.0"
    }
  }
}

variable "project_id" {
  description = "Google Cloud project ID for this deployment."
  type        = string
  default     = "replace-with-project-id"
}

provider "google" {
  project = var.project_id
  region  = "us-central1"
}

locals {
  zones = ["us-central1-a", "us-central1-b", "us-central1-c"]
}

# Generated for Google Cloud (us-central1) from the current estimate state.
resource "google_compute_disk" "inference_worker_1_data" {
  count = 2
  name  = "vllm-inference-worker-1-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 500
}

resource "google_compute_instance" "inference_worker_1" {
  count        = 2
  name         = "vllm-inference-worker-1-${count.index + 1}"
  machine_type = "g2-standard-16"
  zone         = local.zones[count.index % length(local.zones)]

  boot_disk {
    initialize_params {
      image = "projects/debian-cloud/global/images/family/debian-12"
      size  = 50
      type  = "pd-balanced"
    }
  }

  network_interface {
    network = "default"
  }

  attached_disk {
    source = google_compute_disk.inference_worker_1_data[count.index].id
    mode   = "READ_WRITE"
  }

  scheduling {
    on_host_maintenance = "TERMINATE"
    automatic_restart   = true
  }

  labels = {
    app  = "vllm"
    role = "inference-worker"
  }
}

resource "google_compute_disk" "router_gateway_2_data" {
  count = 1
  name  = "vllm-router-gateway-2-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 50
}

resource "google_compute_instance" "router_gateway_2" {
  count        = 1
  name         = "vllm-router-gateway-2-${count.index + 1}"
  machine_type = "n4-highcpu-4"
  zone         = local.zones[count.index % length(local.zones)]

  boot_disk {
    initialize_params {
      image = "projects/debian-cloud/global/images/family/debian-12"
      size  = 50
      type  = "hyperdisk-balanced"
    }
  }

  network_interface {
    network = "default"
    access_config {}
  }

  attached_disk {
    source = google_compute_disk.router_gateway_2_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "vllm"
    role = "router-gateway"
  }
}

Related views

Sources

Reference architecture: vLLM Inference Server for dual-replica-gpu-inference, version vLLM 0.7+ distributed tensor-parallel & replica serving guidance, retrieved November 11, 2026.

https://docs.vllm.ai/en/latest/serving/distributed_serving.html

Pricing: Google Cloud pricing snapshot, retrieved November 22, 2026.

Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.

Not included in this estimate

  • Vendor licensing and support
  • Professional services
  • Network egress
  • Compliance controls
  • Backup storage
  • Monitoring

Based on vLLM published tensor-parallel (`--tensor-parallel-size`) and data-parallel replica deployment topologies mapped to widely available cloud inference GPU instances.

Estimate excludes H100/B200 frontier training/prefill clusters, shared model-registry object buckets, and API token-gateway egress charges.

Related workloads on Google Cloud