GH Repository · Wei-Shaw
sub2api
Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。
- stars
- 41,813
- 30-day movement
- +479160/day
- Related entries
- 60
- Connections
- 1
makedockerGocrs2othercc2apigeminicrscodexclaude-codeclaudeantigravity2api2api
sub2api is an open-source relay/proxy service that unifies access to Claude, OpenAI, Gemini, and Grok subscriptions behind a single API endpoint. It supports shared 'carpool' accounts so costs can be split among users, and it aims to keep native tools like Claude Code and Codex working without modification.
Use it when you want one self-hosted gateway to pool and share multiple AI provider subscriptions instead of managing each separately.
Use it to
- Expose Claude, OpenAI, Gemini, and Grok subscriptions through one API
- Share pooled accounts among a team to split costs
- Point native tools like Claude Code or Codex at the relay
- Self-host the gateway via the provided Docker toolchain
For Teams or groups sharing paid AI subscriptions
- Role
- other
- Language
- Go
- Licence
- LGPL-3.0
- Forks
- 8,749
- Open issues
- 2,484
- Last push
- 2026-09-17
- Latest release
- v0.1.136 · 2026-06-10
topicsapi-gatewayproxyclaudegeminiaccount-sharingself-hosted