v0.1.184

Wei-Shaw/sub2apiv0.1.184Aug 31, 2026by github-actions[bot]

AI Summary

This release focuses on enhancing the Codex routing model, adding usage statistics features, and improving gateway stability. It introduces new capabilities for account management and public group access control while optimizing performance for various AI providers.

Key Highlights

  • Enhanced Codex routing model directory with ability synchronization and alias support.
  • Native compaction request statistics with mapped inference strength display.
  • Public group access control for administrators to limit user visibility.
  • New support for Zhipu Team GLM Coding Plan usage queries.
  • Ollama Cloud usage window mounting for domestic platforms.

New Features

  • Codex routing model directory with model and capability display.
  • Native compaction request statistics.
  • Public group access control.
  • Zhipu Team GLM Coding Plan usage query.
  • Ollama Cloud usage window mounting.
  • OpenAI image tool cooling strategy configuration.
  • TTFT metric mode configuration.

Full Release Notes

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

完善 Codex 路由模型目录与能力同步,新增多项账号、用量统计及网关稳定性改进。

## 新增功能

- Codex 路由模型目录:支持按实际路由展示模型及能力,并支持精确账号模型别名。
- 用量记录:新增原生 compaction 请求统计,并展示映射前的推理强度。
- 公共分组访问控制:管理员可限制用户可访问的公共分组。
- 新增智谱团队 GLM Coding Plan 用量查询。
- Ollama Cloud 用量窗口支持挂载到国产三家平台账号。
- OpenAI 图像工具冷却策略支持后台配置。
- TTFT 指标模式调整为管理员可配置。

## 优化改进

- 优化 Codex 模型目录缓存、能力同步及模型发现策略。
- 优化 OpenAI 多渠道 service tier 传递、计费和配额重置处理。
- 优化账号过期时间的本地时区解析与展示。
- 优化上游倍率探测,避免触发账号列表整页刷新。
- 优化 DeepSeek 高峰/非高峰计费价格。
- 优化 WebSocket、消息粘性会话及大请求转发处理。
- 优化图像能力异常账号的调度冷却,减少重复选中不可用账号。

## Bug 修复

- 修复 Anthropic 转 Responses 流式输出时 thinking 内容块顺序及索引问题。
- 修复 Anthropic/Bedrock 传输层错误未正确触发故障转移的问题。
- 修复 Grok Responses 工具输出、无效工具联合类型及图像工具结果处理问题。
- 修复 OpenAI 流式失败、配额重置和客户端正常断开时的错误判定。
- 修复 OAuth 重新授权及 OAuth 注册优惠码保留问题。
- 修复 SMTP TLS 测试接口覆盖已保存配置的问题。
- 修复支付回调相对地址及充值汇率币种展示问题。
- 修复渠道定价对带后缀模型名的计费覆盖问题。
- 修复 Claude 归因请求头及 Anthropic 工具参数透传问题。



---

## 📥 Installation

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

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

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