+1
Daily
307
stars
55
forks
1
watchers
288
prs
81
issues
226
releases
README
GPROXY English · 简体中文 · Русский Documentation · Downloads · Discussions · Sponsor GPROXY is a self-hosted gateway for LLM APIs, written in Rust. You hand it your upstream accounts: API keys, the OAuth logins behind subscriptions such as Claude Code or Codex, or browser cookies. The people who use it get one base URL, one GPROXY API key and model names that you choose. They never see the upstream secrets. GPROXY does not run models. Inference is done by the upstream service. The full manual is at . !The console's provider page When it is useful - You have a few Claude or ChatGPT subscriptions and a pile of API keys, and you want to share them with a team or with friends. Everyone gets a key of their own with its own permissions, rate limits and budget, and you can see afterwards who used what. - The same model is available from several sources and you want them to back each other up. When an account is rate-limited or fails, the request moves to the next one and the client does not need to know. - The client only speaks the OpenAI format and the upstream is Claude or Gemini, or the other way round. - The gateway has to stay up on a server, a NAS or in a container. If all you want is to switch models for Claude Code or Codex on your own computer, a desktop switcher is less work. GPROXY does not edit those tools' configuration files; you enter the gateway URL and key yourself. Features Subscription accounts as upstreams Besides API keys, GPROXY can use subscription accounts as upstreams: Claude Code, Claude on the web, Codex (a ChatGPT account), Gemini CLI, Antigravity, GitHub Copilot CLI, Kiro, Grok Build, Kimi Code, Trae, Devin, WorkBuddy and others. You sign in once in the console and GPROXY refreshes the tokens from then on. A provider can hold several accounts. You can look up each account's quota windows, and an account that the upstream has rate-limited gives way to the others. With session affinity turned on, a conversation stays on one account, so the prompt cache is not lost by switching accounts. Claude Code and Codex CLI send more than model requests. They also ask for account details, usage, plugins and so on. GPROXY answers these too, so the official CLIs work when pointed at the gateway. What the CLI shows is the caller's own usage on the gateway; nothing about the shared account is disclosed to them. Several users Accounts are organized into users, organizations and teams, and an administrator can be limited to one organization or team. Each key can be restricted to certain providers and models and given rate limits and a spending budget. A credential can belong to a user, an organization or a team, and nobody else can use it. Tools that sign in with OAuth, such as Claude Code and Codex CLI, can sign in to your GPROXY instance directly, so you do not have to hand out a key to each person. Every upstream call is recorded with its token counts and cost. There are also request logs and an aud
Discussions
#329Help GPROXY reach the app stores0 comments · 2026-11-04#294Will automatic data migration from PostgreSQL v2 -> v4 be supported?1 comments · 2026-10-15
Latest release
gproxy v4.3.0 v4.3.0 2026-11-24v4.3.0 GPROXY now fronts MCP servers, and adds the Factory Droid channel. The full gateway is native-only: Cloudflare Workers, Netlify and Vercel run the new single-tenant engine gproxy-lite, and the edge and serverless builds of the full gateway are removed. Running SSE streams receive heartbeats while they are quiet. GPROXY 现在可以代理 MCP 服务器,并新增 Factory Droid 渠道。完整的网关只支持原生目标:Cloudflare Workers、Netlify 和 Vercel 改为运行新的单租户引擎 gproxy-lite,完整网关的 edge 与 serverless 构建已移除。流式响应静默时会收到心跳。 English Breaking: serverless platforms run gproxy-lite This release removes deployment targets. Native, Docker