gpt-load vs sub2api

gpt-load and sub2api share 6 technologies: Gin, Postgres, Vite, Vue, vue-router, and Tailwind CSS. Both are written in Go.

Read it as markdown

What they share and what sets them apart

tbphp

gpt-load

Self-hosted AI gateway for multi-channel, multi-credential setups — API keys and subscription accounts, scheduling, failover, request logs and usage. 自托管 AI 网关:多渠道多凭据统一接入,含密钥与订阅账号、调度容错、日志与用量。

Go7.2kRead on November 20, 2026, at commit b4bebbcWhat is gpt-load built with?

Only in gpt-load

In common

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
gpt-load492,548 lines written1,249 code files
sub2api1,231,192 lines written1,736 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.
gpt-load0.1% of its commits signed by AIWith Cursor
sub2api18.5% of its commits signed by AIWith Codex, Claude Code, Cursor, GitHub Copilot, and Factory
ActivityFrom GitHub and its history, on the day SeeRepo read it.
gpt-loadLast push November 20, 20261,408 commits7,234 stars
sub2apiLast push November 18, 20265,680 commits46,237 stars
TestsThe files that test the code, and the share of code files a test imports.
gpt-load768 test files40.2% of its code files have a test that imports them
sub2api2,190 test files79.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, gpt-load or sub2api?
sub2api, with 1,231,192 lines written; gpt-load has 492,548.

The proof: Wei-Shaw/sub2api's code at commit 2af3f1e

Which has more GitHub stars, gpt-load or sub2api?
sub2api, with 46,237 stars; gpt-load has 7,234.

The proof: Wei-Shaw/sub2api on GitHub

Which has more tests, gpt-load or sub2api?
sub2api, with 2,190 test files; gpt-load has 768.

The proof: Wei-Shaw/sub2api's code at commit 2af3f1e

Which was updated more recently, gpt-load or sub2api?
gpt-load: its last push was on November 20, 2026, and sub2api's on November 18, 2026.

The proof: tbphp/gpt-load's commits on GitHub

Which has more commits signed by AI, gpt-load or sub2api?
sub2api: an AI signed 18.5% of its commits, with Codex, Claude Code, Cursor, GitHub Copilot, and Factory; in gpt-load, 0.1%.

The proof: the commits each tool signed in Wei-Shaw/sub2api

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →