Skip to main content
DeepSeek Harness is an AI coding tool from DeepSeek. You can add link-token as a custom model provider and use link-token-supported models in Harness.

Prerequisites

Before you begin, make sure you have:

Install and start DeepSeek Harness

Run the following command in your terminal:
After the command starts, open DeepSeek Harness in your browser.

1. Open Settings

Click Settings in the lower-left corner. Settings entry on the DeepSeek Harness home page

2. Add a custom provider

Open Models, then click Add a custom provider. Add a custom provider button in DeepSeek Harness model settings

3. Enter the provider details

Complete the provider configuration with these values:
  • Provider ID: Enter link-token. The value must begin with a lowercase letter.
  • Display name: Enter link-token, or choose another recognizable name.
  • Base URL: Enter https://link-token.cn/v1.
  • API protocol: Select openai-completions.
  • API key: Paste your link-token API key.
Add the models you want to use under Models:
  • In the first field, enter the model ID copied from the link-token model marketplace, such as deepseek-v4-flash-0731.
  • In the second field, enter the name that Harness should display, such as DeepSeek-V4-Flash.
  • To configure more models, click Add model and enter each additional model.
Review the configuration, then click Apply. link-token custom provider configuration in DeepSeek Harness

Select a workspace and model

Return to the home page and select an existing workspace from the workspace menu. To use a different local directory, click Add workspace. Selecting a workspace in DeepSeek Harness Open the model menu in the lower-right corner of the prompt box. Select the model you configured and the effort level you want. Enter a task and send it to start using the model. Selecting a link-token model in DeepSeek Harness
Never expose your API key in screenshots, logs, or public files.