Skip to content

gpt-load

Self-hosted gateway that pools LLM API keys and subscriptions behind one endpoint

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

85

Health

Thriving

Overview

Stars

7,248

Last commit

today

Nov 2026

Repository age

1 year

since Jun 2025

Latest version

v2.0.0-rc.67

Nov 2026

Contributors

–

6 active in 90 days

Releases

25

last 12 months

Docker pulls

86k

tbphp/gpt-load

Language

Go

GPT-Load is a self-hosted AI gateway written in Go. Your applications use one base URL and one access key. Providers, accounts, credentials, models and routing rules are set in a built-in management UI. Clients keep their native OpenAI, Anthropic or Gemini interfaces.

It treats API keys and subscription accounts, including Codex, Claude, Antigravity and Grok, with the same credential management, scheduling and health handling. Scheduling options include multiple credentials per channel, configurable weights, retries, cooldown, blacklisting and session affinity, so a failing or overloaded credential has less impact. The project describes support for 37 channels.

The UI shows health, routes, request logs, usage and cost estimates. Data is stored in SQLite, MySQL or PostgreSQL, and credentials are encrypted locally. You run it with Docker under the MIT license. The current release is a v2 release candidate, and an online demo is available. It fits people who juggle several providers or accounts and want one place to route and watch that traffic.

Who it's for

Developers using Codex or Claude Code across several accounts

One endpoint spreads requests over credentials and handles retries and cooldowns.

Skip if: You use a single key with one provider and need no routing.

Small teams sharing LLM API keys

Request logs and usage estimates show who and what consumes your quota.

Skip if: You need a vendor-managed service with support contracts.

Self-hosters running mixed providers and compatible relays

It keeps OpenAI, Anthropic and Gemini client protocols intact while you change backends.

Skip if: You want to avoid running a service and a database.

The problem it solves

When you rely on many API keys, accounts and providers, each client needs its own settings, and one failing key can break a workflow. Tracking usage across them is manual. GPT-Load puts them behind one entry point with routing, failure handling and logs.

Strengths

  • MIT-licensed Go service with Docker support
  • Weights, retries, cooldown, blacklisting and session affinity for credentials
  • Keeps native OpenAI, Anthropic and Gemini client interfaces
  • Stores data in SQLite, MySQL or PostgreSQL with local credential encryption
  • Embedded UI with logs, health, usage and cost estimates

Trade-offs

  • Latest version is a v2.0.0 release candidate
  • Cost figures are estimates, not provider invoices
  • You operate it yourself, including the database and updates

Self-host gpt-load

Self-hostable
Yes
Docker image
tbphp/gpt-load
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is GPT-Load free?

Yes. It is released under the MIT license, so you can use and modify it at no license cost.

Can I self-host it?

Yes. It is built for self-hosting and has a Docker image.

Which databases does it support?

SQLite, MySQL and PostgreSQL.

Which client protocols work?

Clients can keep native OpenAI, Anthropic or Gemini interfaces, and it can also convert protocols when you configure that.

Is there a demo?

Yes. An online demo is available at demo.gpt-load.com with the login key gpt-load-demo.

Similar tools in LLM gateways and routers

Helicone

LLM gateways and routers

AI gateway with request logging and tracing for teams running LLM apps

6.3k 709 6 days ago Slowing Apache-2.0

Replaces LangSmith

new-api

LLM gateways and routers

Self-hosted AI gateway that routes many model providers through one API and web console

52k 13k today Thriving AGPL-3.0

GoModel

LLM gateways and routers

Go-based AI gateway giving one OpenAI and Anthropic compatible endpoint for many LLM

1.3k 136 today Thriving MIT

Portkey AI Gateway

LLM gateways and routers

Self-hostable MIT-licensed gateway for routing requests across LLM providers

13k 1.4k 6 months ago Dormant MIT

Bifrost

LLM gateways and routers

Self-hosted AI gateway that routes one OpenAI-style API to 23+ LLM providers

10k 1.6k today Thriving Apache-2.0

Manifest

LLM gateways and routers

Self-hosted OpenAI-compatible gateway that routes agent requests across models and keys

7.7k 534 today Thriving MIT

Replaces OpenRouter