Databases · head to head
Azure Cosmos DB vs Google Cloud Run

Azure Cosmos DB
Databases
Globally distributed, multi-model database service from Azure
- From
- Free
- Free plan
- Yes

Google Cloud Run
Cloud
Managed platform for running containers and functions on Google Cloud
- From
- On request
- Free plan
- No
The short version
- Azure Cosmos DB is free; Google Cloud Run prices on request.
- Only Azure Cosmos DB lists global Distribution; only Google Cloud Run lists deploy any container image.
- Where Azure Cosmos DB falls short: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used.
- Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
How do Azure Cosmos DB and Google Cloud Run differ?
Azure Cosmos DB and Google Cloud Run differ on starting price (Free against On request), free tier (Yes against No) and platforms (Web, Azure against Web). Only the attributes on which Azure Cosmos DB and Google Cloud Run actually diverge.
| Attribute | Azure Cosmos DB | Google Cloud Run |
|---|---|---|
| Starting price | Free | On request |
| Free tier | Yes | No |
| Platforms | Web, Azure | Web |
| Category | Databases | Cloud |
Identical on both: pricing model (Usage-based).
Not yet recorded: founded for Google Cloud Run.
Which features does each one have?
They share no listed features; 14 appear only for Azure Cosmos DB and 9 only for Google Cloud Run. 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 Azure Cosmos DB
- Global Distribution
- Multi-model APIs
- Elastic Scaling
- Five Consistency Levels
- SLA-backed Latency
- Automatic Indexing
- Serverless
- Azure Functions
Only in Google Cloud Run
- Deploy any container image
- Source-based builds for common languages
- Services with automatic scaling and scale to zero
- Jobs for scheduled or manual tasks
- Worker pools for background processing
- Traffic splitting and rollback between revisions
- Custom domains and managed TLS
- Request-based and instance-based billing
What is each one used for?
Azure Cosmos DB is most often brought in for running a globally distributed multi model database on Azure; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.
Azure Cosmos DB
- Running a globally distributed multi model database on Azurenot Google Cloud Run
- Serving low latency reads and writes from multiple Azure regionsnot Google Cloud Run
- Storing document, key value and graph data behind a managed servicenot Google Cloud Run
Google Cloud Run
- Hosting web APIs and microservicesnot Azure Cosmos DB
- Scheduled batch jobsnot Azure Cosmos DB
- Queue consumers on worker poolsnot Azure Cosmos DB
- Deploying containers without managing clustersnot Azure Cosmos DB
- Event-driven backends with Pub/Subnot Azure Cosmos DB
Where do Azure Cosmos DB and Google Cloud Run fall short?
Azure Cosmos DB's most cited limit: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used. Google Cloud Run's: runs only on Google Cloud, so there is no self-hosted option. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Azure Cosmos DB
- 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
Google Cloud Run
- Runs only on Google Cloud, so there is no self-hosted option
- The container file system is in memory and not persistent
- Worker pools do not autoscale natively and need at least one instance
- Services are stateless, so state needs external storage
How much do Azure Cosmos DB and Google Cloud Run cost?
Azure Cosmos DB is free to use. Plan by plan below, from each vendor's own pricing page.
Azure Cosmos DB
Free- Free TierFree
- 1000 RU/s
- 25GB storage
- First 12 months
- ServerlessFree
- Pay per request
- Auto-scaling
- Event-driven workloads
Google Cloud Run
On requestNo published plan breakdown. See the Google Cloud Run review.
Which should you pick?
Choose Azure Cosmos DB if
- You need global distribution.
- You want to start without paying.
- You work on Web, Azure.
- You also want multi-model apis.
Choose Google Cloud Run if
- You need deploy any container image.
- You also want source-based builds for common languages.
Questions people ask
- Is Azure Cosmos DB or Google Cloud Run better?
- It depends on the job. Azure Cosmos DB fits running a globally distributed multi model database on Azure; Google Cloud Run fits hosting web APIs and microservices. Azure Cosmos DB starts at Free and Google Cloud Run at On request.
- Which is cheaper, Azure Cosmos DB or Google Cloud Run?
- Azure Cosmos DB has a free tier; the other does not. Paid plans start at Free for Azure Cosmos DB and On request for Google Cloud Run.
- Does Azure Cosmos DB or Google Cloud Run run on more platforms?
- Azure Cosmos DB runs on Web, Azure. Google Cloud Run runs on Web.
- Can I use Azure Cosmos DB for free?
- Yes. Azure Cosmos DB has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
- What is Azure Cosmos DB best used for?
- Azure Cosmos DB is most often used for running a globally distributed multi model database on azure, serving low latency reads and writes from multiple azure regions, storing document, key value and graph data behind a managed service. Of those, running a globally distributed multi model database on azure and serving low latency reads and writes from multiple azure regions are not what Google Cloud Run is typically brought in for.
- What can Azure Cosmos DB do that Google Cloud Run cannot?
- Azure Cosmos DB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels. Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks.
Answered from the vendors’ own pages
Azure Cosmos DB: 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.
SourceGoogle Cloud Run: What can Cloud Run run?
Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.
SourceAzure Cosmos DB: 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.
SourceGoogle Cloud Run: How is Cloud Run billed?
Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.
SourceAzure Cosmos DB: 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.
SourceGoogle Cloud Run: Can Cloud Run scale to zero?
Yes. Services scale to zero when idle unless a minimum number of instances is set.
SourceAzure Cosmos DB: 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 Azure Cosmos DB
More on Google Cloud Run
Other head to heads
- Azure Cosmos DB vs Google Cloud Spanner
- Azure Cosmos DB vs DataStax
- Azure Cosmos DB vs MongoDB
- Azure Cosmos DB vs RavenDB
- Azure Cosmos DB vs Amazon DocumentDB
- Azure Cosmos DB vs CockroachDB
- Azure Cosmos DB vs Couchbase
- Azure Cosmos DB vs Firestore
- Azure Cosmos DB vs Dgraph
- Azure Cosmos DB vs LanceDB
- Azure Cosmos DB vs Ninox
- Azure Cosmos DB vs SurrealDB
- Azure Cosmos DB vs Teradata
- Azure Cosmos DB vs Timeplus
- Azure Cosmos DB vs Vitess
- Azure Cosmos DB vs MongoDB Atlas
- Azure Cosmos DB vs DynamoDB
- Azure Cosmos DB vs Amazon Neptune
- Azure Cosmos DB vs AWS Lambda
- Azure Cosmos DB vs Koyeb
- Azure Cosmos DB vs Azure Functions
- Azure Cosmos DB vs Heroku
- Azure Cosmos DB vs Podman
- Azure Cosmos DB vs minikube
- Azure Cosmos DB vs K3s
- Azure Cosmos DB vs Serverless Framework
- Azure Cosmos DB vs Deno Deploy
- Azure Cosmos DB vs Beam Cloud
- Azure Cosmos DB vs CloudAMQP
- Azure Cosmos DB vs Dokku
- Azure Cosmos DB vs Lambda
- Azure Cosmos DB vs Buildah
- Azure Cosmos DB vs containerd
- Azure Cosmos DB vs Skopeo
- Azure Cosmos DB vs Flux
- Azure Cosmos DB vs kind
- Google Cloud Run vs Google Cloud Spanner
- Google Cloud Run vs DataStax
- Google Cloud Run vs MongoDB
- Google Cloud Run vs RavenDB
- Google Cloud Run vs Amazon DocumentDB
- Google Cloud Run vs CockroachDB
- Google Cloud Run vs Couchbase
- Google Cloud Run vs Firestore
- Google Cloud Run vs Dgraph
- Google Cloud Run vs LanceDB
- Google Cloud Run vs Ninox
- Google Cloud Run vs SurrealDB
- Google Cloud Run vs Teradata
- Google Cloud Run vs Timeplus
- Google Cloud Run vs Vitess
- Google Cloud Run vs MongoDB Atlas
- Google Cloud Run vs DynamoDB
- Google Cloud Run vs Amazon Neptune
- Google Cloud Run vs AWS Lambda
- Google Cloud Run vs Koyeb
- Google Cloud Run vs Azure Functions
- Google Cloud Run vs Heroku
- Google Cloud Run vs Podman
- Google Cloud Run vs minikube
- Google Cloud Run vs K3s
- Google Cloud Run vs Serverless Framework
- Google Cloud Run vs Deno Deploy
- Google Cloud Run vs Beam Cloud
- Google Cloud Run vs CloudAMQP
- Google Cloud Run vs Dokku
- Google Cloud Run vs Lambda
- Google Cloud Run vs Buildah
- Google Cloud Run vs containerd
- Google Cloud Run vs Skopeo
- Google Cloud Run vs Flux
- Google Cloud Run vs kind
