AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
Anthropic 缓存计费细分:区分 ephemeral_5m 和 ephemeral_1h 两种缓存创建 token,按各自单价分别计费
-
前端使用记录展示 5m/1h 缓存创建明细,带彩色 badge 区分
-
修复 usage_log GORM column tag 确保写入正确的数据库列
-
删除 GORM 自动生成的重复列(迁移 054)
📥 Installation
Docker:
# Docker Hub
docker pull weishaw/sub2api:0.1.83
# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.83One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.