dsh-search-ledger: Routing, Key Pool, and Local Cost Ledger for DSH Search and Fetch

dsh-search-ledger is a DSH plugin maintained by gordan-code. It provides channel bindings per provider, multiple keys with rotation, and ordered failover for the native web_search and web_fetch, and records usage and estimated costs (not model tokens) for each API attempt in a local ledger. The current version is 0.5.1 and it is compatible with DSH 0.2.1-rc.2, supporting DeepSeek official and relay providers, Tavily, Qianfan, SearXNG, and local HTTP channels. Installation requires Node.js ≥22.19 and is registered via dsh plugin add dsh-search-ledger@0.5.1; configuration is done in “DSH Search Ledger”, and the data directory is located at DSH_HOME/web-search-billing/.

Read More