Content updated: 2026-10-12With crazyrouter-hermes, you can switch Hermes Agent to Crazyrouter as the model provider. Once configured, Hermes uses
https://api.crazyrouter.com/v1 as the OpenAI-compatible endpoint and calls Claude, GPT, DeepSeek, Gemini, Qwen, and 627+ other models with a single Crazyrouter API Key.
Who is this for
- for users of Hermes Agent who want to use Crazyrouter as their model provider
- for local agent scenarios where models and quotas must be managed through Crazyrouter
- for those who want to set up
OPENAI_API_KEY,OPENAI_BASE_URL, and the default model with a single command
Requirements
Setup with one command
- Linux / macOS / WSL2
- Windows PowerShell
- Windows CMD
Manual setup
If you don’t want to run the script, configure Hermes manually.Environment Variables
Edit~/.hermes/.env:
Default Model
Edit~/.hermes/config.yaml:
default with any model allowed in your Crazyrouter token.
Switching Models
After setup, switch models inside Hermes using/model:
model not allowed or 403 when switching, usually the selected model isn’t allowed in the current Crazyrouter token.
Checklist
-
OPENAI_API_KEYin~/.hermes/.envis a valid Crazyrouter token -
OPENAI_BASE_URLequalshttps://api.crazyrouter.com/v1 -
providerin~/.hermes/config.yamlequalscustom - the default model is allowed in the Crazyrouter token
- Hermes responds to a test message
-
/model gpt-5.5or another allowed model switches successfully
Common Issues
Open the crazyrouter-hermes repository
See setup scripts, manual configuration example, and current notes.