Clients
DeepSeek Harness setup
DeepSeek's open-source agent harness (command dsh). Add one custom model provider in its Web UI to use Yuzu's GPT, Claude, DeepSeek and other models.
- Groups
- Any group except the "CC only" / "Codex only" groups. For GPT we recommend Codex Pro (Integration Edition)
- Where
- Settings → Models → Add model provider → Custom model API
- Endpoint
https://api.yuzuapi.com/v1
Start it
Install Node.js first, then run the command below. The browser opens
http://127.0.0.1:3080:npx @deepseek-ai/dsh web
Add the provider
Open Settings → Models, click Add model provider, and switch the card to Custom model API. Don't pick the built-in
openai; that goes straight to OpenAI. Expand Customized settings and fill in:Field Value Provider ID yuzu(can't be changed after saving)Display name YuzuBase URL https://api.yuzuapi.com/v1, with no trailing spaceAPI protocol OpenAI Responses for GPT groups, OpenAI Chat Completions for other groups API key Your Yuzu key (starts with sk-)Add models
Under Model catalog, click Fetch available models, tick the models you want and confirm. You can also click Add model and enter a model ID such as
gpt-6.2-sol. Click Save, pick the model in the chat's model picker, and send "hi" to test.
With GPT groups, DeepSeek Harness sometimes has a whole turn blocked by the safety policy, and the UI shows it as "invalid API key" (AUTH) even though the key is fine. Turn off plugins and custom prompts, then start a new session. If it still fails, switch to a Claude or DeepSeek group.
Can't connect?
| Problem | Fix |
|---|---|
| "Invalid API key" | Check in the Yuzu console that the key works. If it does, the content was blocked; see the note above |
404 | Wrong Base URL. Use https://api.yuzuapi.com/v1, not /v1/v1, and no trailing space |
UNKNOWN_MODEL | The model isn't added to this provider. Add it in Model catalog; it must be in the key's group |
| Every request refused though URL and key are right | Click Open configuration file at the top of Settings and add compat: with supportsDeveloperRole: false and maxTokensField: max_tokens under yuzu |