Softwr

APIs · head to head

AWS API Gateway vs FaunaDB

AWS API Gateway logo

AWS API Gateway

APIs

Fully managed API gateway service for creating and managing APIs at scale

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: AWS API Gateway rEST APIs cost $3.50 per million calls against $1.00 for HTTP APIs, so the older and more featureful type is three and a half times dearer; 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: AWS API Gateway covers REST APIs, FaunaDB covers Document-relational model.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which AWS API Gateway and FaunaDB actually diverge.

Attributes where AWS API Gateway and FaunaDB differ
AttributeAWS API GatewayFaunaDB
Pricing modelusage-basedfreemium
PlatformsAWS CloudWeb
CategoryAPIsDatabases
Founded20062012

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

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 AWS API Gateway

  • REST APIs
  • WebSocket APIs
  • HTTP APIs
  • Lambda
  • EC2
  • DynamoDB
  • CloudWatch
  • IAM

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.

AWS API Gateway

  • Fronting Lambda functions with an HTTP endpointnot FaunaDB
  • REST and HTTP API management with throttling and keysnot FaunaDB
  • WebSocket APIs for real-time clientsnot FaunaDB
  • Private APIs reachable only inside a VPCnot FaunaDB
  • Publishing a developer portal for API consumersnot FaunaDB

FaunaDB

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

Where each one falls short

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

AWS API Gateway

  • REST APIs cost $3.50 per million calls against $1.00 for HTTP APIs, so the older and more featureful type is three and a half times dearer
  • Data transfer out is charged at $0.09 per GB on top of request pricing
  • WebSocket APIs bill connection minutes as well as messages, at $0.25 per million minutes
  • Private APIs avoid data transfer charges but incur AWS PrivateLink costs instead
  • The developer portal is $125 a month, with additional portal products at $12.50 each
  • The free tier lasts 12 months rather than being ongoing

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

AWS API Gateway

Free
  • Free Tier (12 months)Free
    • 1M REST API calls per month
    • 1M HTTP API calls per month
    • 1M WebSocket messages plus 750K connection minutes per month
  • HTTP APIs$1/per million requests (first 300M)
    • First 300M: $1.00 per million
    • Next 132M: $0.90 per million
    • Data transfer varies by volume
  • REST APIs$3.5/per million API calls
    • Edge Optimized and Regional: $3.50 per million (first tier)
    • Higher volumes: $2.80 then $2.38 per million
    • Data transfer: $0.09 per GB
  • WebSocket APIs$1/per million messages
    • Messages: $1.00 per million
    • Connection minutes: $0.25 per million minutes

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 AWS API Gateway if

  • You need rest apis.
  • You want to start without paying.
  • You work on AWS Cloud.
  • You also want websocket apis.

Choose FaunaDB if

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

Questions people ask

Is AWS API Gateway or FaunaDB better?
Neither clearly leads. AWS API Gateway 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, AWS API Gateway or FaunaDB?
AWS API Gateway starts at Free and FaunaDB at Free.
Does AWS API Gateway or FaunaDB run on more platforms?
AWS API Gateway runs on AWS Cloud. FaunaDB runs on Web.
Can I use AWS API Gateway for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS API Gateway best used for?
AWS API Gateway is most often used for fronting lambda functions with an http endpoint, rest and http api management with throttling and keys, websocket apis for real-time clients, private apis reachable only inside a vpc. Of those, fronting lambda functions with an http endpoint and rest and http api management with throttling and keys are not what FaunaDB is typically brought in for.
What can AWS API Gateway do that FaunaDB cannot?
AWS API Gateway covers REST APIs, WebSocket APIs, HTTP APIs, Lambda. FaunaDB covers Document-relational model, FQL v10, Distributed ACID transactions, HTTPS access.

Answered from the vendors’ own pages

AWS API Gateway: How much does AWS API Gateway cost?

AWS API Gateway pricing varies by API type. HTTP APIs cost $1.00 per million requests for the first 300M monthly, then $0.90 per million. REST APIs cost $3.50 per million, and WebSocket APIs cost $1.00 per million messages plus $0.25 per million connection minutes. Data transfer charges ($0.09 per GB) apply separately.

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.

AWS API Gateway: Is AWS API Gateway free?

New AWS customers receive 12 months of free tier access including 1 million REST API calls, 1 million HTTP API calls, and 1 million WebSocket messages plus 750,000 connection minutes per month. Starting July 15, 2025, new customers receive up to $200 in AWS Free Tier credits.

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.

AWS API Gateway: What is the price difference between HTTP and REST APIs?

HTTP APIs are significantly cheaper at $1.00 per million requests compared to REST APIs at $3.50 per million (first tier). REST API pricing decreases to $2.80 and $2.38 per million for higher volumes, while HTTP API pricing drops to $0.90 per million after 300M monthly requests.

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.

AWS API Gateway: How much does an API Gateway Portal cost?

API Gateway Portals require a base fee of $125 per month (includes 10 PortalProducts with 40 endpoints each) plus $12.50 per month for each additional PortalProduct beyond the included 10.

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