Skip to main content
Azure

Azure Cosmos DB pricing

Build or modernize scalable, high-performance apps

Quickly and easily develop apps at any scale with Azure Cosmos DB, a fully managed and serverless distributed database supporting NoSQL and relational workloads. Get guaranteed speed and availability for NoSQL data, automatic and instant scalability, and support for open source PostgreSQL, MongoDB, and Cassandra. Azure Cosmos DB offers cost-effective pricing models for apps of any size, from dev/test to production.

Explore pricing options

Apply filters to customize pricing options to your needs.

Prices are estimates only and are not intended as actual price quotes. Actual pricing may vary depending on the type of agreement entered with Microsoft, date of purchase, and the currency exchange rate. Prices are calculated based on US dollars and converted using London closing spot rates that are captured in the two business days prior to the last business day of the previous month end. If the two business days prior to the end of the month fall on a bank holiday in major markets, the rate setting day is generally the day immediately preceding the two business days. This rate applies to all transactions during the upcoming month. Sign in to the Azure pricing calculator to see pricing based on your current program/offer with Microsoft. Contact an Azure sales specialist for more information on pricing or to request a price quote. See frequently asked questions about Azure pricing. Learn how you can save on your dynamic workloads with savings plan for databases.

Azure Cosmos DB pricing model

Azure Cosmos DB bills for three different types of usage: compute, storage and bandwidth. The tabs below describe each compute pricing model in greater detail with its accompanying storage and bandwidth pricing models.

Once a compute pricing model and API are chosen, they cannot be changed.

Compute Pricing:

Request Unit (throughput): Azure Cosmos DB bills using Request Units (RU) measured per second (RU/s). Request Units are a proxy for compute, memory and IO used to process database operations and are billed across all selected Azure regions for your Azure Cosmos DB account.

Options for throughput include: Standard Provisioned throughput, Autoscale provisioned throughput and Serverless.

Applicable APIs: NoSQL, MongoDB (RU), Cassandra, Gremlin, and Table.

vCore: Azure Cosmos DB bills for vCores (compute and memory) per node to process database operations and are billed on the size and number of nodes provisioned.

Available APIs: PostgreSQL, MongoDB (vCore), Garnet Cache.

Storage Pricing:

Consumed Storage: Azure Cosmos DB bills for consumed storage per GB fractions per container/collection/table/graph per region. Consumed storage includes all transactional and analytical data and indexes, and backups.

Applicable APIs: NoSQL, MongoDB (RU), Cassandra, Gremlin, and Table.

Disk Storage: Azure Cosmos DB bills for disks provisioned for each node by storage size.

Applicable APIs: PostgreSQL, MongoDB (vCore), Garnet Cache.

Bandwidth Pricing:

Data Egress: Azure bills for data that egresses the Azure cloud or transits the Azure WAN across regions or availability zones.

Applicable APIs: All.

Azure Cosmos DB Garnet Cache is a high-performance, scalable, distributed cache designed to accelerate data access and reduce latency for applications. It is best for workloads that require:

  • Consistent low latency for reads and writes at scale
  • High throughput, low latency vector searches for AI driven workloads
  • Resilient and highly available caching
  • Rich and extensible APIs with support for the RESP protocol and Redis commands

Learn more about Azure Cosmos DB Garnet Cache.

Garnet Cache Cluster

Each Azure Cosmos DB Garnet Cache cluster has one or more nodes. You can distribute data across multiple nodes in a cluster by adding shards. As the performance needs of your workload grow, you can vertically scale by choosing a larger SKU or horizontally scale by adding additional shards to your cluster.

High availability (HA) avoids cache downtime by maintaining replicas. Azure Cosmos DB Garnet Cache allows you configure your replication factor to control how many nodes (primary and replicas) are provisioned for each shard.

Azure Cosmos DB Garnet Cache uses Premium SSD managed disks to store snapshots when data persistence is enabled. Each node in the cluster has its own attached disk, and the size of the disk scales based on the amount of data available for the chosen VM SKU. When data persistence is enabled, both primary and replica nodes have attached disks.

General Purpose v6-series

Pricing for the Ds_v6 series.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
D2 2 8 GiB $- $-
D4 4 16 GiB $- $-
D8 8 32 GiB $- $-
D16 16 64 GiB $- $-
D32 32 128 GiB $- $-
D48 48 192 GiB $- $-
D64 64 256 GiB $- $-
D96 96 384 GiB $- $-
D128 128 512 GiB $- $-
D192 192 768 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

General Purpose

Pricing for the Ds_v5, Das_v5, Ds_v4 series is uniform based on the number of vCores regardless of the series chosen. For example, Standard_D32s_v5, Standard_D32as_v5, and Standard_D32s_v4 are all priced at the same D32 rate.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
D2 2 8 GiB $- $-
D4 4 16 GiB $- $-
D8 8 32 GiB $- $-
D16 16 64 GiB $- $-
D32 32 128 GiB $- $-
D48 48 192 GiB $- $-
D64 64 256 GiB $- $-
D96 96 384 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

General Purpose Burstable

Pricing for the Bls_v2, Bals_v2 series is uniform based on the number of vCores regardless of the series chosen. For example, Standard_B2ls_v2 and Standard_B2als_v2 are all priced at the same B2 rate.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
B2 2 4 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

Memory Optimized v6-series

Pricing for the Es_v6 series.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
E2 2 16 GiB $- $-
E4 4 32 GiB $- $-
E8 8 64 GiB $- $-
E16 16 128 GiB $- $-
E20 20 160 GiB $- $-
E32 32 256 GiB $- $-
E48 48 384 GiB $- $-
E64 64 512 GiB $- $-
E96 96 768 GiB $- $-
E128 128 1,024 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

Memory Optimized

Pricing for the Es_v5, Eas_v5, Es_v4 series is uniform based on the number of vCores regardless of the series chosen. For example, Standard_E32s_v5, Standard_E32as_v5, and Standard_E32s_v4 are all priced at the same E32 rate.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
E2 2 16 GiB $- $-
E4 4 32 GiB $- $-
E8 8 64 GiB $- $-
E16 16 128 GiB $- $-
E20 20 160 GiB $- $-
E32 32 256 GiB $- $-
E48 48 384 GiB $- $-
E64 64 512 GiB $- $-
E96 96 672 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

Compute Optimized v6-series

Pricing for the Fas_v6 series.

VM SKU vCPUs per Node Total RAM per Node* Compute Price per Node Disk Price per Node**
F2 2 8 GiB $- $-
F4 4 16 GiB $- $-
F8 8 32 GiB $- $-
F16 16 64 GiB $- $-
F32 32 128 GiB $- $-
F48 48 192 GiB $- $-
F64 64 256 GiB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

Storage Optimized

Pricing for the Ls_v3 and Ls_v4 series is uniform based on the number of vCores regardless of the series chosen. For example, Standard_L32s_v3 and Standard_L32s_v4 are both priced at the same L32 rate.

VM SKU vCPUs per Node Total RAM per Node* Local NVMe Storage Compute Price per Node Disk Price per Node**
L2 2 16 GiB 480 GB $- $-
L4 4 32 GiB 960 GB $- $-
L8 8 64 GiB 1,920 GB $- $-
L16 16 128 GiB 3,840 GB $- $-
L32 32 256 GiB 7,680 GB $- $-
L48 48 384 GiB 11,520 GB $- $-
L64 64 512 GiB 15,360 GB $- $-
L80 80 640 GiB 19,200 GB $- $-
L96 96 768 GiB 23,040 GB $- $-

* There is a variable amount of cacheable RAM due operational overhead. Plan for a buffer when determining the storage needs of your cluster and monitor using the Azure Portal.

** Applicable when data persistence is enabled

Bandwidth

Azure Networking bills for data that egresses the Azure cloud to a destination on the internet or transits the Azure WAN between regions, see Azure Networking Bandwidth Pricing.

Azure pricing and purchasing options

Connect with us directly

Get a walkthrough of Azure pricing. Understand pricing for your cloud solution, learn about cost optimization and request a custom proposal.

Talk to a sales specialist

See ways to purchase

Purchase Azure services through the Azure website, a Microsoft representative, or an Azure partner.

Explore your options

Additional resources

Azure Cosmos DB

Learn more about Azure Cosmos DB features and capabilities.

Pricing calculator

Estimate your expected monthly costs for using any combination of Azure products.

SLA

Review the Service Level Agreement for Azure Cosmos DB.

Documentation

Review technical tutorials, videos, and more Azure Cosmos DB resources.

Talk to a sales specialist for a walk-through of Azure pricing. Understand pricing for your cloud solution.

Get free cloud services and a $200 credit to explore Azure for 30 days.

Added to estimate. Press 'v' to view on calculator
Can we help you?