new-api vs hanko

new-api and hanko share 9 technologies: pgx, Redis, MySQL, Postgres, github.com/go-webauthn/webauthn, github.com/coreos/go-oidc/v3, github.com/pquerna/otp, golang.org/x/oauth2, and github.com/go-playground/validator/v10. 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.9kRead on November 13, 2026, at commit b20e056What is new-api built with?

Only in new-api

In common

teamhanko

hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Go9.1kRead on November 15, 2026, at commit 31909b8What is hanko built with?

Only in hanko

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
new-api639,527 lines written2,070 code files
hanko78,772 lines written553 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
hanko0.5% of its commits signed by AIWith Claude Code and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
new-apiLast push November 13, 20265,444 commits51,856 stars
hankoLast push November 14, 20262,277 commits9,072 stars
TestsThe files that test the code, and the share of code files a test imports.
new-api571 test files41.4% of its code files have a test that imports them
hanko134 test files25.9% of its code files have a test that imports them

Frequently asked questions

Which is bigger, new-api or hanko?
new-api, with 639,527 lines written; hanko has 78,772.

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

Which has more GitHub stars, new-api or hanko?
new-api, with 51,856 stars; hanko has 9,072.

The proof: QuantumNous/new-api on GitHub

Which has more tests, new-api or hanko?
new-api, with 571 test files; hanko has 134.

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

Which was updated more recently, new-api or hanko?
hanko: its last push was on November 14, 2026, and new-api's on November 13, 2026.

The proof: teamhanko/hanko's commits on GitHub

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

The proof: the commits each tool signed in QuantumNous/new-api

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 →