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.

Read it as markdown

What they share and what sets them apart

basketikun

chatgpt2api

ChatGPT 官网接口纯协议逆向实现,Go 语言编写,高并发、低内存、高性能。指纹级请求还原,支持 GPT-Image-2.6 生图/改图、GIF 动图、文本模型与语音合成/转写,兼容 OpenAI 接口协议,在线批量生图,号池管理,支持导入 CPA、sub2api 号池,可接入 Cherry Studio、New API 等软件

Go7kRead on November 20, 2026, at commit 89a8ad0What is chatgpt2api built with?

Only in chatgpt2api

In common

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.

Go52.1kRead on November 18, 2026, at commit 669d774What is new-api built with?

Only in new-api

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
chatgpt2api14,813 lines written58 code files
new-api641,830 lines written2,073 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
chatgpt2api29.7% of its commits signed by AIWith Codex and Claude Code
new-api0.7% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, Jules, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
chatgpt2apiLast push November 16, 2026256 commits6,969 stars
new-apiLast push November 17, 20265,458 commits52,102 stars
TestsThe files that test the code, and the share of code files a test imports.
chatgpt2api14 test files27.6% of its code files have a test that imports them
new-api573 test files41.4% of its code files have a test that imports them

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

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

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

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

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

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →