sub2api: Open-source relay unifies LLM subscriptions

OpenSource APIs

TL;DR: sub2api is an open-source service that turns Claude, OpenAI, Gemini, and Grok subscriptions into a single API for cost-sharing.

Summary: Developer Wei-Shaw released sub2api, a self-hosted relay that aggregates subscriptions to Claude, OpenAI, Gemini, and Grok into one API endpoint. It supports shared/carpooled access so multiple users can pool subscriptions and split costs, and works with native tools without custom wrappers. The project aims to simplify multi-provider AI development without juggling separate API keys.

Why it matters: AI builders can cut API costs and avoid vendor lock-in by pooling subscriptions behind one interface. Watch for rate-limit handling and reliability; try it if you're managing multiple model providers.

Source: github_trending