github Wei-Shaw/sub2api v0.1.150
Sub2API 0.1.150

5 hours ago

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

  • GPT-5.6 缓存写入计费:支持 cache write token 独立计价与用量统计

  • parallel_tool_calls 兼容映射:Chat Completions 与 Responses API 互转时保留该字段(含显式 false)

  • GPT-5.6 计费与官方定价对齐,显式配置的缓存写入价格优先生效

  • 升级 Codex 客户端版本至 0.144.1,修复 gpt-5.6-luna 模型请求 404

  • 加固计费并发与支付恢复流程,防止并发场景下的余额与订阅状态异常

  • 修复 remote compact 失败与重复计费:保留 SSE 事件流中的 compaction 输出项,上游等待期间向下游发送心跳,避免反向代理空闲超时断连(#3887

  • 修复 GPT-5.6 max 推理强度不被识别的问题;effort 提取改用模型候选列表,带后缀模型的用量元数据不再丢失

  • 修复管理端用户用量明细 request_type 筛选不生效的问题

  • 修复 Windows 环境下 WebSocket 连接重置未被正确识别的问题

  • 补齐英文语言包缺失的翻译条目


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.150

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

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.