APIs · head to head
GraphQL Apollo vs TiDB

GraphQL Apollo
APIs
Complete platform for building GraphQL APIs
- From
- Free
- Free plan
- Yes

TiDB
Databases
Apache 2.0 distributed SQL database with MySQL wire compatibility and a separate columnar replica for analytical queries.
- From
- Free
- Free plan
- Yes
The short version
- Free plans on both; paid from $5/mo and $250/mo.
- Only GraphQL Apollo lists apollo Server; only TiDB lists MySQL wire compatibility.
- Where GraphQL Apollo falls short: standard and Enterprise plans require sales contact for custom pricing.
How do GraphQL Apollo and TiDB differ?
GraphQL Apollo and TiDB differ on platforms, category (APIs against Databases) and year founded (2016 against 2015). Only the attributes on which GraphQL Apollo and TiDB actually diverge.
| Attribute | GraphQL Apollo | TiDB |
|---|---|---|
| Platforms | API, Web, iOS, Android | Web, AWS, Azure, Self-managed |
| Category | APIs | Databases |
| Founded | 2016 | 2015 |
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Which features does each one have?
They share no listed features; 10 appear only for GraphQL Apollo and 10 only for TiDB. 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 GraphQL Apollo
- Apollo Server
- Apollo Client
- GraphQL Federation
- REST APIs
- Microservices
- Databases
- JavaScript support
- Node.js support
Only in TiDB
- MySQL wire compatibility
- Horizontal write scaling
- Distributed ACID transactions
- TiFlash columnar replica
- Automatic rebalancing
- Raft replication
- Apache 2.0 licence
- Online schema change
What is each one used for?
GraphQL Apollo is most often brought in for GraphQL API management. The jobs each tool is most often brought in to do.
GraphQL Apollo
- GraphQL API managementnot TiDB
- Schema federationnot TiDB
- API analytics and monitoringnot TiDB
- Developer-focused infrastructurenot TiDB
TiDB
- A MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layernot GraphQL Apollo
- Reporting that must run against current transactional data, where the columnar replica removes the delay and the cost of an ETL pipelinenot GraphQL Apollo
- Multi-region deployments needing a single logical database with automatic failover rather than manual primary promotionnot GraphQL Apollo
- Migrating off a sharded MySQL estate where the sharding logic in the application has become the main source of bugs and operational toilnot GraphQL Apollo
Where do GraphQL Apollo and TiDB fall short?
GraphQL Apollo's most cited limit: standard and Enterprise plans require sales contact for custom pricing. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
GraphQL Apollo
- Standard and Enterprise plans require sales contact for custom pricing
- Free plan limited to 3 developers and 1-day retention
- Self-hosted router on free tier heavily rate-limited to 60 requests/minute
- Pricing beyond the Developer tier requires contacting sales, making cost comparison harder for mid-size teams
- Adopting GraphOS effectively requires buy-in to the GraphQL paradigm, which is a larger architectural shift than adding a REST gateway
TiDB
- A production cluster needs several placement driver, storage and SQL nodes before it is fault tolerant, so the minimum viable footprint is far larger than a MySQL server and TiDB is never the economical choice for a small database
- Every transaction takes a timestamp from the placement driver and crosses the network to storage nodes, so simple point queries are slower than on single-node MySQL and latency-sensitive paths need to be measured, not assumed
- MySQL compatibility is at the wire and dialect level but not complete; stored procedures, triggers and events are not supported, so an application that pushed logic into the database cannot simply be repointed
- The columnar replica is an extra full copy of the data on its own nodes, so hybrid analytics roughly doubles storage and adds hardware that must be sized and paid for separately
- Operating it well requires cluster-specific expertise in TiUP or the Kubernetes operator, region hot spots, and rebalancing behaviour, so the licence is free but the running cost includes an engineer who understands distributed storage
How much do GraphQL Apollo and TiDB cost?
GraphQL Apollo has a free plan, with paid plans from $5/mo; TiDB has a free plan, with paid plans from $250/mo. Plan by plan below, from each vendor's own pricing page.
GraphQL Apollo
Free- FreeFree
- 3 developers
- 1-day data retention
- Community support only
- Developer$5
- $50 usage credit for new signups
- Up to 10 developers
- 7-day data retention
- StandardOn request
- Up to 30 developers
- 90-day data retention
- Standard support with SLA (8x5)
- EnterpriseOn request
- Unlimited developers
- 18-month data retention
- Business support 24x7x365 with SLA
TiDB
Free- ServerlessFree
- 5GB storage
- 50M request units
- Free forever tier
- Dedicated$250/mo
- Dedicated resources
- SLA guarantees
- Enterprise support
Which should you pick?
Choose GraphQL Apollo if
- You need apollo server.
- You want to start without paying.
- You work on API, Web, iOS, Android.
- You also want apollo client.
Choose TiDB if
- You need mysql wire compatibility.
- You want to start without paying.
- You work on Web, AWS, Azure, Self-managed.
- You also want horizontal write scaling.
Questions people ask
- Is GraphQL Apollo or TiDB better?
- It depends on the job. GraphQL Apollo fits graphQL API management; TiDB fits a MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layer. GraphQL Apollo starts at Free and TiDB at Free.
- Which is cheaper, GraphQL Apollo or TiDB?
- GraphQL Apollo starts at Free and TiDB at Free.
- Does GraphQL Apollo or TiDB run on more platforms?
- GraphQL Apollo runs on API, Web, iOS, Android. TiDB runs on Web, AWS, Azure, Self-managed.
- Can I use GraphQL Apollo for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is GraphQL Apollo best used for?
- GraphQL Apollo is most often used for graphql api management, schema federation, api analytics and monitoring, developer-focused infrastructure. Of those, graphql api management and schema federation are not what TiDB is typically brought in for.
- What can GraphQL Apollo do that TiDB cannot?
- GraphQL Apollo covers Apollo Server, Apollo Client, GraphQL Federation, REST APIs. TiDB covers MySQL wire compatibility, Horizontal write scaling, Distributed ACID transactions, TiFlash columnar replica.
Answered from the vendors’ own pages
GraphQL Apollo: How much does Apollo GraphQL cost?
Apollo GraphQL is free for up to 3 developers. Paid plans start at $5 per million GraphQL requests on the Developer plan, which includes $50 usage credit for new signups. Standard and Enterprise plans require custom pricing via sales contact.
SourceTiDB: Is TiDB a drop-in replacement for MySQL?
At the protocol and dialect level it is close, and most applications connect unchanged. Stored procedures, triggers and events are not supported, and latency characteristics differ, so it needs testing rather than assumption.
GraphQL Apollo: Is there a free version of Apollo GraphQL?
Yes, Apollo GraphQL offers a forever-free plan with no credit card required for up to 3 developers, including 1-day data retention, community support, and self-hosted GraphOS Router rate-limited to 60 requests per minute.
SourceTiDB: What licence is it under?
Apache 2.0, for both TiDB and the underlying TiKV storage engine. TiKV is a graduated CNCF project, which is a meaningful governance signal in a market where several competitors moved to source-available licences.
GraphQL Apollo: What does Apollo's Enterprise plan include that Standard does not?
The Enterprise plan offers unlimited developers versus 30 on Standard, 18-month data retention versus 90 days, and 24x7x365 business support with SLA instead of 8x5 support. It also includes premium and professional services add-ons and custom MSA agreements. Both require custom pricing.
SourceTiDB: Do I need TiFlash?
Only for analytical queries. It is an optional columnar replica; without it TiDB is a distributed transactional database. With it you get analytics on live data at the cost of an additional full copy.
TiDB: Is the managed cloud the same software?
TiDB Cloud runs the same engine, with the control plane, scaling and operational tooling provided as a service. The entry tier is metered differently from a dedicated cluster, so the cost model rather than the engine is what changes.
TiDB: When is TiDB the wrong choice?
When the database is small enough for one server, when latency on single-row lookups is the primary constraint, or when the application depends on MySQL stored procedures and triggers.
Related pages
More on GraphQL Apollo
Other head to heads
- GraphQL Apollo vs Hasura
- GraphQL Apollo vs Kong Gateway
- GraphQL Apollo vs Directus
- GraphQL Apollo vs Tyk
- GraphQL Apollo vs Strapi
- GraphQL Apollo vs GraphQL Playground
- GraphQL Apollo vs WSO2 API Manager
- GraphQL Apollo vs Parse Server
- GraphQL Apollo vs Janus Gateway
- GraphQL Apollo vs Hoppscotch
- GraphQL Apollo vs Gravitee
- GraphQL Apollo vs HTTPie
- GraphQL Apollo vs Fintecture
- GraphQL Apollo vs KeystoneJS
- GraphQL Apollo vs LiteLLM
- GraphQL Apollo vs Moov
- GraphQL Apollo vs Portkey
- GraphQL Apollo vs Postmark
- GraphQL Apollo vs SingleStore
- GraphQL Apollo vs CockroachDB
- GraphQL Apollo vs YugabyteDB
- GraphQL Apollo vs Amazon Aurora
- GraphQL Apollo vs PlanetScale
- GraphQL Apollo vs MySQL
- GraphQL Apollo vs Vitess
- GraphQL Apollo vs Google Cloud Spanner
- GraphQL Apollo vs Elasticsearch
- GraphQL Apollo vs SAP HANA
- GraphQL Apollo vs DuckDB
- GraphQL Apollo vs Apache HBase
- GraphQL Apollo vs DBeaver
- GraphQL Apollo vs etcd
- GraphQL Apollo vs Fivetran HVR
- GraphQL Apollo vs Amazon ElastiCache
- GraphQL Apollo vs BigQuery
- GraphQL Apollo vs Amazon Neptune
- TiDB vs Hasura
- TiDB vs Kong Gateway
- TiDB vs Directus
- TiDB vs Tyk
- TiDB vs Strapi
- TiDB vs GraphQL Playground
- TiDB vs WSO2 API Manager
- TiDB vs Parse Server
- TiDB vs Janus Gateway
- TiDB vs Hoppscotch
- TiDB vs Gravitee
- TiDB vs HTTPie
- TiDB vs Fintecture
- TiDB vs KeystoneJS
- TiDB vs LiteLLM
- TiDB vs Moov
- TiDB vs Portkey
- TiDB vs Postmark
- TiDB vs SingleStore
- TiDB vs CockroachDB
- TiDB vs YugabyteDB
- TiDB vs Amazon Aurora
- TiDB vs PlanetScale
- TiDB vs MySQL
- TiDB vs Vitess
- TiDB vs Google Cloud Spanner
- TiDB vs Elasticsearch
- TiDB vs SAP HANA
- TiDB vs DuckDB
- TiDB vs Apache HBase
- TiDB vs DBeaver
- TiDB vs etcd
- TiDB vs Fivetran HVR
- TiDB vs Amazon ElastiCache
- TiDB vs BigQuery
- TiDB vs Amazon Neptune
