grok2api vs new-api

grok2api and new-api share 18 technologies: Gin, Redis, Postgres, github.com/glebarez/sqlite, React, gorm.io/gorm, github.com/golang-jwt/jwt/v5, Tailwind CSS, class-variance-authority, tailwind-merge, sonner, React Hook Form, recharts, react-day-picker, Lucide, marked, @hookform/resolvers, and Zod. Both are written in Go.

Read it as markdown

What they share and what sets them apart

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.
grok2api200,409 lines written351 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.
grok2api3.8% of its commits signed by AIWith Codex, Claude Code, and Cursor
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.
grok2apiLast push November 11, 2026983 commits7,906 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.
grok2api225 test files65.5% 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, grok2api or new-api?
new-api, with 641,830 lines written; grok2api has 200,409.

The proof: QuantumNous/new-api's code at commit 669d774

Which has more GitHub stars, grok2api or new-api?
new-api, with 52,102 stars; grok2api has 7,906.

The proof: QuantumNous/new-api on GitHub

Which has more tests, grok2api or new-api?
new-api, with 573 test files; grok2api has 225.

The proof: QuantumNous/new-api's code at commit 669d774

Which was updated more recently, grok2api or new-api?
new-api: its last push was on November 17, 2026, and grok2api's on November 11, 2026.

The proof: QuantumNous/new-api's commits on GitHub

Which has more commits signed by AI, grok2api or new-api?
grok2api: an AI signed 3.8% of its commits, with Codex, Claude Code, and Cursor; in new-api, 0.7%.

The proof: the commits each tool signed in chenyme/grok2api

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 GitHub

Or look inside SeeRepo's own →