github Wei-Shaw/sub2api v0.1.113
Sub2API 0.1.113

latest releases: v0.1.133, v0.1.132, v0.1.131...
one month ago

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

  • Web Search 模拟搜索:支持 Brave/Tavily 搜索引擎,代理故障转移,配额加权负载均衡

  • 余额低值 & 账号配额通知系统:支持邮件告警、百分比阈值、按收件人超时控制

  • 渠道自定义账号统计定价规则

  • 充值手续费率设置:支持费率倍率、金额明细展示、退款金额分离

  • 支付供应商级别 allow_user_refund 独立控制

  • 管理后台用量页面和仪表盘展示账号成本(account cost)

  • 渠道模型限制逻辑从 handler 层下沉到调度阶段,架构更清晰

  • 渠道缓存策略优化,新增限制日志记录

  • 支付流程重构:内联支付、移动端适配、续费弹窗

  • 前端用量请求队列化,避免并发加载冲突

  • Web Search 设置 UI 全面改版,配额管理优化

  • 修复 OpenAI 账号限流回流误判:7d 窗口可用时不再因 5h 窗口为 0 回写 429

  • 修复测试对话框在 SSE 流式传输中无法关闭的问题

  • 修复充值订单商品名称使用实付金额而非充值金额的问题

  • 修复 Stripe 支付类型在负载均衡器中的匹配问题

  • 修复侧边栏展开时版本下拉菜单被裁剪的问题

  • 修复 SMTP 端口 587 的 STARTTLS 兼容性问题

  • 修复 WebSearch 代理错误检测不准确的问题


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.113

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

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.