Tools/tbphp/gpt-load

gpt-load

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

6.8k+67/wkemergingGoMIT Licensetrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

GPT-Load puts one base URL and one access key in front of every model provider you use. Your app stops caring whether a request lands on OpenAI, Anthropic, Gemini, Bedrock, or Groq. Channels, credentials, models, and routing policy all live in a web console. MIT, Go, free.

Deployment is Docker Compose with application-managed SQLite by default, MySQL or Postgres if you outgrow it. It binds to localhost, the right default for something holding every API key you own, so budget time for TLS and firewall work before exposing it. One file matters most: the encryption.key file decrypts all stored credentials, this version cannot rotate it, and losing it makes every saved credential unrecoverable.

Solo devs with a single API key do not need this. Small teams running several providers who want per-key usage and cost visibility are the sweet spot. Above that, read the fine print: 2.0 runs as a single instance and shares no state, so horizontal scaling is off the table. LiteLLM is the better call at that size.

The catch is the feature that draws the traffic. Alongside API keys, GPT-Load pools subscription accounts through OAuth, Codex, Claude, Antigravity, and Grok, behind one endpoint. Those flows are unofficial and can break whenever an upstream changes, and the README itself tells you to connect only accounts you are entitled to use. That is the real constraint, not boilerplate.

Free vs Self-Hosted vs Paid

fully free

Free tier Everything. MIT license, no paid edition, no hosted cloud, no enterprise tier. The official site sells nothing.

Self-hosted The only mode. Docker Compose with application-managed SQLite is the default; DATABASE_DSN switches it to MySQL or Postgres. Native binaries ship for Linux, macOS on amd64 and arm64, and Windows, plus a Windows installer that registers a low-privilege service. The real cost is operator time: TLS and firewall work before any remote exposure, and a backup routine that keeps the database and encryption.key together, because credentials are unrecoverable without the key and this version has no master key rotation.

Paid Nothing to buy from the project. Your bill is whatever the upstream providers charge. Note that GPT-Load's own usage and cost figures are estimates derived from upstream responses, not invoices, so do not reconcile finances against them.

Free and MIT with nothing to buy. Your cost is operator time plus the upstream provider bills it routes to.

What to do by team size

Solo
free, though overkill with a single API key
Small team
free; the sweet spot for shared credentials and per-key cost visibility
Medium team
free; budget ops time for TLS, backups, and key custody
Large team
free but single-instance only, so use LiteLLM or a commercial gateway instead
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
76/100 · B+
Adoption21/30
Maintenance25/25
Community5/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
tbphp (User)
Stars
6,830
Forks
750

Explore Further

More tools in the directory