Softwr

Databases · head to head

CosmosDB vs FaunaDB

CosmosDB logo

CosmosDB

Databases

Globally distributed, multi-model database service from Azure

From
Free
Rated
-
FaunaDB logo

FaunaDB

Databases

Document-relational database whose hosted service closed in 2025 and whose core is now unmaintained Apache 2.0 code.

From
Free
Rated
-

The short version

  • Each has a real cost: CosmosDB autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used; FaunaDB the hosted service was wound down in 2025, so there is no managed Fauna to buy; every remaining user either operates a JVM cluster themselves or migrates, and both are projects rather than tasks.
  • They diverge on capability: CosmosDB covers Global Distribution, FaunaDB covers Document-relational model.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which CosmosDB and FaunaDB actually diverge.

Attributes where CosmosDB and FaunaDB differ
AttributeCosmosDBFaunaDB
Pricing modelusage-basedfreemium
PlatformsWeb, AzureWeb
Founded19752012

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated), category (Databases).

What each one covers

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 CosmosDB

  • Global Distribution
  • Multi-model APIs
  • Elastic Scaling
  • Five Consistency Levels
  • SLA-backed Latency
  • Automatic Indexing
  • Serverless
  • Azure Functions

Only in FaunaDB

  • Document-relational model
  • FQL v10
  • Distributed ACID transactions
  • HTTPS access
  • User-defined functions
  • Attribute-based access control
  • Document history
  • Event streaming

What people use each for

The jobs each tool is most often brought in to do.

CosmosDB

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

FaunaDB

  • Keeping an existing Fauna-backed application alive on self-hosted infrastructure while a migration is planned and fundednot CosmosDB
  • Extracting historical data from a Fauna dataset that can no longer be reached through the hosted APInot CosmosDB
  • Studying a production implementation of deterministic distributed transactions, since the full server source is now readable under Apache 2.0not CosmosDB
  • Forking the engine deliberately, where an organisation has JVM and distributed-systems staff and wants a document-relational store it fully controlsnot CosmosDB

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

FaunaDB

  • The hosted service was wound down in 2025, so there is no managed Fauna to buy; every remaining user either operates a JVM cluster themselves or migrates, and both are projects rather than tasks.
  • The open-sourced repository has had no substantive activity since May 2025 and the drivers were frozen alongside it, so you inherit responsibility for security patches in a Scala distributed database that almost nobody else is running.
  • FQL has no wire or dialect compatibility with anything else, so migrating off is a rewrite of every query, index and access rule in the application rather than a data export.
  • No BI tool, ORM or CDC connector speaks FQL, so reporting and analytics always required exporting the data first, and that export tooling is now also unmaintained.
  • The community was small before the shutdown and has dispersed since, so operational answers, tuning advice and people who have run a Fauna cluster in anger are all scarce when something breaks.

Pricing, plan by plan

CosmosDB

Free
  • Free TierFree
    • 1000 RU/s
    • 25GB storage
    • First 12 months
  • ServerlessFree
    • Pay per request
    • Auto-scaling
    • Event-driven workloads

FaunaDB

Free
  • FreeFree
    • 100K read ops
    • 50K write ops
    • 1GB storage
  • Pro$25/month
    • Pay per use
    • Priority support
    • Advanced features

Which should you pick?

Choose CosmosDB if

  • You need global distribution.
  • You want to start without paying.
  • You work on Web, Azure.
  • You also want multi-model apis.

Choose FaunaDB if

  • You need document-relational model.
  • You want to start without paying.
  • You also want fql v10.

Questions people ask

Is CosmosDB or FaunaDB better?
Neither clearly leads. CosmosDB starts at Free and FaunaDB at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, CosmosDB or FaunaDB?
CosmosDB starts at Free and FaunaDB at Free.
Does CosmosDB or FaunaDB run on more platforms?
CosmosDB runs on Web, Azure. FaunaDB runs on Web.
Can I use CosmosDB for free?
Both have a free tier, so you can try either at no cost before committing.
What is CosmosDB best used for?
CosmosDB 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 FaunaDB is typically brought in for.
What can CosmosDB do that FaunaDB cannot?
CosmosDB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels. FaunaDB covers Document-relational model, FQL v10, Distributed ACID transactions, HTTPS access.

Answered from the vendors’ own pages

CosmosDB: 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
FaunaDB: Can I still sign up for Fauna as a service?

No. Fauna Inc. wound down the hosted service in 2025 and the company website is no longer serving. The only way to run Fauna now is to build and operate the open-sourced server yourself.

CosmosDB: 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
FaunaDB: What licence is the open-sourced code under?

Apache 2.0, with the copyright held by a FaunaDB Foundation. That is a permissive OSI licence with no competing-use clause, so you may run it, modify it and even offer it as a service.

CosmosDB: 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
FaunaDB: Is the open source version the same software that ran the cloud?

It is the core database engine. The control plane, billing, dashboard and multi-tenant operational tooling that made it a service are not part of the release, so you are running the engine, not the product.

CosmosDB: 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
FaunaDB: What should I migrate to?

There is no drop-in target. Teams that valued the document model with relationships usually land on Postgres with JSONB, and teams that valued the serverless HTTP access pattern usually land on DynamoDB or a managed Postgres with an HTTP driver. Either way the query layer is rewritten.

FaunaDB: How hard is it to self-host?

It builds as a fat JAR and runs as a multi-node JVM cluster. There is an OPERATING.md, but no supported packaging, no operator, no upstream releases and no support contract, so budget for a distributed-systems engineer, not a container.

Share

Related pages

Other head to heads