- Custom models: add a model by id (protocol, reasoning, images, context
window, max output) next to the built-in catalog.
- Gateway context caps: read per-model context_window from each key's
/v1/models and narrow the catalog model to the tightest window (free
DeepSeek group: 200K, 32K output) so DSH compacts before the cap.
- Free daily keys: show each key's expiry, flag the renewal window and
link to https://www.geek2api.com/free-ds; the no-usable-key error points
there too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Derived from dsh-packycode-api 1.1.7 (MIT) and rebuilt for the Geek2API
(sub2api) gateway: multi-endpoint failover, /v1/usage balances with wallet
dedupe, per-key coverage from /v1/models, sub2api failure wording, a Claude
runtime switch (HTTP or local CLI), and Claude/GPT web search backends.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>