Source: https://seerepo.com/compare/666ghj/BettaFish/vs/BerriAI/litellm
Markdown source: https://seerepo.com/compare/666ghj/BettaFish/vs/BerriAI/litellm.md
Description: BettaFish and litellm share 4 technologies: Flask, Redis, Postgres, and OpenAI. Both are written in Python.

# BettaFish vs litellm

BettaFish and litellm share 4 technologies: Flask, Redis, Postgres, and OpenAI. Both are written in Python.

- [666ghj/BettaFish](https://seerepo.com/r/666ghj/BettaFish): 微舆：人人可用的多Agent舆情分析助手，打破信息茧房，还原舆情原貌，预测未来走向，辅助决策！从0实现，不依赖任何框架。
- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm): The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

## What they share and what sets them apart

- In common: Flask, Redis, Postgres, OpenAI
- Only in BettaFish: Django, MongoDB
- Only in litellm: Next.js, React, FastAPI, axum, Claude, Anthropic

## Side by side

| | BettaFish | litellm |
|---|---|---|
| Size | 58,909 lines written, 157 code files | 4,405,837 lines written, 5,630 code files |
| Who writes it | 0.7% of its commits signed by AI. With Codex and Claude Code | 20% of its commits signed by AI. With Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI |
| Activity | Last push October 16, 2026, 903 commits, 42,555 stars | Last push October 30, 2026, 45,956 commits, 62,405 stars |
| Tests | 15 test files. 11.5% of its code files have a test that imports them | 6,741 test files. 21.7% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, BettaFish or litellm?

litellm, with 4,405,837 lines written in 5,630 code files; BettaFish has 58,909 in 157.

The proof: [BerriAI/litellm's code at commit ef9385c](https://github.com/BerriAI/litellm/tree/ef9385c712297fa59bf8555962bfd719c55a4529)

### Which has more GitHub stars, BettaFish or litellm?

litellm, with 62,405 stars; BettaFish has 42,555.

The proof: [BerriAI/litellm on GitHub](https://github.com/BerriAI/litellm)

### Which has more tests, BettaFish or litellm?

litellm, with 6,741 test files; BettaFish has 15.

The proof: [BerriAI/litellm's code at commit ef9385c](https://github.com/BerriAI/litellm/tree/ef9385c712297fa59bf8555962bfd719c55a4529)

### Which was updated more recently, BettaFish or litellm?

litellm: its last push was on October 30, 2026, and BettaFish's on October 16, 2026.

The proof: [BerriAI/litellm's commits on GitHub](https://github.com/BerriAI/litellm/commits)

### Which has more commits signed by AI, BettaFish or litellm?

litellm: an AI signed 20% of its commits, with Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI; in BettaFish, 0.7%.

The proof: [the commits each tool signed in BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/ai)

## Sources

- 666ghj/BettaFish: Read on October 31, 2026, at commit b67928f (https://github.com/666ghj/BettaFish/tree/b67928ff1ce515dd7672408221fb1e9500d0972d)
- BerriAI/litellm: Read on October 30, 2026, at commit ef9385c (https://github.com/BerriAI/litellm/tree/ef9385c712297fa59bf8555962bfd719c55a4529)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
