Skip to content

Sub2API Xray 0.2.1-xray5

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 02:39

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

发布日期:2026-09-07

本版本同步官方 v0.2.1,Xray 自身能力全部保留。

官方新功能

  • OpenAI 分组支持固定账号的 Codex 模型清单:开启后 Codex 的模型列表只从指定账号获取,可选择在获取失败时回落到调度器。
  • Anthropic 推理强度计费控制:渠道定价可为最高推理强度单独设置倍率,转发到 max 强度时按该倍率计费与扣减额度。
  • Codex 支持 ultrafast 服务档位。
  • 允许运维覆盖对外声明的 Claude CLI 版本号。

升级方式

  • Docker:docker pull ghcr.io/smmooooonn/sub2api-xray:0.2.1-xray5
  • Linux 一键安装:curl -sSL https://raw.githubusercontent.com/smmooooonn/sub2api-xray/main/deploy/install.sh | sudo bash
  • 本版本包含新的数据库迁移。升级前请保留 PostgreSQL、Redis 和应用数据备份,应用启动后会自动执行迁移。
  • 更新完成后请先重启服务,再执行回退操作。

📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/smmooooonn/sub2api-xray:0.2.1-xray5

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/smmooooonn/sub2api-xray/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation