Sub2API

Sub2API is a self-hosted gateway that lets a team share Claude, OpenAI, Gemini and Grok subscriptions through one service.

What it is good for

  • Sharing one AI subscription across several people
  • Splitting the cost of AI subscriptions among a group
  • Using Claude Code or Codex with pooled subscription access
  • Managing access to several AI providers from one place

At a glance

Who it is for
Setup
Guided command-line setup

Level 4 of 5. You copy and paste commands into a terminal by following the instructions. Comfortable territory for vibe coders.

Cost
Free and open source
Type
Agent app
Tasks
Works with
Claude Code, Codex, Claude, OpenAI, Gemini, Grok

Momentum

Rank this week
Not ranked yet
Best rank
None yet
GitHub stars
45,291

GitHub numbers as of Nov 2, 2026. Updated weekly.

42.1k 43.8k 45.5k Sep 24, 2026 Nov 2, 2026
GitHub stars for Sub2API: 42,305 on Sep 24, 2026, 45,291 on Nov 2, 2026. Source: GitHub.

Official links

Setup steps are on the official pages. We do not repeat them here, since they change.

Questions

Is Sub2API free?
Yes. It is free and open source (LGPL-3.0 license).
Do I need to know how to code to use Sub2API?
You do not need to write code, but setup means copying and pasting commands into a terminal by following its instructions.
What does Sub2API work with?
According to its own documentation, it works with Claude Code, Codex, Claude, OpenAI, Gemini, and Grok.
What is Sub2API good for?
Sharing one AI subscription across several people, splitting the cost of AI subscriptions among a group, using Claude Code or Codex with pooled subscription access, and managing access to several AI providers from one place.

Similar agents

  • LibreChat

    LibreChat is a self-hosted chat app that runs AI agents, tools, and multiple AI models for teams that want their own ChatGPT-style interface.

  • Octop

    Octop is a self-hosted AI assistant that runs multiple specialized agents for households and small teams.

  • KiroCrew

    KiroCrew is a self-hosted development workspace that keeps agent work running between sessions for developers who want long tasks done unattended.

  • Mercury

    Mercury is an agent app that runs on your own machine and keeps working in the background, for people who want a personal assistant that remembers them and asks before acting.

  • qwen-audio-agent

    qwen-audio-agent is a realtime voice runtime that lets you talk to an AI agent while it keeps working on background tasks for you.

  • MLX-Serve

    MLX-Serve is a local model server and Mac app that runs AI models offline for chat, coding agents, and media for Mac users.

Last updated Nov 2, 2026. Tracked since Oct 28, 2026. Parts of this summary required judgment because the source material was brief. The summary was written by an AI model from the project's own description and checked against our copy rules. Spotted an error? Tell us.