Last updated: 2026-06-06Use crazyrouter-hermes to point Hermes Agent at Crazyrouter. After setup, Hermes uses
https://api.crazyrouter.com/v1 as its OpenAI-compatible endpoint and calls Claude, GPT, DeepSeek, Gemini, Qwen, and 627+ other models through a single Crazyrouter API key.
Best For
- Hermes Agent users who want to use Crazyrouter as the model provider
- local agent workflows that should share Crazyrouter models and quota
- users who want a one-command setup for
OPENAI_API_KEY,OPENAI_BASE_URL, and the default model
Prerequisites
One-Click Setup
- Linux / macOS / WSL2
- Windows PowerShell
- Windows CMD
Manual Setup
If you prefer not to run the script, write the Hermes config manually.Environment Variables
Edit~/.hermes/.env:
Default Model
Edit~/.hermes/config.yaml:
default to any model allowed by your Crazyrouter token.
Switch Models
After setup, switch models inside Hermes with/model:
model not allowed or 403, the current Crazyrouter token usually does not allow that model.
Verification Checklist
-
OPENAI_API_KEYin~/.hermes/.envis a valid Crazyrouter token -
OPENAI_BASE_URLishttps://api.crazyrouter.com/v1 -
providerin~/.hermes/config.yamliscustom - the default model is allowed by the Crazyrouter token
- Hermes can return a test response
-
/model gpt-5.5or another allowed model switches successfully
Common Issues
View the crazyrouter-hermes repository
Review the setup scripts, manual config example, and latest notes.