Download Latest Version sub2api_0.2.8_windows_amd64.zip (39.3 MB) Google Add to Preferred Sources
Home / v0.2.3
Name Modified Size InfoDownloads / Week
Parent folder
checksums.txt 2026-09-08 496 Bytes
sub2api_0.2.3_darwin_arm64.tar.gz 2026-09-08 36.2 MB
sub2api_0.2.3_darwin_amd64.tar.gz 2026-09-08 38.8 MB
sub2api_0.2.3_linux_amd64.tar.gz 2026-09-08 37.6 MB
sub2api_0.2.3_linux_arm64.tar.gz 2026-09-08 34.1 MB
sub2api_0.2.3_windows_amd64.zip 2026-09-08 38.4 MB
README.md 2026-09-08 1.5 kB
Sub2API 0.2.3 source code.tar.gz 2026-09-08 11.7 MB
Sub2API 0.2.3 source code.zip 2026-09-08 14.0 MB
Totals: 9 Items   210.8 MB 0

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

修复升级后 groups.model_allowlist 列缺失导致密钥/订阅页面 500 的问题,并补齐 Ollama Cloud 下 DeepSeek 模型在 Messages / Responses 协议的输出上限与鉴权处理。

Bug 修复

  • 修复数据库回滚旧结构后升级不自愈,导致「API 密钥」「我的订阅」「管理端订阅列表」等页面加载失败的问题(新增可重放收敛迁移 236)
  • 修复挂载在 Ollama Cloud 下的 DeepSeek 模型请求在 Anthropic Messages 与原生 /v1/responses 路径未压制输出上限,被上游以 400 拒绝的问题
  • 修复 Ollama Cloud base URL 带尾部斜杠时输出上限压制失效的问题
  • 修复 Anthropic 兼容入口指向 Ollama Cloud 时未自动使用 Bearer 鉴权导致认证失败的问题
  • 修复 OpenAI OAuth / API Key 账号连接测试的模型下拉列表显示为空白的问题

📥 Installation

Docker:

:::bash
# Docker Hub
docker pull weishaw/sub2api:0.2.3

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

One-line install (Linux):

:::bash
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

Source: README.md, updated 2026-09-08