new-api vs sqlc

new-api and sqlc share 3 technologies: pgx, MySQL, and Postgres. Both are written in Go.

Read it as markdown

What they share and what sets them apart

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.

Go51.4kRead on November 5, 2026, at commit 2de51a1What is new-api built with?

Only in new-api

In common

Only in sqlc

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
new-api574,600 lines written1,977 code files
sqlc77,648 lines written576 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.
new-api0.7% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, Jules, and Cursor
sqlc2.9% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
new-apiLast push November 5, 20265,420 commits51,436 stars
sqlcLast push November 3, 20261,919 commits18,435 stars
TestsThe files that test the code, and the share of code files a test imports.
new-api511 test files39.5% of its code files have a test that imports them
sqlc75 test files14.8% of its code files have a test that imports them

Frequently asked questions

Which is bigger, new-api or sqlc?
new-api, with 574,600 lines written; sqlc has 77,648.

The proof: QuantumNous/new-api's code at commit 2de51a1

Which has more GitHub stars, new-api or sqlc?
new-api, with 51,436 stars; sqlc has 18,435.

The proof: QuantumNous/new-api on GitHub

Which has more tests, new-api or sqlc?
new-api, with 511 test files; sqlc has 75.

The proof: QuantumNous/new-api's code at commit 2de51a1

Which was updated more recently, new-api or sqlc?
new-api: its last push was on November 5, 2026, and sqlc's on November 3, 2026.

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

Which has more commits signed by AI, new-api or sqlc?
sqlc: an AI signed 2.9% of its commits, with Claude Code; in new-api, 0.7%.

The proof: the commits each tool signed in sqlc-dev/sqlc

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.

Or look inside SeeRepo's own →