DeepSeek Harness

Use Tchavi in DeepSeek Harness, DeepSeek's desktop agent app: one custom provider, one key, and your chat models in the model picker.

Part of the coding agents guides.

DeepSeek Harness is DeepSeek's desktop app for running an agent on your projects. It is a Preview version, downloaded from deepseek.com/harness. It accepts a custom model provider: with Tchavi's base URL and a key, the chat models of the catalogue appear in its model picker, and you switch models inside the same conversation.

Third-party app

DeepSeek Harness belongs to DeepSeek. Tchavi is not affiliated with DeepSeek. This guide describes the app as we tested it on 30 November 2026, in its Preview version: its menus may change.

1. Create a Tchavi key

In the dashboard, open API Keys and create a key, for example named "DeepSeek Harness". It looks like sk-tch-… and is shown only once: copy it right away.

You can set a spend limit on the key. It is useful for an agent, but read When something fails before setting it too low.

Also check your balance on the billing page: an empty balance refuses the first request.

2. Add the provider in DeepSeek Harness

In the app, open Settings, then Models, then Add model provider. Pick the Custom model API tab.

3. Fill in the form

FieldValue
Provider IDtchavi
Display nameTchavi
Base URLhttps://tchavi.com/api/v1
API protocolOpenAI Chat Completions
API keyyour sk-tch-… key

4. Fetch the models and keep the chat ones

Click Fetch available models. The app reads Tchavi's list, which holds the whole catalogue: chat models, but also image, video and voice models. Those do not work in a chat agent: an image model picked in a session fails.

Under Choose models, keep chat models only, then click Update list. The catalogue shows each model's type.

5. Create the provider and pick a model

Click Create provider. The list now shows "Tchavi · Custom".

Open a new session: the model picker offers the Tchavi models you kept. Pick one and send your message. To switch, open the picker again: the conversation carries on, with the new model answering the next message.

Every request appears under Usage in the dashboard, with its model, tokens and credits. Keep a separate key for this app: the log then shows what it spends.

What does it cost?

The app resends its own instructions and the whole conversation with every request. In our test, a request weighed roughly 10,000 to 20,000 tokens. Your own message is only a small part of it: in a first try on 29 November, a plain "Hi how are you doing?" (five words) counted 9,899 tokens.

Our test session, on 30 November 2026, on a small project with a failing test, cost 94.9 credits in total, for 17 requests and 234,833 tokens:

TaskModelRequestsTokensCredits
Fix the failing testDeepSeek V4.1 Flash767,4003.287
Review the code and add testsClaude Haiku 5.56116,17627.442
Write the README in two languagesGPT-6.1 Terra451,25764.205

One session, not a price

These figures come from the Usage page of a single session. The cost changes with the app, the length of the conversation and the model. See Credits and billing.

When something fails

What you seeWhat it meansFix
"API key is invalid" or "quota", before any answerA spend limit on the key, or a small balance, refused the request earlyRaise or remove the key's limit, or top up from the billing page
401 / invalid_api_keyThe key was pasted wrong or is not a Tchavi keyCreate the key again and paste all of it
404 on every requestThe base URL is wrongUse https://tchavi.com/api/v1, with the /v1
A request fails with an image, video or voice modelThat model is not a chat modelRemove it from the list and pick a chat model

Why an invalid-key message when the key is fine? Before each call, Tchavi reserves the request's worst case: the conversation, plus the longest answer the app allows. If the key's limit or your balance does not cover that reserve, the request is refused before it starts, and the app then shows its message about the key or the quota. Since the app sends 10,000 to 20,000 tokens per request, the reserve for an expensive model is quickly large: raise or remove the limit, or top up.

FAQ

Which base URL goes in DeepSeek Harness?

https://tchavi.com/api/v1, with the OpenAI Chat Completions protocol.

Why does the list hold image and video models?

Because Fetch available models reads the whole Tchavi catalogue. Keep chat models only: the others do not work in a chat agent.

Can I switch models in the middle of a conversation?

Yes. Pick another model in the session's picker: the conversation continues with it.

How is it billed?

On your Tchavi credits, topped up with mobile money. See Credits and billing and payments.


Back to coding agents

On this page