Wei-Shaw

    Wei-Shaw/sub2api

    Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

    45.7K stars
    9.9K forks
    90 GitHub watchers
    Updated Nov 10, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 2 days ago, with 409 contributors on GitHub.

    Peaked at #4 in the weekly ranking the week of Mar 8, its best in the past year.

    Use Cases & Benefits

    • Provides an AI API gateway platform to unify subscription access and quota management for multiple AI services like Claude, OpenAI, Gemini, and Grok.
    • Enables efficient cost sharing and quota distribution with multi-account management, precise billing, and smart scheduling to optimize API usage.
    • Use for consolidating multiple AI service subscriptions into a single API key for streamlined developer access and billing control.
    • Use for deploying a self-hosted AI API gateway with built-in concurrency control, rate limiting, and admin dashboard for enterprise usage monitoring.
    • Use for integrating Antigravity and Claude Code accounts with dedicated endpoints and hybrid scheduling in AI application development.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    LGPL 3.0

    Weak copyleft: changes to the licensed code itself must be shared when you distribute it, but code that merely uses it can stay under your own license.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    AI API Gateway Platform for Subscription Quota Distribution

    Try Sub2API online: https://demo.sub2api.org/

    Sub2API is an AI API gateway platform designed to distribute and manage API quotas from AI product subscriptions (like Claude Code $200/month). Users can access upstream AI services through platform-generated API Keys, while the platform handles authentication, billing, load balancing, and request forwarding.

    Excerpt from the Wei-Shaw/sub2api README on GitHub (LGPL-3.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 19: +128Aug 20: +174Aug 27: +121Aug 28: +109Aug 29: +64Sep 5: +101Sep 6: +64Sep 7: +57Sep 8: +215Sep 9: +128Sep 10: +136Sep 11: +128Sep 12: +56Sep 13: +54Sep 14: +119Sep 15: +95Sep 16: +45Sep 19: +65Sep 20: +40Oct 10: +82Oct 11: +69Oct 12: +41Oct 18: +46Oct 31: +69

    +9,009 stars over 90 days across 34 snapshot days; best day +215 on Sep 8.

    Forks

    9.9K+2.3K

    Open issues

    3.9K+1.3K

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    Wei-Shaw/sub2api compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    Wei-Shaw/sub2api45.7K—552 days ago
    Category median94.7K+2.0K75—

    Also by Wei-Shaw

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description