The core design philosophy of DeepSeek Harness (DSH) is “everything is a plugin,” allowing functionality to be extended through community code. dsh-grok-subscription is a community plugin that solves the integration issue of calling Grok Build within the DSH environment. This plugin does not rely on xAI’s official pay-per-use API Key; instead, it directly reads the subscription eligibility of the user’s existing SuperGrok or X Premium account. The plugin is maintained by developer BaronCyrus and is released under the MIT license.
Core Features¶
The plugin primarily provides the following capabilities:
- Subscription Login: Supports login via device code or directly reading the local
auth.jsonfile. Login and renewal are automatically handled by the plugin on the Host side, without relying on thegrokcommand-line tool. - Model Catalog Sync: After login, it prioritizes reading available models from the account’s model catalog; if reading fails, it falls back to a built-in catalog.
- Reasoning Tier Selection: Selects available tiers (e.g., low / medium / high / xhigh) in the model menu, with “high” as the default preference.
- Image Input: Supports pasting or attaching images for models that support image input.
- Weekly Quota Viewing: Displays the weekly remaining quota returned by the server in the input box badge or settings page.
- Session Renewal & Update: Automatically renews using the refresh token when authentication is about to expire or is rejected.
- Credential Security: Access tokens are only used on the Host side and are never returned to the browser environment.
Installation¶
Perform the following steps in the desktop version of DeepSeek Harness:
- Open Settings → Plugins.
- Enter the package name
dsh-grok-subscriptionin the installation input box and click install. - Fully exit and restart the desktop application to activate the plugin.
Daily Usage¶
After installation and login, you can proceed as follows:
- Login & Model Selection: Open Settings → Grok Subscription, then click Login or Read Saved Session. After successful login, available Grok models for your account will appear in the model selector. Click the arrow next to the model to choose a specific reasoning tier.
- Asking with Images: For models that support image input (e.g.,
grok-4.7,grok-4.7-build-fast, etc.), directly paste or drag images into the input box. - Viewing Quota: After selecting the
grok-buildroute, a badge showing the weekly remaining quota will appear next to the input box. Hover over or click it to view detailed information.
Notes¶
- Account Requirements: You must have a SuperGrok or X Premium account with Grok Build eligibility before use.
- Dependencies: No need to install the grok command.
- Security: Credentials are only used on the Host side and are not returned to the browser. Do not publicly share login files, tokens, or raw account responses.
- API Stability: The usage panel relies on undocumented experimental interfaces; if the upstream changes, this feature may become unavailable.
- Independence: This project is not affiliated with or endorsed by DeepSeek or xAI.
Summary¶
dsh-grok-subscription provides DSH users with a convenient entry point to use Grok Build, supporting model switching, image input, and quota monitoring. As a community plugin, its functionality depends on account permissions and server-side interfaces, and updates and maintenance are handled independently by the developer.