v0.1.185
kaifcodec/user-scannerv0.1.185Sep 1, 2026by github-actions[bot]
Upgrading?
AI Summary
Upgrades the pricing directory and long-context billing system, enhancing Codex/OpenAI compatibility and connection stability.
Key Highlights
- JSON patch support for pricing override
- Long-context tiered pricing driven by directory
- Codex priority service tier display
New Features
- Pricing override via JSON patch
- Long-context tiered pricing
- Codex priority service tier display
- Unified cost calculation with DeepSeek peak/valley pricing
- Database startup retry mechanism
- OpenAI WebSocket connection pool cleanup
- DeepSeek peak/valley pricing application
Full Release Notes
> AI API Gateway Platform - 将 AI 订阅配额分发和管理 升级价格目录与长上下文计费体系,并增强 Codex/OpenAI 网关兼容性和连接稳定性。 ## 新增功能 - 价格目录支持通过 `pricing.override_file` 使用 JSON 补丁覆盖官方价格数据。 - 长上下文阶梯计价改为由价格目录驱动,支持不同模型和渠道的动态定价策略。 - Codex 快速模型支持展示 priority service tier。 ## 优化改进 - 优化账号统计成本计算,统一应用模型定价策略及 DeepSeek 峰谷价格。 - 优化数据库启动时的瞬时错误重试机制,提升服务启动稳定性。 - 优化 OpenAI WebSocket 连接池,自动回收过期空闲连接。 - 优化 Codex 模型能力目录,保留已知的图像输入能力。 - 优化 Gemini Pro 缓存写入价格及价格目录契约校验。 ## Bug 修复 - 修复 API Key 请求被错误合成 instructions 的问题。 - 修复 Codex 模型目录中持续禁用账号仍被选中的问题。 - 修复 ctx_pool WebSocket 入口未改写上游容量降载错误码,避免客户端错误终止会话。 - 修复 OpenAI delegation bootstrap 缺少 call id 时无法正常处理的问题。 --- ## 📥 Installation **Docker:** ```bash # Docker Hub docker pull weishaw/sub2api:0.1.185 # GitHub Container Registry docker pull ghcr.io/wei-shaw/sub2api:0.1.185 ``` **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)
Related Repositories
public-apis/public-apis★ 491,192
A collective list of free APIs
NousResearch/hermes-agent★ 256,049
The agent that grows with you
yt-dlp/yt-dlp★ 200,219
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,541
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,701
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.