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.
What they share and what sets them apart
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
github.com/studio-b12/gowebdav
- github.com/disintegration/imaging
In common
- Gin
- MySQL
- Postgres
- github.com/glebarez/sqlite
- gorm.io/gorm
- github.com/tiktoken-go/tokenizer
- golang.org/x/image
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
- 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
Frequently asked questions
Which is bigger, chatgpt2api or new-api?
The proof: QuantumNous/new-api's code at commit 669d774
Which has more GitHub stars, chatgpt2api or new-api?
The proof: QuantumNous/new-api on GitHub
Which has more tests, chatgpt2api or new-api?
The proof: QuantumNous/new-api's code at commit 669d774
Which was updated more recently, chatgpt2api or new-api?
The proof: QuantumNous/new-api's commits on GitHub
Which has more commits signed by AI, chatgpt2api or new-api?
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.
Free, no account.Private repo? Sign in with GitHubOr connect it to your agent

