Skip to content

Sub2API Plus 0.2.19+custom.005

Choose a tag to compare

@github-actions github-actions released this 03 Nov 19:46
· 165 commits to main since this release
73a1c8b

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

Highlights

  • Refresh the console with a warmer palette, consistent shell geometry, clearer dashboards, accessible overlays and readable table empty states across desktop and mobile.
  • Make Composite keys native by default and offer explicit opt-in to one unified HTTP/SSE Responses, Chat Completions or Messages endpoint, with capability discovery and matching client examples.
  • Add per-platform and exact public-model long-context thresholds, inherited reference defaults, explicit tier disabling, and custom high-tier prices or multipliers shared by quotes and billing.

Changed

  • Separate Composite and ordinary-group offers in available-channel catalogs and organize Composite channel pricing by concrete supplier.
  • Simplify usage records with collapsible advanced filters, visible applied-filter counts, consolidated model and request evidence, and user email enrichment for administrator live requests.
  • Keep administrator pages at full width and align toolbar, record and pagination surfaces while preserving scrolling, translated controls and transparent pinned columns.

Fixed

  • Enforce native protocol guards at every Composite compatibility sender, including Gemini Chat, and preserve original-ingress security audit before conversion or admission side effects.
  • Restrict Responses continuation account selection and failover to credentials supporting native Responses; reject unresolved Gemini model routes before downstream admission.
  • Preserve configured base interval prices and inherited cache meters when compiling custom long-context tiers, including exact-threshold billing and public price schedules.
  • Admit Messages token counting as its own unified endpoint auxiliary while keeping other inference interfaces and unsupported dedicated protocols rejected.

Compatibility and migration

  • Two forward-only migrations add API-key client/endpoint preferences and explicit conversion consent. Existing and new keys remain in native mode unless conversion_enabled is explicitly enabled; saved display preferences alone do not authorize conversion.
  • Native Composite clients must use a supported endpoint for each resolved model. Unified conversion is limited to the maintained HTTP/SSE interfaces; WebSocket sessions, media, cache management, System One and other dedicated APIs require native access.
  • Composite groups inherit model long-context presets independently of the legacy group switch. Explicit zero disables a platform/model tier; positive custom thresholds apply strictly above the configured input count. Review selling-price policies before upgrade.
  • Trusted outbound identities, credential ownership, supplier cost accounting and ingress audit contracts remain unchanged.

Known issues

  • Protocol conversion cannot transfer provider-owned continuation IDs or guarantee provider cache hits. Use native Responses for previous_response_id, or send complete conversation history for conversion-only models.
  • Dedicated non-chat APIs are not unified chat converters; use a key with conversion disabled for those endpoints.

Upstream baseline

Official release: v0.2.19
Official commit: dece261


📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/luckykuang/sub2api-plus:v0.2.19-custom.005

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/LuckyKuang/sub2api-plus/v0.2.19+custom.005/deploy/install.sh | sudo bash -s -- install -v v0.2.19+custom.005

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation