github Wei-Shaw/sub2api v0.1.41
Sub2API 0.1.41

latest releases: v0.1.135, v0.1.134, v0.1.133...
5 months ago

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

  • 改用前缀匹配检测 Claude Code 系统提示词,支持 Agent SDK、Explore Agent、Compact 等变体

  • 管理员用量页面账号筛选改为后端搜索,避免一次加载过多数据

  • 修复账号跨分组调度问题:账号不再被调度到未分配的分组

  • 修复 cache_control 块超限问题:新增 4 个块限制的强制执行逻辑

  • 修复 API Key 代码框第一行多余空格问题

  • 恢复管理员用量页面成本 Tooltip 的分项明细 (input/output/cache 成本)

  • 修复 Token Tooltip 双分隔线和翻译键缺失问题


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.41

# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.41

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.