Repository navigation
Sub2API 0.1.197
AI API Gateway Platform - 将 AI 订阅配额分发和管理
Add official gpt-6-sol and gpt-6-luna across model discovery, OpenAI and Codex forwarding, and client configuration exports.
- Add independent official token prices, including cache reads and writes, Fast/Priority, Flex, and long-context multipliers above 272,000 input tokens.
- Preserve all existing model prices and account/group long-context billing settings.
- Support native reasoning levels and compatible sampling, tool calling, streaming usage, and provider model metadata.
- Add regression coverage for usage parsing, recorded costs, model aliases, service tiers, and context boundaries.
Validation includes frontend tests and production build, backend unit and database integration tests, and isolated local HTTP acceptance with a simulated upstream. Real OpenAI credentials were not available in the local test environment.
📥 Installation
Docker:
# Docker Hub
docker pull forever94yu/sub2api:0.1.197
One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/forever94yu/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.