v0.1.175

Wei-Shaw/sub2apiv0.1.175Aug 12, 2026by github-actions[bot]

AI Summary

This release introduces Codex OAuth device fingerprint convergence to reduce visible device counts and allows billing based on the upstream response model. It also adds large file backup capabilities.

Key Highlights

  • Codex OAuth device fingerprint convergence supports 4 levels (off/device/session/full).
  • Channels can now be configured to bill based on the actual upstream response model.
  • Large file backup now supports split upload and recovery.

New Features

  • Codex OAuth device fingerprint convergence.
  • Billing by upstream response model.
  • Large file backup split upload/recovery.
  • OpenAI Team account联动熔断.
  • Composite group image generation permission.

Full Release Notes

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

新增 Codex OAuth 设备指纹收敛功能,有效减少上游可见的设备数和会话数;支持按上游响应模型计费。

## 新增功能

- Codex OAuth 设备指纹收敛:四档策略(off/device/session/full),收敛 installation_id、session_id、thread_id 等标识,减少上游配额限制
- 按上游响应模型计费:渠道可选择以上游实际返回的模型作为计费基准
- 大文件备份分卷上传与恢复

## 优化改进

- 运营监控内存容量显示优化
- 简单模式下显示安全审计菜单入口
- Composite 分组支持图片生成权限开关
- API Key 配额和到期时间输入校验

## Bug 修复

- 修复上游 HTML 403 页面被误判为账号级错误导致账号批量下线的问题
- 修复 OpenAI 个人订阅到期时间被 workspace 权益覆盖的问题
- 修复 Responses 空 completed 流未触发 failover 导致空回复的问题
- 修复原生 Responses 路径将上游确定性 400 转为可重试 502 导致请求放大的问题
- 修复 OpenAI 嵌套 data 结构 usage 解析优先级问题
- 修复 Responses 可见输出 TTFT 计算不准确的问题
- 修复 WebSocket v2 终止事件被计入 TTFT 的问题
- 修复 OAuth 图片流错误未触发 failover 的问题
- 修复 Codex 容量退避指数被重置的问题
- 修复 Grok 聊天 usage 守卫一致性及兼容账号计费缺失的问题
- 修复 ChatCompletions reasoning 别名不被接受的问题
- 修复 compact keepalive 提交 headers 后无 SSE 有效载荷导致客户端挂起的问题
- 修复 User-Agent 未校验导致账号指纹被本地构建客户端永久污染的问题
- 修复 Codex 调度阈值快照陈旧和 usage 百分比丢失的问题
- 修复 API Key 透传路径 reasoning item ID 无效导致 400 的问题
- 修复 OpenAI 透传池认证失败未先重试即 failover 的问题
- 修复 WebSocket 安全审计日志重复记录和丢失的问题
- 修复 Gemini 工具 schema exclusiveMinimum 未归一化的问题
- 修复 cyber policy 审计事件范围不正确的问题
- 修复 service-tier 定价未应用到账号成本计算的问题
- 修复调度阈值未设置时缓存未命中的问题
- 修复按上游响应模型计费准入过宽的安全问题
- 修复管理端用量表请求 ID 列不可见的问题
- 修复账号调度阈值 i18n 键嵌套错误的问题
- 回退风控后端异常时 fail-closed 行为



---

## 📥 Installation

**Docker:**
```bash
# Docker Hub
docker pull weishaw/sub2api:0.1.175

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

**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

- [GitHub Repository](https://github.com/Wei-Shaw/sub2api)
- [Installation Guide](https://github.com/Wei-Shaw/sub2api/blob/main/deploy/README.md)