Source: https://seerepo.com/compare/QuantumNous/new-api/vs/xbtlin/ai-berkshire
Markdown source: https://seerepo.com/compare/QuantumNous/new-api/vs/xbtlin/ai-berkshire.md
Description: new-api and ai-berkshire share 16 technologies: React, Tailwind CSS, class-variance-authority, tailwind-merge, sonner, React Hook Form, Base UI, react-day-picker, cmdk, embla-carousel-react, input-otp, react-resizable-panels, recharts, vaul, Lucide, and Zod. new-api is written in Go and ai-berkshire in HTML.

# new-api vs ai-berkshire

new-api and ai-berkshire share 16 technologies: React, Tailwind CSS, class-variance-authority, tailwind-merge, sonner, React Hook Form, Base UI, react-day-picker, cmdk, embla-carousel-react, input-otp, react-resizable-panels, recharts, vaul, Lucide, and Zod. new-api is written in Go and ai-berkshire in HTML.

- [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api): Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
- [xbtlin/ai-berkshire](https://seerepo.com/r/xbtlin/ai-berkshire): AI 时代的伯克希尔：基于 Claude Code / Codex 的价值投资研究框架。巴菲特·芒格·段永平·李录四大师方法论 + 多Agent并行研究。| AI-era Berkshire: a value investing research framework built for Claude Code / Codex. 4 masters' methodologies + multi-agent adversarial analysis.

## What they share and what sets them apart

- In common: React, Tailwind CSS, class-variance-authority, tailwind-merge, sonner, React Hook Form, Base UI, react-day-picker, cmdk, embla-carousel-react, input-otp, react-resizable-panels, recharts, vaul, Lucide, Zod
- Only in new-api: Gin, pgx, Redis, github.com/samber/hot, ClickHouse, MySQL, Postgres, github.com/glebarez/go-sqlite, github.com/glebarez/sqlite, Stripe, github.com/MoeForge/moejs, github.com/gin-contrib/static, Electron, @tanstack, gorm.io/gorm, gorm.io/driver/clickhouse, github.com/go-webauthn/webauthn, github.com/casbin/casbin/v2, github.com/golang-jwt/jwt/v5, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/go-ntlmssp, github.com/coreos/go-oidc/v3, github.com/pquerna/otp, golang.org/x/oauth2, openai-go, relaykit, tokenkit, github.com/aws/aws-sdk-go-v2/service/bedrockruntime, github.com/tiktoken-go/tokenizer, golang.org/x/image, github.com/abema/go-mp4, github.com/go-audio/aiff, github.com/go-audio/wav, github.com/HugoSmits86/nativewebp, github.com/jfreymuth/oggvorbis, github.com/ledongthuc/pdf, github.com/mewkiz/flac, github.com/tcolgate/mp3, github.com/yapingcat/gomedia, github.com/go-playground/validator/v10, github.com/aws/aws-sdk-go-v2, github.com/grafana/pyroscope-go, Prometheus, @tanstack/react-table, motion, visactor, xyflow, CodeMirror, @lezer/highlight, yace, auto-skeleton-react, react-top-loading-bar, use-stick-to-bottom, hugeicons, @lobehub/icons, react-icons, ai, tokenlens, stream-markdown-parser, marked, dompurify, shiki, katex, qrcode.react, yaml, @hookform/resolvers
- Only in ai-berkshire: Next.js, next-themes, Radix UI, @shadcn/react, Drizzle

## Side by side

| | new-api | ai-berkshire |
|---|---|---|
| Size | 641,830 lines written, 2,073 code files | 41,600 lines written, 97 code files |
| Who writes it | 0.7% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, Jules, and Cursor | 47% of its commits signed by AI. With Claude Code and GitHub Copilot |
| Activity | Last push November 17, 2026, 5,458 commits, 52,102 stars | Last push November 21, 2026, 1,675 commits, 17,230 stars |
| Tests | 573 test files. 41.4% of its code files have a test that imports them | 5 test files. 1% 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, new-api or ai-berkshire?

new-api, with 641,830 lines written; ai-berkshire has 41,600.

The proof: [QuantumNous/new-api's code at commit 669d774](https://github.com/QuantumNous/new-api/tree/669d774976369e986f03b6e24fff1042f6f94832)

### Which has more GitHub stars, new-api or ai-berkshire?

new-api, with 52,102 stars; ai-berkshire has 17,230.

The proof: [QuantumNous/new-api on GitHub](https://github.com/QuantumNous/new-api)

### Which has more tests, new-api or ai-berkshire?

new-api, with 573 test files; ai-berkshire has 5.

The proof: [QuantumNous/new-api's code at commit 669d774](https://github.com/QuantumNous/new-api/tree/669d774976369e986f03b6e24fff1042f6f94832)

### Which was updated more recently, new-api or ai-berkshire?

ai-berkshire: its last push was on November 21, 2026, and new-api's on November 17, 2026.

The proof: [xbtlin/ai-berkshire's commits on GitHub](https://github.com/xbtlin/ai-berkshire/commits)

### Which has more commits signed by AI, new-api or ai-berkshire?

ai-berkshire: an AI signed 47% of its commits, with Claude Code and GitHub Copilot; in new-api, 0.7%.

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

## Sources

- QuantumNous/new-api: Read on November 18, 2026, at commit 669d774 (https://github.com/QuantumNous/new-api/tree/669d774976369e986f03b6e24fff1042f6f94832)
- xbtlin/ai-berkshire: Read on November 23, 2026, at commit 5c4c6fb (https://github.com/xbtlin/ai-berkshire/tree/5c4c6fb6074e04f3ab0035453432bda9baf25c39)

## 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.
