How do I use the Wiozen API with Hermes Agent?
Connect Hermes Agent's main model to Wiozen as a custom endpoint.
In short: Run the hermes model command in your terminal, choose Custom endpoint, and enter https://api.wiozen.com/v1 as the address, your Wiozen key as the key, and deepseek-v4.1-flash as the model.
Requirements
- A Wiozen API key (
sk-gw-…). Sign-up is free; new accounts get trial credit. - An installed Hermes Agent (terminal agent).
Steps
- Outside a chat session, run
hermes modelin your terminal. - From the list, select Custom endpoint (self-hosted / VLLM / etc.).
- Enter
https://api.wiozen.com/v1as the API address, your Wiozen key as the key, anddeepseek-v4.1-flashas the model name. - Settings are saved to
~/.hermes/config.yaml. To write it by hand, use the block below.
~/.hermes/config.yaml
model: default: deepseek-v4.1-flash provider: custom base_url: https://api.wiozen.com/v1 api_key: sk-gw-YOUR_KEY
Things to know
- To change the model inside a session, type /model custom:deepseek-v4.1-flash.
Which model name should I enter?
Only the names on the models page are accepted. Prices per 1 million tokens are listed there too. Any other model name returns 400.
Related guides
- How do you connect an OpenAI-compatible API to a tool you already use?
- Which model should you use in Cline, Cursor, OpenCode and Aider?
- How do you do function calling (tool use) with an AI API?
- How do I add web search to my AI app, and what does a search cost?
- Which AI model should I choose: deciding by price, context and quality
- An AI API returns "Unknown model": where do I find the right model name?
- My AI API returns "401 Invalid API key": why isn't my key accepted?
Other guides: Cline · Roo Code · Kilo Code · Cursor · Continue · Claude Code · OpenCode · Aider · Qwen Code · Open WebUI · LibreChat · AI Engine