Microsoft Azure Documentation

Azure Cosmos DB Pricing

Understand the cost of Azure Cosmos DB for your applications. Pricing is based on the throughput (Request Units per second - RU/s) and storage (GB) consumed by your database. Azure Cosmos DB offers various API options, each with its own pricing nuances.

Pricing Overview

Request Units (RU/s)

$0.000007 / RU/s/hr

This is the cost for provisioned throughput. You pay for the RUs you reserve for predictable workloads.

Learn More

Storage

$0.18 / GB / Month

The cost of storing your data in Azure Cosmos DB. This includes indexes.

Learn More

Serverless

Pay-as-you-go

Ideal for variable workloads. You only pay for the RUs and storage you consume.

Learn More

Provisioned Throughput (RU/s)

Azure Cosmos DB uses Request Units (RUs) as a logical unit of measure for throughput. A RU is a normalized measure of throughput required to execute various database operations. The number of RUs consumed by an operation depends on its complexity.

You can provision throughput at the container or database level. Database-level throughput is shared across all containers within that database.

Throughput Tiers and Pricing (Standard Provisioned Mode)

Region Throughput (RU/s) Cost per RU/s/hour Notes
East US 100 - 100,000 $0.000007 Standard pricing
West Europe 100 - 100,000 $0.000008 Slightly higher due to region costs
Japan East 100 - 100,000 $0.0000075 Regional variations
Higher Tiers (e.g., 1M RU/s) Custom Negotiated rates may apply Contact Sales for enterprise agreements

The cost of throughput is calculated as: (Provisioned RU/s) * (Cost per RU/s/hour) * (24 hours/day) * (30 days/month).

Storage Costs

Storage is measured in gigabytes (GB) per month. This includes the data stored in your containers, as well as the associated indexes.

Storage Pricing

Region Cost per GB / Month
East US $0.18
West Europe $0.20
Asia Pacific $0.19

The cost of storage is calculated as: (Total GB consumed) * (Cost per GB / Month).

Serverless Pricing

Azure Cosmos DB Serverless offers a pay-as-you-go model, ideal for unpredictable workloads, development, and testing.

Serverless Costs (Example)

Region RU Cost (per 1M RUs) Storage Cost (per GB/Month)
East US $0.00003 $0.18
West US $0.000032 $0.19

With Serverless, you don't need to provision throughput; Cosmos DB automatically scales based on demand.

Additional Pricing Considerations

For detailed and region-specific pricing, please refer to the official Azure Cosmos DB pricing page.

Use the Azure Pricing Calculator to estimate your costs.