dsh-ttft-hedge: Hedging streaming /v1/messages requests to reduce the wait time for the first packet.
dsh-ttft-hedge is a DSH model inference plugin maintained by r-ayin. It performs hedged requests for streaming /v1/messages LLM calls: if the response headers do not arrive within the deadline, a second request is issued in parallel and they race; 5xx/504 errors are retried immediately, 4xx/429 responses are returned as-is, and it provides statistics and a stats file. The article describes the build process (bash scripts/build.sh) and the dev_inject_plugin enabling method in the injector based on the GitHub README, and reminds users that the plugin runs with the same privileges as DSH and that parallel requests affect billing.
Read Moredsh-simple-tps: Display TTFT and TPS per turn in the DSH Web Chat action line
dsh-simple-tps is a DSH client plugin maintained by flyxiu. In the web version, it displays the first-token latency and token-weighted output speed in the action row of each assistant response (between the branch button and the usage capsule), and clicking it expands the details. On the host side, metrics are aggregated over the complete event log via sessionProjections, with semantics consistent with sessionStats; the frontend falls back to a lower-bound timing estimate when projections are unavailable. Additionally, during streaming output, it displays a real-time character-per-second speed after the "Deeply searching" indicator. Requires DSH >= 0.2.1-rc.2. Installation: add the GitHub repository in Settings or use `dsh plugin --profile web add`. MIT licensed, current version 0.1.3.
Read Moredsh-model-latency-test: One-click testing of First Token Latency (TTFT) for various models in settings
mdl-latency-test is a DSH model-inference plugin maintained by Mo3ter. It adds a “Model Testing” page in Settings that measures the time to first token (TTFT, in milliseconds) for each configured model using llm.stream. Models are grouped by provider in collapsible cards and tested serially, with support for both the Web GUI and Desktop. Installation: dsh plugin add github:Mo3ter/dsh-model-latency-test. Each test sends a minimal real request and consumes a small number of tokens; the results reflect the current network and provider status, and comparisons across time periods are recommended. MIT license, Node >= 20.
Read More