new-api vs sqlc
new-api and sqlc share 3 technologies: pgx, MySQL, and Postgres. Both are written in Go.
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
- Gin
- Redis
- ClickHouse
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
- github.com/glebarez/sqlite
- Stripe
- Electron
- React
- TanStack
- gorm.io/gorm
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
- github.com/tiktoken-go/tokenizer
- golang.org/x/image
github.com/abema/go-mp4
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
- xyflow
@visactor/vchart
- CodeMirror
react-day-picker
- @lezer/highlight
- 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
- dompurify
marked
shiki
katex
- qrcode.react
yaml
- Zod
@hookform/resolvers
In common
sqlc-dev
sqlc
Generate type-safe code from SQL
Go18.4kRead on November 6, 2026, at commit 3ad8b20What is sqlc built with?Only in sqlc
- github.com/microsoft/go-mssqldb
- github.com/yuin/goldmark
Side by side
new-apisqlc
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%.
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.

