APIs · head to head
AWS API Gateway vs Convex

AWS API Gateway
APIs
Fully managed API gateway service for creating and managing APIs at scale
- From
- Free
- Free plan
- Yes

Convex
Databases
Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.
- From
- Free
- Free plan
- Yes
The short version
- AWS API Gateway is a fully managed service.
- Free plans on both; paid from $1/mo and $25/mo.
- Only AWS API Gateway lists REST APIs; only Convex lists reactive queries.
- Where AWS API Gateway falls short: 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.
How do AWS API Gateway and Convex differ?
AWS API Gateway and Convex differ on pricing model (Usage-based against Subscription) and category (APIs against Databases). Only the attributes on which AWS API Gateway and Convex actually diverge.
| Attribute | AWS API Gateway | Convex |
|---|---|---|
| Pricing model | Usage-based | Subscription |
| Category | APIs | Databases |
Identical on both: starting price (Free), free tier (Yes), platforms (Web).
Not yet recorded: founded for Convex.
Which features does each one have?
They share no listed features; 9 appear only for AWS API Gateway and 10 only for Convex. 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 Convex
- Reactive queries
- TypeScript server functions
- ACID transactions
- Document database
- Scheduling and workflows
- File storage
- Text and vector search
- End-to-end types
What is each one used for?
AWS API Gateway is most often brought in for fronting Lambda functions with an HTTP endpoint. The jobs each tool is most often brought in to do.
AWS API Gateway
- Fronting Lambda functions with an HTTP endpointnot Convex
- REST and HTTP API management with throttling and keysnot Convex
- WebSocket APIs for real-time clientsnot Convex
- Private APIs reachable only inside a VPCnot Convex
- Publishing a developer portal for API consumersnot Convex
Convex
- Collaborative applications where several users see the same data and every client must reflect a change immediatelynot AWS API Gateway
- Agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cachenot AWS API Gateway
- Small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineersnot AWS API Gateway
- Prototypes that must become production without a rewrite of the data layer, where end-to-end TypeScript types remove a class of integration bugsnot AWS API Gateway
Where do AWS API Gateway and Convex fall short?
AWS API Gateway's most cited limit: data transfer out is charged at $0.09 per GB on top of request pricing. 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
Convex
- The Functional Source Licence is not an OSI open source licence: competing use is prohibited until each release reaches its second anniversary and converts to Apache 2.0, so you may self-host but you may not build a service on it
- Transactions are bounded at one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written, so every backfill, migration or bulk import has to be chunked into scheduled batches rather than written as a single operation
- There is no SQL and no query planner; you declare up to 32 indexes per table and traverse them, and joins are loops in TypeScript, so an unanticipated access pattern requires a schema and index change rather than a new query
- It is not an analytical database, so reporting means streaming data out to a warehouse and BI tools cannot be pointed at Convex directly, which adds a pipeline the architecture diagram did not originally include
- The application is written against Convex's function and client APIs rather than a standard protocol, so leaving means rewriting the data access layer and replacing the reactivity model, not repointing a connection string
How much do AWS API Gateway and Convex cost?
AWS API Gateway has a free plan, with paid plans from $1/mo; Convex has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.
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
- First 300M: $1.00 per million
- Next 132M: $0.90 per million
- Data transfer varies by volume
- REST APIs$3.5
- 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
- Messages: $1.00 per million
- Connection minutes: $0.25 per million minutes
Convex
Free- Free & StarterFree
- Supports 1-6 developers
- Reactive database
- File storage
- Professional$25
- Supports up to 20 developers
- All Starter features
- Log streaming
- Business & Enterprise$2,500/month minimum
- Supports 50+ developers
- SAML/SSO
- Service SLAs
Which should you pick?
Choose AWS API Gateway if
- You need rest apis.
- You want to start without paying.
- You also want websocket apis.
Choose Convex if
- You need reactive queries.
- You want to start without paying.
- You also want typescript server functions.
Questions people ask
- Is AWS API Gateway or Convex better?
- It depends on the job. AWS API Gateway fits fronting Lambda functions with an HTTP endpoint; Convex fits collaborative applications where several users see the same data and every client must reflect a change immediately. AWS API Gateway starts at Free and Convex at Free.
- Which is cheaper, AWS API Gateway or Convex?
- AWS API Gateway starts at Free and Convex at Free.
- Does AWS API Gateway or Convex run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- 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 Convex is typically brought in for.
- What can AWS API Gateway do that Convex cannot?
- AWS API Gateway covers REST APIs, WebSocket APIs, HTTP APIs, Lambda. Convex covers Reactive queries, TypeScript server functions, ACID transactions, Document database.
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.
SourceConvex: Is Convex open source?
It is source-available under FSL-1.1-Apache-2.0. You may read, modify and self-host it, but competing use is prohibited until each release converts to Apache 2.0 on its second anniversary.
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.
SourceConvex: Can I self-host it?
Yes. The backend, dashboard and CLI can run on your own infrastructure, with most of the features of the cloud product. Self-hosted instances include a telemetry beacon that can be disabled.
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.
SourceConvex: Does it support SQL?
No. Data is accessed through a TypeScript query builder over declared indexes. Relationships are traversed in code, which is explicit and type-safe but means no ad hoc querying.
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.
SourceConvex: What happens if a mutation exceeds the limits?
It fails rather than running longer, so bulk work must be split into batches and scheduled. The limits are per transaction: one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written.
Convex: How does reactivity actually work?
Queries are deterministic functions and Convex records the data each one read. When a mutation changes that data, affected queries are re-run and subscribed clients receive the new result, so cache invalidation is handled by the platform.
Related pages
More on AWS API Gateway
Other head to heads
- AWS API Gateway vs Microsoft Azure API Management
- AWS API Gateway vs Zuplo
- AWS API Gateway vs Kong Gateway
- AWS API Gateway vs IBM API Connect
- AWS API Gateway vs Tyk
- AWS API Gateway vs Gravitee
- AWS API Gateway vs Apigee
- AWS API Gateway vs Boomi API Management
- AWS API Gateway vs Convoy
- AWS API Gateway vs Janus Gateway
- AWS API Gateway vs Spring Cloud Gateway
- AWS API Gateway vs Zeplo
- AWS API Gateway vs Volt
- AWS API Gateway vs Zimpler
- AWS API Gateway vs 3scale
- AWS API Gateway vs Basis Theory
- AWS API Gateway vs curl
- AWS API Gateway vs Flybits
- AWS API Gateway vs Supabase
- AWS API Gateway vs Firebase Realtime Database
- AWS API Gateway vs Readyset
- AWS API Gateway vs DynamoDB
- AWS API Gateway vs LanceDB
- AWS API Gateway vs Xata
- AWS API Gateway vs FaunaDB
- AWS API Gateway vs OpenSearch
- AWS API Gateway vs BigQuery
- AWS API Gateway vs Materialize
- AWS API Gateway vs TiDB
- AWS API Gateway vs Dragonfly
- AWS API Gateway vs Instaclustr
- AWS API Gateway vs PgBouncer
- AWS API Gateway vs Privacera
- AWS API Gateway vs RavenDB
- AWS API Gateway vs Tinybird
- AWS API Gateway vs turbopuffer
- Convex vs Microsoft Azure API Management
- Convex vs Zuplo
- Convex vs Kong Gateway
- Convex vs IBM API Connect
- Convex vs Tyk
- Convex vs Gravitee
- Convex vs Apigee
- Convex vs Boomi API Management
- Convex vs Convoy
- Convex vs Janus Gateway
- Convex vs Spring Cloud Gateway
- Convex vs Zeplo
- Convex vs Volt
- Convex vs Zimpler
- Convex vs 3scale
- Convex vs Basis Theory
- Convex vs curl
- Convex vs Flybits
- Convex vs Supabase
- Convex vs Firebase Realtime Database
- Convex vs Readyset
- Convex vs DynamoDB
- Convex vs LanceDB
- Convex vs Xata
- Convex vs FaunaDB
- Convex vs OpenSearch
- Convex vs BigQuery
- Convex vs Materialize
- Convex vs TiDB
- Convex vs Dragonfly
- Convex vs Instaclustr
- Convex vs PgBouncer
- Convex vs Privacera
- Convex vs RavenDB
- Convex vs Tinybird
- Convex vs turbopuffer
