Source: https://seerepo.com/compare/basketikun/chatgpt2api/vs/QuantumNous/new-api
Markdown source: https://seerepo.com/compare/basketikun/chatgpt2api/vs/QuantumNous/new-api.md
Description: chatgpt2api and new-api share 7 technologies: Gin, MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, github.com/tiktoken-go/tokenizer, and golang.org/x/image. Both are written in Go.

# chatgpt2api vs new-api

chatgpt2api and new-api share 7 technologies: Gin, MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, github.com/tiktoken-go/tokenizer, and golang.org/x/image. Both are written in Go.

- [basketikun/chatgpt2api](https://seerepo.com/r/basketikun/chatgpt2api): ChatGPT 官网接口纯协议逆向实现，Go 语言编写，高并发、低内存、高性能。指纹级请求还原，支持 GPT-Image-2.6 生图/改图、GIF 动图、文本模型与语音合成/转写，兼容 OpenAI 接口协议，在线批量生图，号池管理，支持导入 CPA、sub2api 号池，可接入 Cherry Studio、New API 等软件
- [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.

## What they share and what sets them apart

- In common: Gin, MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, github.com/tiktoken-go/tokenizer, golang.org/x/image
- Only in chatgpt2api: github.com/studio-b12/gowebdav, github.com/disintegration/imaging
- Only in new-api: pgx, Redis, github.com/samber/hot, ClickHouse, github.com/glebarez/go-sqlite, Stripe, github.com/MoeForge/moejs, github.com/gin-contrib/static, Electron, React, @tanstack, 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/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, Tailwind CSS, class-variance-authority, tailwind-merge, sonner, React Hook Form, @tanstack/react-table, Base UI, motion, visactor, xyflow, CodeMirror, react-day-picker, @lezer/highlight, yace, auto-skeleton-react, cmdk, embla-carousel-react, input-otp, react-resizable-panels, react-top-loading-bar, recharts, use-stick-to-bottom, vaul, Lucide, hugeicons, @lobehub/icons, react-icons, ai, tokenlens, stream-markdown-parser, marked, dompurify, shiki, katex, qrcode.react, yaml, Zod, @hookform/resolvers

## Side by side

| | chatgpt2api | new-api |
|---|---|---|
| Size | 14,813 lines written, 58 code files | 641,830 lines written, 2,073 code files |
| Who writes it | 29.7% of its commits signed by AI. With Codex and Claude Code | 0.7% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, Jules, and Cursor |
| Activity | Last push November 16, 2026, 256 commits, 6,969 stars | Last push November 17, 2026, 5,458 commits, 52,102 stars |
| Tests | 14 test files. 27.6% of its code files have a test that imports them | 573 test files. 41.4% 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, chatgpt2api or new-api?

new-api, with 641,830 lines written; chatgpt2api has 14,813.

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

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

new-api, with 52,102 stars; chatgpt2api has 6,969.

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

### Which has more tests, chatgpt2api or new-api?

new-api, with 573 test files; chatgpt2api has 14.

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

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

new-api: its last push was on November 17, 2026, and chatgpt2api's on November 16, 2026.

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

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

chatgpt2api: an AI signed 29.7% of its commits, with Codex and Claude Code; in new-api, 0.7%.

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

## Sources

- basketikun/chatgpt2api: Read on November 20, 2026, at commit 89a8ad0 (https://github.com/basketikun/chatgpt2api/tree/89a8ad01736e69d30dbbb398df751af3a54da8ef)
- QuantumNous/new-api: Read on November 18, 2026, at commit 669d774 (https://github.com/QuantumNous/new-api/tree/669d774976369e986f03b6e24fff1042f6f94832)

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