Databases · head to head
Amazon DocumentDB vs CosmosDB

Amazon DocumentDB
Databases
Managed MongoDB-compatible document database service on AWS
- From
- On request
- Free plan
- No

CosmosDB
Databases
Globally distributed, multi-model database service from Azure
- From
- Free
- Free plan
- Yes
The short version
- Amazon DocumentDB is a managed document database on AWS.
- CosmosDB is free; Amazon DocumentDB prices on request.
- Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only CosmosDB lists multi-model APIs.
- Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
- Where CosmosDB falls short: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used.
- Prices and features on this page were last checked on 25 November 2026.
How do Amazon DocumentDB and CosmosDB differ?
Amazon DocumentDB and CosmosDB differ on starting price (On request against Free), free tier (No against Yes) and platforms (Web against Web, Azure). Only the attributes on which Amazon DocumentDB and CosmosDB actually diverge.
| Attribute | Amazon DocumentDB | CosmosDB |
|---|---|---|
| Starting price | On request | Free |
| Free tier | No | Yes |
| Platforms | Web | Web, Azure |
Identical on both: pricing model (Usage-based), category (Databases).
Not yet recorded: founded for Amazon DocumentDB.
Which features does each one have?
They share no listed features; 8 appear only for Amazon DocumentDB and 14 only for CosmosDB. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Amazon DocumentDB
- MongoDB driver and tool compatibility
- Managed patching, backups and monitoring
- Serverless capacity scaling
- Elastic clusters
- Global clusters across up to 10 AWS Regions
- I/O-Optimized pricing configuration
- CloudWatch, IAM and AWS Backup integration
- Zero ETL to Amazon OpenSearch Service
Only in CosmosDB
- Global Distribution
- Multi-model APIs
- Elastic Scaling
- Five Consistency Levels
- SLA-backed Latency
- Automatic Indexing
- Serverless
- Azure Functions
What is each one used for?
Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; CosmosDB for running a globally distributed multi model database on Azure. The jobs each tool is most often brought in to do.
Amazon DocumentDB
- Migrating MongoDB workloads to AWSnot CosmosDB
- Content and catalogue document storesnot CosmosDB
- Serverless document databases for variable loadnot CosmosDB
- Multi region read replicas for disaster recoverynot CosmosDB
CosmosDB
- Running a globally distributed multi model database on Azurenot Amazon DocumentDB
- Serving low latency reads and writes from multiple Azure regionsnot Amazon DocumentDB
- Storing document, key value and graph data behind a managed servicenot Amazon DocumentDB
Where do Amazon DocumentDB and CosmosDB fall short?
Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. CosmosDB's: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon DocumentDB
- Runs only on AWS; it cannot run on premises or across cloud providers
- Compatible with MongoDB rather than identical, with no time series collection support
- Cost combines instance, storage, I/O and backup charges, which are harder to forecast
- Free tier allowance lasts 30 days for new accounts and is excluded in some regions
CosmosDB
- Autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used
- Provisioned throughput is charged in every region the account is replicated to, so multi region accounts multiply the RU bill
- Storage charges cover data, indexes and backups in each replicated region
- Egress out of Azure and between regions is charged, though ingress is free
- The free allowance is one account per Azure subscription, limited to 1,000 RU/s and 25 GB
- RU/s rates vary by region and are only shown through the pricing calculator rather than a flat published rate
How much do Amazon DocumentDB and CosmosDB cost?
CosmosDB is free to use. Plan by plan below, from each vendor's own pricing page.
Amazon DocumentDB
On requestNo published plan breakdown. See the Amazon DocumentDB review.
CosmosDB
Free- Free TierFree
- 1000 RU/s
- 25GB storage
- First 12 months
- ServerlessFree
- Pay per request
- Auto-scaling
- Event-driven workloads
Which should you pick?
Choose Amazon DocumentDB if
- You need mongodb driver and tool compatibility.
- You also want managed patching, backups and monitoring.
Choose CosmosDB if
- You need global distribution.
- You want to start without paying.
- You work on Web, Azure.
- You also want multi-model apis.
Questions people ask
- Is Amazon DocumentDB or CosmosDB better?
- Neither clearly leads. Amazon DocumentDB starts at On request and CosmosDB at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Amazon DocumentDB or CosmosDB?
- CosmosDB has a free tier; the other does not. Paid plans start at On request for Amazon DocumentDB and Free for CosmosDB.
- Does Amazon DocumentDB or CosmosDB run on more platforms?
- Amazon DocumentDB runs on Web. CosmosDB runs on Web, Azure.
- Can I use CosmosDB for free?
- Yes. CosmosDB has a free tier, so you can try it without paying. Amazon DocumentDB starts at On request.
- What is Amazon DocumentDB best used for?
- Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what CosmosDB is typically brought in for.
- What can Amazon DocumentDB do that CosmosDB cannot?
- Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. CosmosDB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels.
Answered from the vendors’ own pages
Amazon DocumentDB: Is DocumentDB the same as MongoDB?
No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.
SourceCosmosDB: Is there a free tier for Azure Cosmos DB?
Yes, Cosmos DB offers a free tier with 1,000 RU/s of throughput and 25 GB of storage per month for the lifetime of the account, available to new accounts.
SourceAmazon DocumentDB: How is DocumentDB priced?
Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.
SourceCosmosDB: How is Cosmos DB priced after the free tier?
Cosmos DB uses three billing models: provisioned throughput billed per request unit per second, vCore pricing for certain APIs, or serverless consumption pricing where you pay only for requests processed. Reserved capacity offers 20% discount for one year or 30% for three years.
SourceAmazon DocumentDB: Is there a free tier?
New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).
SourceCosmosDB: Can I change my pricing model after choosing one?
No. Once you select a compute pricing model and API, they cannot be changed. This choice is permanent for that database.
SourceAmazon DocumentDB: Can it run outside AWS?
No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.
SourceCosmosDB: Is there a trial period for Cosmos DB beyond the free tier?
Azure offers a 30-day free trial account for all Azure services. Additionally, Azure AI customers may be eligible for a 90-day free Cosmos DB subscription through the Azure AI Advantage program.
SourceRelated pages
More on Amazon DocumentDB
Other head to heads
- Amazon DocumentDB vs MongoDB
- Amazon DocumentDB vs Couchbase
- Amazon DocumentDB vs PlanetScale
- Amazon DocumentDB vs BigQuery
- Amazon DocumentDB vs ScyllaDB
- Amazon DocumentDB vs Tinybird
- Amazon DocumentDB vs Cockroach Labs
- Amazon DocumentDB vs Elasticsearch
- Amazon DocumentDB vs Qdrant
- Amazon DocumentDB vs StarRocks
- Amazon DocumentDB vs MariaDB
- Amazon DocumentDB vs Materialize
- Amazon DocumentDB vs Memcached
- Amazon DocumentDB vs Neo4j
- Amazon DocumentDB vs Typesense
- Amazon DocumentDB vs Microsoft SQL Server
- Amazon DocumentDB vs MongoDB Atlas
- Amazon DocumentDB vs DataStax
- Amazon DocumentDB vs RavenDB
- Amazon DocumentDB vs Firestore
- Amazon DocumentDB vs Dgraph
- Amazon DocumentDB vs ArangoDB
- Amazon DocumentDB vs Canary Labs
- Amazon DocumentDB vs Convex
- Amazon DocumentDB vs dbt
- Amazon DocumentDB vs Google Cloud SQL
- Amazon DocumentDB vs IBM Db2
- Amazon DocumentDB vs MotherDuck
- Amazon DocumentDB vs DynamoDB
- Amazon DocumentDB vs Amazon Neptune
- CosmosDB vs MongoDB
- CosmosDB vs Couchbase
- CosmosDB vs PlanetScale
- CosmosDB vs BigQuery
- CosmosDB vs ScyllaDB
- CosmosDB vs Tinybird
- CosmosDB vs Cockroach Labs
- CosmosDB vs Elasticsearch
- CosmosDB vs Qdrant
- CosmosDB vs StarRocks
- CosmosDB vs MariaDB
- CosmosDB vs Materialize
- CosmosDB vs Memcached
- CosmosDB vs Neo4j
- CosmosDB vs Typesense
- CosmosDB vs Microsoft SQL Server
- CosmosDB vs MongoDB Atlas
- CosmosDB vs DataStax
- CosmosDB vs RavenDB
- CosmosDB vs Firestore
- CosmosDB vs Dgraph
- CosmosDB vs ArangoDB
- CosmosDB vs Canary Labs
- CosmosDB vs Convex
- CosmosDB vs dbt
- CosmosDB vs Google Cloud SQL
- CosmosDB vs IBM Db2
- CosmosDB vs MotherDuck
- CosmosDB vs DynamoDB
- CosmosDB vs Amazon Neptune
