# litellm vs tidb

> Two self-hosted projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

| | litellm | tidb |
|---|---|---|
| Score | 88/100 ✓ | 80/100 |
| Rank in category | #4 of 125 in AI | #4 of 38 in Databases |
| GitHub stars | 62 244 ✓ | 40 685 |
| Stars, last 30 days | +2 737 ✓ | +104 |
| Stable releases, 12 months | 109 ✓ | 2 |
| Latest release | v1.106.5 · 27 Oct 2026 ✓ | v8.5.8 · 27 Aug 2026 |
| Setup | Moderate ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | Other | Apache-2.0 |
| Main language | Python | Go |

## Which one should you pick?

litellm scores 88/100 against 80/100 for tidb, so it is the safer default.

litellm ships more often: 109 stable releases in the past year, against 2 for tidb.

If you want the quickest setup, litellm is easier to run; tidb needs more configuration.

litellm is growing faster right now (+2 737 stars in 30 days).

## Details

- [litellm](https://selfhost.directory/project/litellm) (markdown: https://selfhost.directory/project/litellm.md)
- [tidb](https://selfhost.directory/project/tidb) (markdown: https://selfhost.directory/project/tidb.md)

---
Source: https://selfhost.directory/compare/litellm-vs-tidb