Sub2API is an AI API gateway that routes Claude, OpenAI, Gemini, and Grok subscription capacity through one relay. Clients can share quotas and use native tooling by changing the base URL.
Overview
Sub2API acts as a unified relay for AI provider subscriptions, letting multiple users or jobs draw from pooled quota instead of each holding separate accounts. Teams can use one integration point compatible with OpenAI and Anthropic-style protocols so tools such as Claude Code and Codex work after a base URL swap.
The platform focuses on distributing subscription limits efficiently and supporting shared or carpool-style usage while keeping provider-native tool and SDK behavior. Legal and terms-of-service risks apply when relaying third-party subscriptions; the software is intended for compliant, non-commercial misuse only.
Related hosted gateways may be advertised by sponsors, but Sub2API itself is an open gateway aimed at technical learning and self-managed relay setups rather than a commercially authorized resale service.
Key features
- Multi-provider subscription relay
- OpenAI and Anthropic protocol compatibility
- Shared quota and carpool support
- Claude Code and Codex client support
- Unified API key access pattern
- Gemini and Grok subscription routing
Use cases
- Pooling AI subscription quota across a team
- Single endpoint for multiple coding agents
- Cost-sharing for personal AI subscriptions
- Local relay for compatible SDK clients