Introduction¶
The DeepSeek Harness (DSH) web interface allows selecting a model backend and configuring inference settings. For models whose IDs start with gpt-, switching acceleration modes requires modifying request headers or prompts, which is scattered and easily confused with inference effort. The dsh-gpt-fastmode plugin adds a Speed menu next to the model selector, letting you set the service-tier acceleration level directly without changing the model, endpoint, or inference effort.
Plugin Overview¶
This is a DeepSeek Harness (DSH) web plugin maintained by tlsneo. It works by injecting fields such as service_tier into DSH requests, providing Default, Fast, and Ultrafast acceleration options for gpt-* models.
Core Features¶
- Adds a Speed menu next to the model selector in DSH Web.
- Supports
gpt-*models without relying on provider names. - Acceleration settings do not affect the model ID, endpoint, or inference effort.
- Provides This conversation and All conversations scopes.
- Provides commands:
/fast,/ultrafast,/fast status,/fast off.
Installation & Activation¶
Before installing, please verify DSH version compatibility (see the README for details).
Via pnpm:
dsh plugin --profile web add github:tlsneo/dsh-gpt-fastmode
Via npx:
npx @deepseek-ai/dsh plugin --profile web add github:tlsneo/dsh-gpt-fastmode
After installing the plugin, restart the DSH Web process and refresh the page.
Typical Usage¶
- Select a model whose ID starts with
gpt-in DSH Web. - Open the Speed menu next to the model selector. The default scope is This conversation. To apply it to All conversations, select that scope first.
- Click Default, Fast, or Ultrafast to save the tier. Changing the scope alone does not save a setting.
- After sending a message, reopen the menu to check the current tier (if the provider reports it back).
All conversations applies to existing and new conversations that use the same model ID, and replaces any previous per-conversation setting for that model (individual overrides can still be applied later). To clear all plugin speed settings for a model, select All conversations → Default. Speed settings are stored in memory and are reset after a DSH restart.
Command Usage¶
/fast: Sets the current conversation to Fast./ultrafast: Sets the current conversation to Ultrafast./fast status: Checks the current tier (does not invoke the model)./fast off: Disables acceleration tier requests in the current conversation.
How It Works¶
The plugin stores speed preferences through DSH’s authenticated connection and sets the top-level service_tier field in requests via DSH’s pi-ai adapter, rather than adding instructions to the prompt or reducing inference effort.
| Option | Request Behavior |
|---|---|
| Default | Does not inject service_tier; uses the provider’s or gateway’s default. |
| Fast | Sends service_tier: "priority" on supported Responses or Chat Completions routes (OpenAI treats priority as an alias for fast). |
| Ultrafast | Sends service_tier: "ultrafast" on supported Responses routes; additionally sends OpenAI-Service-Tier: ultrafast on standard OpenAI Responses routes; not available on Chat Completions. |
The plugin initiates the accelerated request but cannot guarantee that the provider actually uses the specified tier. Availability depends on the model, account, and route. Higher tiers may incur greater costs. See OpenAI’s Fast mode, Ultrafast mode, and API pricing for details.
Use Cases & Notes¶
- Ideal for frequently switching acceleration tiers of
gpt-*models in DSH Web, enabling unified management or quick adjustments. - The plugin runs with the privileges of the current DSH process; it is recommended to review the source code and license before installing.
- Relies on DSH’s pi-ai adapter and related route support; not all providers are guaranteed to support it.
Summary¶
dsh-gpt-fastmode provides an intuitive acceleration-tier switching entry point for gpt-* models in DSH Web, implemented through standard request fields and decoupled from inference effort. Users who need to quickly switch or uniformly manage acceleration modes can refer to the catalog page and the GitHub README for usage details.
- Catalog page: https://www.skillhub.cn/plugins/tlsneo/dsh-gpt-fastmode
- GitHub: https://github.com/tlsneo/dsh-gpt-fastmode