Key settings
Prerequisites
- The current version of the tool is installed
- A BetterToken API key: register and get one
- A Model ID from the model plaza
Additional requirements
- Copy the exact Model ID from the model plaza.
- macOS, Linux, Windows 10/11, or WSL2
- A model with at least a 64K context window for Hermes Agent tool use
Install
Install Hermes Agent
- Desktop (macOS / Windows)
- Linux / macOS / WSL2
- Windows PowerShell
Hermes recommends the Desktop installer for macOS and Windows. Download Hermes Desktop and run the installer for your operating system.
WSL2 remains supported, but it is optional. Use it when you specifically need a Linux environment or the web dashboard’s embedded terminal pane.
Feature quick reference
Manual setup
Use the interactive Hermes Agent model setup as the primary path. Edit the configuration files only when you need a manual setup.Setup
- Interactive setup
- Config files
1
Run the model selector
Exit any active Hermes chat first, then run:
2
Choose Custom endpoint
Select Custom endpoint (self-hosted / VLLM / etc.) from the provider list.
3
Fill in the BetterToken config
Enter:
- Base URL:
https://bettertoken.ai/v1 - API Key: your BetterToken API Key
- Model: a model ID copied from the model plaza
4
Start Hermes Agent
hermes to use the classic terminal interface.Migrate from OpenClaw
If you already use OpenClaw, first check whether your current Hermes Agent version provides the migration command. Run a dry run before changing anything.https://bettertoken.ai/v1, your BetterToken API Key, and a model ID.
Verify the connection
Start Hermes withhermes --tui or hermes, then send this short prompt:
HERMES_OK without an authentication, endpoint, or Model ID error. Then try one small read-only task before enabling gateways, scheduled tasks, or additional tools.
Switch models
Runhermes model outside a chat to add or reconfigure a provider. Inside an active chat, use /model to switch between providers and models you already configured. Use the exact Model ID from the model plaza.
Common errors
Troubleshooting
- If requests fail or return no response, confirm that Base URL is exactly
https://bettertoken.ai/v1. Do not append/chat/completionsin this field. - If Hermes reports that the model does not exist, confirm that Model is a model ID from the model plaza.
- Copy the exact Model ID from the model plaza.
- If Hermes still uses the old model, exit the chat, run
hermes model, save the custom endpoint again, and start a new chat. - BetterToken usually does not require an extra
User-Agentor custom headers. Only add headers when your custom gateway, tenant routing, observability, or caching layer explicitly requires them.
Do not commit real API Keys to your repository. For team-shared setup, prefer environment variables or local config.
Related FAQ
- MCP vs API Key and Base URL
- What are model_provider, base_url, and wire_api?
- How to configure an OpenAI-compatible API in Cline
- OpenClaw BetterToken setup guide
Technical details
Protocol, endpoint, and internal provider fields
Protocol, endpoint, and internal provider fields
This setup uses
https://bettertoken.ai/v1. The tool appends the OpenAI-compatible endpoint path. Do not add /chat/completions or /responses unless a specific field explicitly requires it.
