Introduction to the DeepSeek Harness Kilo Gateway Plugin

Introduction

DeepSeek Harness (DSH) adopts a plugin-based architecture designed to let developers extend functionality through plugins. In the model inference stage, finding stable and free model endpoints typically requires maintaining a manual inventory. The dsh-llm-kilo-gateway plugin addresses this by automatically registering free models from Kilo Gateway’s public directory, transforming them into directly callable Providers within DSH.

Plugin Overview

  • Name: dsh-llm-kilo-gateway
  • Core Value: Automatically discovers free model catalog, provides API Key setup, changelog, and Token statistics.
  • Maintainer: aqiu817
  • Category: Model Inference
  • License: MIT

Core Features

This plugin provides the following capabilities:

  1. Auto Discovery & Refresh: Automatically reads models marked as free from the Kilo Gateway directory, with scheduled refresh support (default 24 hours).
  2. Change Notifications: Supports push notification endpoints for changelogs when model list changes occur.
  3. Tool Calling Support: Full tool calling parsing and execution support.
  4. Reasoning Effort Display: Reads and displays model-declared reasoning levels (e.g., low/medium/high).
  5. Multimodal Support: Supports image input (as declared by the directory).
  6. Token Statistics: Accumulates call counts and various Token quantities per model.
  7. Secure Key Management: Provides a settings page for API Key input, writes to the Harness credential system, and the page does not echo the key.
  8. Available Model List & Logs: Displays currently available models and their historical add/remove records on the settings page.
  9. Upstream Retries: Supports retries for 429, 5xx, and timeout errors.

Installation & Activation

Install the plugin via DSH CLI to the specified profile (web profile in this example):

dsh plugin --profile web add dsh-llm-kilo-gateway

After installation, restart DSH. A Kilo Gateway group will appear in the model selector, and the corresponding settings card will be found under “Settings → Plugins”.

Settings & Configuration

Access the plugin settings page to configure the following parameters:

Config Option Default Description
apiKeyEnv (empty) Credential name for the API Key. Leave empty for anonymous access (restricted), otherwise configure the Key here or use environment variables.
refreshIntervalMs 86400000 Directory refresh interval (milliseconds), minimum 60000.
notifyPort 9876 Notification endpoint port; enter 0 to disable.
maxRetries 2 Maximum number of retries for a failed request, up to 10.
requestTimeoutMs 300000 Upstream request timeout per request (milliseconds), range 10 seconds to 30 minutes.

API Key Configuration

The Settings page provides a “Kilo API Key” input field, which is a write-only control. The key is written to the Harness credential system, is not displayed on the interface, and is not sent back to the browser via settings documents.

You can also configure via environment variables without using the page:

export KILO_API_KEY=your_key_here

Model List

The bottom of the settings page provides three read-only panels:
* Available Model List: Current free models and their directory-declared capabilities.
* Model Change Log: Record of the last 50 directory changes.
* Token Statistics: Per-model cumulative usage within this process.

Free Model List

Based on the current directory fetch, there are 16 free models. The directory is dynamic; refer to the settings page for the specific list.

Model ID Context Max Output Input Modalities Tool Calling Reasoning Level Expiration
stepfun/step-5-preview-free 1M 64K text, image Supported low/medium/high —
kilo-auto/free 256K 33K text Supported — —
nvidia/nemotron-3-ultra-550b-a55b:free 1M 66K text Supported none/medium/high —
dots-studio/dots-3-note-preview:free 512K 461K text, image Supported instant/thinking 2026-12-31
inclusionai/ling-3.1-flash 262K 33K text Supported instant/thinking —
poolside/laguna-s-2.1:free 262K 33K text Supported instant/thinking 2026-10-31
stealth/glyph-cluster 256K 256K text Supported low/medium/high/xhigh —
liquid/lfm-2.5-2.6b:free 66K 8K text Supported thinking —
nvidia/nemotron-3.5-lightning:free 1M 66K text Supported instant/thinking —
thinkingmachines/inkling-small:free 1M 262K text, image, audio Supported none/minimal/low/medium/high/max —
poolside/laguna-xs-2.1:free 262K 33K text Supported instant/thinking 2026-10-31
cohere/north-mini-code:free 256K 64K text Supported instant/thinking —
nvidia/nemotron-3.5-content-safety:free 128K 8K text, image Not Supported instant/thinking —

Important Notes

  1. Data Privacy Risks: Prompts and outputs from free models may be recorded upstream and used for training. Kilo’s terms of service grant broad data licensing rights. Do not process any sensitive or confidential data.
  2. Rate Limiting & Costs: Anonymous access is limited to 200 requests/hour/IP. While free models are priced at 0, upstream providers may adjust policies or rate limits at any time.
  3. Model Dynamics: Free models are dynamic and may disappear or expire at any time. Any workflow relying on free models should be prepared for model deprecation.
  4. Plugin Nature: This plugin is a third-party client with no affiliation with Kilo. Upstream API fields, rate limit policies, or terms of service may change at any time.

Conclusion

This plugin provides DSH users with access to free models, suitable for testing, development, or low-cost prototype verification. Please read the above risk notices carefully before use, and configure retry and timeout strategies based on your actual needs.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye