Cloud · head to head
Lium vs TiDB

Lium
Cloud
GPU rental marketplace billed per second, from consumer cards to B300 nodes
- From
- $0.06/hour
- Free plan
- No

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
- Lium is a GPU rental marketplace.
- TiDB has a free plan, then $250/mo; Lium starts at $0.06/mo.
- Only Lium lists per-second GPU billing; only TiDB lists MySQL wire compatibility.
- Where Lium falls short: capacity comes from independent providers, so a specific GPU model or price may not be available when you need it.
How do Lium and TiDB differ?
Lium and TiDB differ on starting price ($0.06/hour against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Lium and TiDB actually diverge.
Not yet recorded: founded for Lium.
Which features does each one have?
They share no listed features; 6 appear only for Lium 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 Lium
- Per-second GPU billing
- Consumer to data-centre GPUs
- Root access and Docker
- CLI, Python SDK and API
- Machine verification and scoring
- Storage volumes and backups
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?
Lium is most often brought in for short GPU jobs billed by the second. The jobs each tool is most often brought in to do.
Lium
- Short GPU jobs billed by the secondnot TiDB
- Training and fine-tuning on H100 to B300 nodesnot TiDB
- AI agents that rent and release GPUs on their ownnot TiDB
- Cheap experimentation on consumer GPUsnot TiDB
TiDB
- A MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layernot Lium
- Reporting that must run against current transactional data, where the columnar replica removes the delay and the cost of an ETL pipelinenot Lium
- Multi-region deployments needing a single logical database with automatic failover rather than manual primary promotionnot Lium
- Migrating off a sharded MySQL estate where the sharding logic in the application has become the main source of bugs and operational toilnot Lium
Where do Lium and TiDB fall short?
Lium's most cited limit: capacity comes from independent providers, so a specific GPU model or price may not be available when you need it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Lium
- Capacity comes from independent providers, so a specific GPU model or price may not be available when you need it
- Prices vary by listing rather than following one published rate card
- Prepaid balance only; there is no invoiced or committed-use contract on the public site
- Operator is incorporated in Saint Kitts and Nevis, which some procurement teams will want to review
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 Lium and TiDB cost?
Lium starts at $0.06/mo; TiDB has a free plan, with paid plans from $250/mo. Plan by plan below, from each vendor's own pricing page.
Lium
$0.06/hour- RTX 4090 (per GPU-hour, range across providers)$0.32/hour
- H100 80GB (per GPU-hour, range up to $3.25)$1.69/hour
- B200 (per GPU-hour, range up to $8.25)$4.85/hour
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 Lium if
- You need per-second gpu billing.
- You work on Web, API, Linux.
- You also want consumer to data-centre gpus.
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 Lium or TiDB better?
- It depends on the job. Lium fits short GPU jobs billed by the second; TiDB fits a MySQL workload that has hit the write ceiling of a single primary and would otherwise need an application-level sharding layer. Lium starts at $0.06/hour and TiDB at Free.
- Which is cheaper, Lium or TiDB?
- TiDB has a free tier; the other does not. Paid plans start at $0.06/hour for Lium and Free for TiDB.
- Does Lium or TiDB run on more platforms?
- Lium runs on Web, API, Linux. TiDB runs on Web, AWS, Azure, Self-managed.
- Can I use TiDB for free?
- Yes. TiDB has a free tier, so you can try it without paying. Lium starts at $0.06/hour.
- What is Lium best used for?
- Lium is most often used for short gpu jobs billed by the second, training and fine-tuning on h100 to b300 nodes, ai agents that rent and release gpus on their own, cheap experimentation on consumer gpus. Of those, short gpu jobs billed by the second and training and fine-tuning on h100 to b300 nodes are not what TiDB is typically brought in for.
- What can Lium do that TiDB cannot?
- Lium covers Per-second GPU billing, Consumer to data-centre GPUs, Root access and Docker, CLI, Python SDK and API. TiDB covers MySQL wire compatibility, Horizontal write scaling, Distributed ACID transactions, TiFlash columnar replica.
Answered from the vendors’ own pages
Lium: How much does Lium cost?
Lium bills each GPU per second at the price its provider lists. On 28 November 2026 the pricing page showed prices from $0.06 per GPU-hour, H100 80GB from $1.69 to $3.25 and B200 from $4.85 to $8.25 per GPU-hour.
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.
Lium: Who operates Lium?
Datura AI Corp, a company incorporated in Saint Kitts and Nevis, according to Lium's terms of service.
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.
Lium: Is there a minimum rental period?
No. Lium bills per second with no minimum and no reservation.
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.
Lium: How do you pay for Lium?
By topping up a balance with a card, several cryptocurrencies, or TAO and Bittensor alpha tokens; crypto, TAO and alpha top-ups get a 2.5% bonus.
SourceTiDB: 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.
Lium: Can Lium be used from scripts or AI agents?
Yes. Lium has an API, a command line tool and a Python SDK, and pods can be given a time to live so they remove themselves when a job ends.
SourceTiDB: 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
Other head to heads
- Lium vs Paperspace
- Lium vs Runcrate
- Lium vs Google Cloud Platform
- Lium vs Fireworks AI
- Lium vs Lambda
- Lium vs Beam Cloud
- Lium vs CloudAMQP
- Lium vs Proxmox VE
- Lium vs Railway
- Lium vs Confluent Cloud
- Lium vs Amazon S3
- Lium vs Rook
- Lium vs OpenEBS
- Lium vs SST
- Lium vs Vagrant
- Lium vs Azure Functions
- Lium vs CapRover
- Lium vs Cerebrium
- Lium vs SingleStore
- Lium vs CockroachDB
- Lium vs YugabyteDB
- Lium vs Amazon Aurora
- Lium vs PlanetScale
- Lium vs MySQL
- Lium vs Vitess
- Lium vs Google Cloud Spanner
- Lium vs Elasticsearch
- Lium vs SAP HANA
- Lium vs DuckDB
- Lium vs Apache HBase
- Lium vs DBeaver
- Lium vs etcd
- Lium vs Fivetran HVR
- Lium vs Amazon ElastiCache
- Lium vs BigQuery
- Lium vs Amazon Neptune
- TiDB vs Paperspace
- TiDB vs Runcrate
- TiDB vs Google Cloud Platform
- TiDB vs Fireworks AI
- TiDB vs Lambda
- TiDB vs Beam Cloud
- TiDB vs CloudAMQP
- TiDB vs Proxmox VE
- TiDB vs Railway
- TiDB vs Confluent Cloud
- TiDB vs Amazon S3
- TiDB vs Rook
- TiDB vs OpenEBS
- TiDB vs SST
- TiDB vs Vagrant
- TiDB vs Azure Functions
- TiDB vs CapRover
- TiDB vs Cerebrium
- 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
