Softwr

Databases · head to head

Amazon ElastiCache vs Azure Cosmos DB

Amazon ElastiCache logo

Amazon ElastiCache

Databases

AWS managed in-memory cache for Valkey, Redis OSS and Memcached

From
On request
Free plan
No
Azure Cosmos DB logo

Azure Cosmos DB

Databases

Globally distributed, multi-model database service from Azure

From
Free
Free plan
Yes

The short version

  • Amazon ElastiCache is an AWS managed in-memory caching service compatible.
  • Azure Cosmos DB is free; Amazon ElastiCache starts at $0.084/mo.
  • Only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines; only Azure Cosmos DB lists multi-model APIs.
  • Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
  • 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.

How do Amazon ElastiCache and Azure Cosmos DB differ?

Amazon ElastiCache and Azure Cosmos DB 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 ElastiCache and Azure Cosmos DB actually diverge.

Attributes where Amazon ElastiCache and Azure Cosmos DB differ
AttributeAmazon ElastiCacheAzure Cosmos DB
Starting priceOn requestFree
Free tierNoYes
PlatformsWebWeb, Azure

Identical on both: pricing model (Usage-based), category (Databases).

Not yet recorded: founded for Amazon ElastiCache.

Which features does each one have?

They share no listed features; 8 appear only for Amazon ElastiCache and 14 only for Azure Cosmos DB. 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 ElastiCache

  • Valkey, Redis OSS and Memcached engines
  • Serverless caching
  • Global Datastore cross-Region replication
  • Durability options
  • Semantic and prompt caching for AI workloads
  • Encryption at rest and in transit
  • IAM access control and VPC isolation
  • Reserved nodes and Savings Plans

Only in Azure Cosmos DB

  • 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 ElastiCache is most often brought in for session and page caching for web apps; Azure Cosmos DB for running a globally distributed multi model database on Azure. The jobs each tool is most often brought in to do.

Amazon ElastiCache

  • Session and page caching for web appsnot Azure Cosmos DB
  • Leaderboards using sorted setsnot Azure Cosmos DB
  • Caching LLM prompts and semantic resultsnot Azure Cosmos DB
  • Reducing load on primary databasesnot Azure Cosmos DB

Azure Cosmos DB

  • Running a globally distributed multi model database on Azurenot Amazon ElastiCache
  • Serving low latency reads and writes from multiple Azure regionsnot Amazon ElastiCache
  • Storing document, key value and graph data behind a managed servicenot Amazon ElastiCache

Where do Amazon ElastiCache and Azure Cosmos DB fall short?

Amazon ElastiCache's most cited limit: runs only inside AWS, so it is not usable on premises or in other clouds. Azure Cosmos DB'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 ElastiCache

  • Runs only inside AWS, so it is not usable on premises or in other clouds
  • Partial hours are billed as full hours for on-demand nodes
  • Redis OSS Extended Support carries an 80% premium in years 1 and 2
  • Reserved node discounts are not available with Serverless

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

How much do Amazon ElastiCache and Azure Cosmos DB cost?

Amazon ElastiCache starts at $0.084/mo; Azure Cosmos DB is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon ElastiCache

On request
  • Serverless Valkey data storage (per GB-hour)$0.084/hour

Azure Cosmos DB

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 ElastiCache if

  • You need valkey, redis oss and memcached engines.
  • You also want serverless caching.

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.

Questions people ask

Is Amazon ElastiCache or Azure Cosmos DB better?
It depends on the job. Amazon ElastiCache fits session and page caching for web apps; Azure Cosmos DB fits running a globally distributed multi model database on Azure. Amazon ElastiCache starts at On request and Azure Cosmos DB at Free.
Which is cheaper, Amazon ElastiCache or Azure Cosmos DB?
Azure Cosmos DB has a free tier; the other does not. Paid plans start at On request for Amazon ElastiCache and Free for Azure Cosmos DB.
Does Amazon ElastiCache or Azure Cosmos DB run on more platforms?
Amazon ElastiCache runs on Web. Azure Cosmos DB runs on Web, Azure.
Can I use Azure Cosmos DB for free?
Yes. Azure Cosmos DB has a free tier, so you can try it without paying. Amazon ElastiCache starts at On request.
What is Amazon ElastiCache best used for?
Amazon ElastiCache is most often used for session and page caching for web apps, leaderboards using sorted sets, caching llm prompts and semantic results, reducing load on primary databases. Of those, session and page caching for web apps and leaderboards using sorted sets are not what Azure Cosmos DB is typically brought in for.
What can Amazon ElastiCache do that Azure Cosmos DB cannot?
Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options. Azure Cosmos DB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels.

Answered from the vendors’ own pages

Amazon ElastiCache: Which engines does ElastiCache support?

It supports Valkey, Redis OSS and Memcached.

Source
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.

Source
Amazon ElastiCache: How is ElastiCache priced?

Options are on-demand nodes billed per node-hour, serverless billed by GB-hours of data and ECPUs, Database Savings Plans, and reserved nodes with 1 or 3 year terms. There is no minimum fee for on-demand or serverless.

Source
Azure 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.

Source
Amazon ElastiCache: Is there a free tier?

For accounts created before 15 July 2025, 750 hours a month of cache.t3.micro for up to 12 months. Newer accounts choose a Free or Paid Plan that includes 100 dollars in credits.

Source
Azure 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.

Source
Amazon ElastiCache: When did it launch?

ElastiCache launched on 22 August 2011 with Memcached, adding Redis in September 2013.

Source
Azure 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.

Source
Share

Related pages

Other head to heads