github Wei-Shaw/sub2api v0.1.60
Sub2API 0.1.60

latest releases: v0.1.143, v0.1.142, v0.1.141...
5 months ago

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

  • SUGGESTION MODE 拦截:检测并拦截 Claude Code 的建议模式请求,返回空响应以节省 token 消耗

  • Team 账号支持:Anthropic Team 账号现在支持使用 sk 密钥进行授权

  • 账号邮箱显示:OAuth 账号现在会保存并显示绑定的邮箱地址

  • 限流倒计时:账号限流状态现在直接显示剩余倒计时,更加直观

  • 修复 OAuth 参数与最新 Anthropic 客户端不同步的问题

  • 修复 token 缓存版本过时时仍返回旧 token 导致 403 错误的问题

  • 修复测试用例中引用不存在函数名导致 CI 构建失败的问题


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.60

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

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.