github Wei-Shaw/sub2api v0.1.20
Sub2API 0.1.20

latest releases: v0.1.129, v0.1.128, v0.1.127...
4 months ago

AI API Gateway Platform - 将 AI 订阅配额分发和管理

  • 安装脚本版本管理:新增 rollback、list-versions 命令,支持 -v 参数指定版本安装/升级

  • 网关错误重试:OAuth/Setup Token 遇到 403 错误自动重试,Console 遇到未配置错误码时重试

  • 账户并发状态:账户列表显示实时并发数(当前/最大)

  • Dashboard 性能指标:新增 RPM/TPM 卡片,实时显示最近 1 分钟请求数和 Token 吞吐量

  • 服务重启后页面刷新:增加倒计时显示和健康检查,避免刷新过早导致 502 错误

  • 用量窗口统一处理:Setup Token 账号也显示 5h 窗口用量,请求数/Token 数支持 K/M/B 单位

  • 账户列表 UI:合并平台和类型列,节省表格空间

  • 代码重构:移动 usage 查询逻辑到 service 层


📥 Installation

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation

Don't miss a new sub2api release

NewReleases is sending notifications on new releases.