github Wei-Shaw/sub2api v0.1.74
Sub2API 0.1.74

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

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

  • Antigravity 模型映射从 Opus 4.5 升级至 Opus 4.6-thinking

  • 统一模型级限速并支持 Redis 快照同步

  • 智能重试机制与基于调用次数的负载均衡调度

  • 支持 upstream 账号和自定义 model_mapping 调度

  • Force cache billing 支持

  • 模型身份注入与泄露防护

  • 前端新增白名单模式切换、模型映射校验、状态指示器

  • 速率限制时间显示精确到秒

  • 用量页面新增刷新按钮

  • Gemini session Redis Trie O(L) 匹配回退

  • 429 fallback 冷却时间从 5 分钟降至 30 秒

  • thinking 模式自动修复 max_tokens/budget_tokens 配置问题

  • Ops 监控增强:并发监控、账号可用性、重试逻辑

  • 代理管理页面工具栏布局优化

  • Claude Code 探测拦截逻辑收敛并补齐回归测试

  • 非 failover 场景错误透传支持

  • 修复 CreateAccountModal 平台选择器溢出问题

  • 修复 Gemini digest logging UUID 截断可能的 panic

  • 修复账号测试根据类型使用不同 beta header

  • 修复前端 codex 教程模型 ID 升级为 gpt-5.3-codex

  • 修复前端快捷添加模型缺少 gpt5.3 系列

  • 新增 .gitattributes 强制 LF 换行,解决 Windows 迁移校验和问题

  • 数据库迁移:049-051 统一模型映射


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.74

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

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.