btspoony/dsh-keys-manager
Turns one provider API key into a managed pool: several keys per provider with aliases and health state, one pinned per session and round-robin for new ones.
Instead of one key per provider with a hard failure when it hits a limit, each provider holds several keys with aliases and health state; a key can be pinned to a session or rotated round-robin for new sessions. The manager gets a search-driven page of its own, and the health and cooldown state is what makes automatic failover safe rather than a retry storm. The practical effect is that a quota error on one key does not end the turn.
Install
dsh plugin --profile web add dsh-keys-managerThe npm line from the README (dsh-keys-manager 0.2.3, MIT). Node ^22.19 || >=24 and DSH ^0.2.1-rc.2 are declared in the README badges.
Compatibility
It extends the Models page rather than replacing it: providers, models and the model picker stay where they are, and only the API-key source moves behind the manager, which is marked with a badge on the existing provider cards. Failover is bounded retry on the same key first, then another key, with exponential cooldown recovery capped at seven days. Extra built-in providers install as ordinary routes, seven pi-ai-backed providers can also be reached by OAuth sign-in, and a transport companion covers providers the vendored client cannot speak — Cursor today.
Details
- Repo: btspoony/dsh-keys-manager
- Category: Models & Providers
- Stars: 1
- Version: 0.2.3 (npm); MIT
Alternatives
btspoony/dsh-llm-fallbacks · GooDAnDReaDY/dsh-key-rotation · KEVINCHEN625/dsh-provider-manager