EcoToken

Connect DeepSeek Harness

Add EcoToken as a custom provider in DeepSeek Harness and call models through the OpenAI-compatible API.

Base URLAuthenticationProtocol
https://ecotoken.ecophase-ai.com/v1Bearer API KeyOpenAI Chat Completions

01 Prepare access details

Create an EcoToken API key and confirm that it can access deepseek-v4.1-flash. YOUR_API_KEY below is a placeholder.

02 Start DeepSeek Harness

The first run downloads the required package. The default UI is http://127.0.0.1:3080.

bash
npx @deepseek-ai/dsh web

03 Add the EcoToken provider

Open Settings → Models → Add custom provider.

DeepSeek Harness add custom provider entry
text
Provider ID: ecotoken
Base URL: https://ecotoken.ecophase-ai.com/v1
API protocol: openai-completions
API Key: YOUR_API_KEY
Model ID: deepseek-v4.1-flash
DeepSeek Harness custom provider form

Click Fetch available models, verify that deepseek-v4.1-flash appears, and create the provider.

04 Enable Vision

Open Settings → Models, then select Open config file in the top-right corner.

Open the configuration file from DeepSeek Harness model settings

In the opened settings.yaml, find the EcoToken provider you just created and its model entry whose ID is deepseek-v4.1-flash. Add input: [text, image] to that model while preserving the rest of the file.

yaml
models:
  - id: deepseek-v4.1-flash
    name: deepseek-v4.1-flash
    input: [text, image]
Enable text and image input for the model in DeepSeek Harness settings.yaml

Save the file and restart DeepSeek Harness. You can then paste or upload an image in a conversation and ask a question about it.

05 Select the model and verify

Return to the main view and select deepseek-v4.1-flash under EcoToken.

Select an EcoToken model in DeepSeek Harness

Send a short prompt. A model response and a matching entry under Usage & costs → Request records confirm the integration.

06 Common errors

  • 401: Check that the key is complete and active.
  • 403: Check the key group, model permission, account state, and gateway policy.
  • model not found: The model ID must exactly match the EcoToken console value.
EcoPhase Docs - Connect DeepSeek Harness - EcoPhase.AI