CloudEstimate

Size vLLM Inference Server on Azure

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

Monthly cost

$2,012.26

Annual cost

$24,147/year

Line-item breakdown

Compute $1,888.51
Storage $123.75
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Inference Worker 2 × Standard_NC16as_T4_v3 (1× GPU) 16 64 500 GB nvme
Router Gateway 1 × Standard_D4ls_v6 4 8 50 GB ssd

Why this sizing

This medium sizing configuration fits multi-replica GPU serving workloads for fourteen to thirty-two billion quantized models with prefix caching. Compute is the primary cost driver at eighteen hundred eighty-eight dollars and fifty-one cents monthly, led by two Standard NC16as T4 v3 instances. High availability is disabled, which creates a single point of failure across the deployment. Platform engineers migrating workloads to Google Cloud should evaluate comparable accelerator pricing.

Export

Share the current URL or copy the Azure Terraform / OpenTofu baseline.

Open generic Azure calculator
Azure Terraform / OpenTofu baseline
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
  required_version = ">= 1.6.0"

  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "~> 4.0"
    }
  }
}

variable "ssh_public_key" {
  description = "SSH public key installed on Linux virtual machines."
  type        = string
  default     = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG5vplaceholderreplacebeforeapply00000000000 azureuser@example"
}

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "workload" {
  name     = "vllm-westus3-rg"
  location = "westus3"
}

resource "azurerm_virtual_network" "workload" {
  name                = "vllm-vnet"
  address_space       = ["10.42.0.0/16"]
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name
}

resource "azurerm_subnet" "workload" {
  name                 = "workload-internal"
  resource_group_name  = azurerm_resource_group.workload.name
  virtual_network_name = azurerm_virtual_network.workload.name
  address_prefixes     = ["10.42.1.0/24"]
}

# Generated for Azure (westus3) from the current estimate state.
resource "azurerm_network_interface" "inference_worker_1_nic" {
  count               = 2
  name                = "vllm-inference-worker-1-nic-${count.index + 1}"
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name

  ip_configuration {
    name                          = "internal"
    subnet_id                     = azurerm_subnet.workload.id
    private_ip_address_allocation = "Dynamic"
  }
}

resource "azurerm_linux_virtual_machine" "inference_worker_1" {
  count                 = 2
  name                  = "vllm-inference-worker-1-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_NC16as_T4_v3"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.inference_worker_1_nic[count.index].id]

  admin_ssh_key {
    username   = "azureuser"
    public_key = var.ssh_public_key
  }

  os_disk {
    caching              = "ReadWrite"
    storage_account_type = "StandardSSD_LRS"
    disk_size_gb         = 50
  }

  source_image_reference {
    publisher = "Debian"
    offer     = "debian-12"
    sku       = "12-gen2"
    version   = "latest"
  }

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

resource "azurerm_managed_disk" "inference_worker_1_data" {
  count                = 2
  name                 = "vllm-inference-worker-1-data-${count.index + 1}"
  location             = azurerm_resource_group.workload.location
  resource_group_name  = azurerm_resource_group.workload.name
  storage_account_type = "Premium_LRS"
  create_option        = "Empty"
  disk_size_gb         = 500
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "inference_worker_1_attach" {
  count              = 2
  managed_disk_id    = azurerm_managed_disk.inference_worker_1_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.inference_worker_1[count.index].id
  lun                = 0
  caching            = "None"
}

resource "azurerm_network_interface" "router_gateway_2_nic" {
  count               = 1
  name                = "vllm-router-gateway-2-nic-${count.index + 1}"
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name

  ip_configuration {
    name                          = "internal"
    subnet_id                     = azurerm_subnet.workload.id
    private_ip_address_allocation = "Dynamic"
  }
}

resource "azurerm_linux_virtual_machine" "router_gateway_2" {
  count                 = 1
  name                  = "vllm-router-gateway-2-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_D4ls_v6"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.router_gateway_2_nic[count.index].id]

  admin_ssh_key {
    username   = "azureuser"
    public_key = var.ssh_public_key
  }

  os_disk {
    caching              = "ReadWrite"
    storage_account_type = "StandardSSD_LRS"
    disk_size_gb         = 50
  }

  source_image_reference {
    publisher = "Debian"
    offer     = "debian-12"
    sku       = "12-gen2"
    version   = "latest"
  }

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

resource "azurerm_managed_disk" "router_gateway_2_data" {
  count                = 1
  name                 = "vllm-router-gateway-2-data-${count.index + 1}"
  location             = azurerm_resource_group.workload.location
  resource_group_name  = azurerm_resource_group.workload.name
  storage_account_type = "StandardSSD_LRS"
  create_option        = "Empty"
  disk_size_gb         = 50
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "router_gateway_2_attach" {
  count              = 1
  managed_disk_id    = azurerm_managed_disk.router_gateway_2_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.router_gateway_2[count.index].id
  lun                = 0
  caching            = "None"
}

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: Azure 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 Azure