APIs · head to head
AWS API Gateway vs Chroma

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

Chroma
Databases
Apache 2.0 vector and full-text search engine that runs as an embedded library, a single server or a distributed cloud service.
- 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 $250/mo.
- Only AWS API Gateway lists REST APIs; only Chroma lists embedded mode.
- 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 Chroma differ?
AWS API Gateway and Chroma differ on category (APIs against Databases) and year founded (2006 against 2022). Only the attributes on which AWS API Gateway and Chroma actually diverge.
| Attribute | AWS API Gateway | Chroma |
|---|---|---|
| Category | APIs | Databases |
| Founded | 2006 | 2022 |
Identical on both: starting price (Free), pricing model (Usage-based), free tier (Yes), platforms (Web).
Which features does each one have?
They share no listed features; 9 appear only for AWS API Gateway and 10 only for Chroma. 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 Chroma
- Embedded mode
- Single-node server
- Distributed architecture
- Vector search
- Full-text search
- Metadata filtering
- Consistent API across modes
- Multi-language clients
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 Chroma
- REST and HTTP API management with throttling and keysnot Chroma
- WebSocket APIs for real-time clientsnot Chroma
- Private APIs reachable only inside a VPCnot Chroma
- Publishing a developer portal for API consumersnot Chroma
Chroma
- Prototyping retrieval-augmented generation where the priority is having a working index in minutes rather than choosing a permanent storenot AWS API Gateway
- Agent memory in a single application process, where an embedded store avoids adding a network dependencynot AWS API Gateway
- A departmental search application under roughly ten million records where one server is sufficient and simplicity is worth more than headroomnot AWS API Gateway
- Local and CI testing of retrieval code with the same client library used in productionnot AWS API Gateway
Where do AWS API Gateway and Chroma 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
Chroma
- On a single node, available memory sets a hard upper bound on collection size, roughly 245,000 records per gigabyte of RAM at 1024 dimensions, so capacity planning is a memory purchase and the ceiling arrives without warning
- Single-node queries parallelise only up to the number of vCPUs, after which requests queue and latency rises linearly with concurrency, so throughput problems appear as a slow application rather than as errors
- The distributed deployment behind Chroma Cloud is a different architecture from the embedded library, so latency, consistency and failure behaviour observed in a local prototype do not predict production behaviour
- The open source server has no built-in authentication or multi-tenancy worth relying on, so a self-hosted deployment needs its own auth proxy and network controls before anything untrusted can reach it
- The project has moved quickly through major internal rewrites and version changes, so upgrades have historically involved data migrations and client changes, and pinning versions is necessary rather than cautious
How much do AWS API Gateway and Chroma cost?
AWS API Gateway has a free plan, with paid plans from $1/mo; Chroma has a free plan, with paid plans from $250/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
Chroma
Free- StarterFree
- 10 databases
- 10 team members
- Community Slack access
- Team$250/mo
- 100 databases
- 30 team members
- $100 in included credits
- EnterpriseOn request
- Unlimited databases
- Unlimited team members
- Dedicated support
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 Chroma if
- You need embedded mode.
- You want to start without paying.
- You also want single-node server.
Questions people ask
- Is AWS API Gateway or Chroma better?
- It depends on the job. AWS API Gateway fits fronting Lambda functions with an HTTP endpoint; Chroma fits prototyping retrieval-augmented generation where the priority is having a working index in minutes rather than choosing a permanent store. AWS API Gateway starts at Free and Chroma at Free.
- Which is cheaper, AWS API Gateway or Chroma?
- AWS API Gateway starts at Free and Chroma at Free.
- Does AWS API Gateway or Chroma 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 Chroma is typically brought in for.
- What can AWS API Gateway do that Chroma cannot?
- AWS API Gateway covers REST APIs, WebSocket APIs, HTTP APIs, Lambda. Chroma covers Embedded mode, Single-node server, Distributed architecture, Vector search.
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.
SourceChroma: Do I need to run a server?
No. Chroma runs embedded in your process with persistence to a local directory, which is how most projects start. The server and distributed modes exist for when multiple clients or larger collections require them.
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.
SourceChroma: How large can a single node get?
The project puts single-node deployments at fewer than about ten million records across a handful of collections, with collection size bounded by system memory at roughly 245,000 records per gigabyte at 1024 dimensions.
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.
SourceChroma: Is Chroma Cloud the same software?
It is the same API and project, but the distributed deployment is a different architecture, using independent services, object storage and SSD caches rather than a single process. Behaviour under load differs accordingly.
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.
SourceChroma: How does it compare with pgvector?
pgvector keeps vectors in a Postgres database you already operate, with SQL, joins and transactions. Chroma is a dedicated retrieval engine with a lower setup cost and a retrieval-shaped API. If you already run Postgres, pgvector removes a system; if you do not, Chroma removes a decision.
Chroma: What licence is it under?
Apache 2.0, which permits self-hosting and embedding in commercial products without a competing-use restriction.
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 Qdrant
- AWS API Gateway vs Pinecone
- AWS API Gateway vs LanceDB
- AWS API Gateway vs Zilliz
- AWS API Gateway vs Weaviate
- AWS API Gateway vs DuckDB
- AWS API Gateway vs Vespa
- AWS API Gateway vs turbopuffer
- AWS API Gateway vs SQLite
- AWS API Gateway vs Timeplus
- AWS API Gateway vs EMQX
- AWS API Gateway vs Nile
- AWS API Gateway vs Readyset
- AWS API Gateway vs SAP HANA
- AWS API Gateway vs Vertica
- AWS API Gateway vs Airtable
- AWS API Gateway vs Supabase
- AWS API Gateway vs Milvus
- Chroma vs Microsoft Azure API Management
- Chroma vs Zuplo
- Chroma vs Kong Gateway
- Chroma vs IBM API Connect
- Chroma vs Tyk
- Chroma vs Gravitee
- Chroma vs Apigee
- Chroma vs Boomi API Management
- Chroma vs Convoy
- Chroma vs Janus Gateway
- Chroma vs Spring Cloud Gateway
- Chroma vs Zeplo
- Chroma vs Volt
- Chroma vs Zimpler
- Chroma vs 3scale
- Chroma vs Basis Theory
- Chroma vs curl
- Chroma vs Flybits
- Chroma vs Qdrant
- Chroma vs Pinecone
- Chroma vs LanceDB
- Chroma vs Zilliz
- Chroma vs Weaviate
- Chroma vs DuckDB
- Chroma vs Vespa
- Chroma vs turbopuffer
- Chroma vs SQLite
- Chroma vs Timeplus
- Chroma vs EMQX
- Chroma vs Nile
- Chroma vs Readyset
- Chroma vs SAP HANA
- Chroma vs Vertica
- Chroma vs Airtable
- Chroma vs Supabase
- Chroma vs Milvus
