Wei-Shaw/sub2api

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

What it solves

Sub2API is an AI API gateway platform designed to manage and distribute subscription quotas for various AI model services. It helps developers and teams organize their access to multiple AI providers through a unified interface, simplifying the management of API keys and usage limits.

How it works

Built using Go, Vue, PostgreSQL, and Redis, the platform acts as a middleware layer (gateway) that routes requests to upstream AI model providers. It allows users to centralize their API traffic, monitor usage, and manage subscription-based quotas in a containerized environment using Docker.

Who it’s for

This project is intended for developers, researchers, and technical teams who need to manage multiple AI model subscriptions, track API usage, or implement a relay system for AI services in a self-hosted or private infrastructure.

Highlights

  • Unified Gateway: Centralizes access to various AI providers through a single API interface.
  • Quota Management: Tools for distributing and tracking subscription-based API usage.
  • Tech Stack: Built with a modern, performant stack including Go, Vue 3, PostgreSQL, and Redis.
  • Container Ready: Fully prepared for deployment via Docker.

Related

  • Project
  • Project
  • Project
  • Project
  • Project