Run Hermes Agent on Crazyrouter
Hermes Agent uses an OpenAI-compatible endpoint. Point it at Crazyrouter and give it Claude, DeepSeek, Kimi or any other catalogue model without changing the agent.

One-command setup
Two scripts from the crazyrouter-hermes repo: a lightweight configurator for existing installs and a full installer that also brings up Hermes on a fresh Linux box.
- 1Run the command
Pulls the script from GitHub; nothing else is downloaded.
- 2Paste your Crazyrouter key
Pick a default model when asked; you can change it later.
- 3Tool talks to Crazyrouter
Config or env vars are written; the next launch routes through your key.
curl -fsSL https://raw.githubusercontent.com/xujfcn/crazyrouter-hermes/main/setup.sh | bash
What the script does
- setup.sh: Hermes is already installed — writes OPENAI_API_KEY, OPENAI_BASE_URL and the default model
- setup-full.sh: fresh server — checks the OS, installs dependencies and Hermes first
- Optionally sends a test request to confirm the key and endpoint
Scripts are fetched from the public GitHub repo linked below. Read them before piping to a shell if that's your policy; the download-then-run form is in the README.
Manual configuration
Environment
export OPENAI_API_KEY=sk-your-crazyrouter-key export OPENAI_BASE_URL=https://api.crazyrouter.com/v1
https://api.crazyrouter.com/v1 — This tool is OpenAI-compatible and appends /chat/completions (or /responses) itself. Use the /v1 base URL exactly as shown.
Recommended models
Live Crazyrouter prices, refreshed hourly. Any model in the catalogue works; these are the ones we'd start with.
FAQ
Which base URL?
https://api.crazyrouter.com/v1 — Hermes is OpenAI-compatible, so the /v1 suffix is required.
Which model works best for long agent runs?
claude-sonnet-4-6 balances tool-use quality and cost; deepseek-v4-pro or kimi-k3 when you want a cheaper long-context option.
Can I run it on Windows?
The repo ships a setup.bat; Hermes itself is primarily tested on Linux and macOS.
Guides and comparisons
TutorialHermes Agent + Crazyrouter: One-Click Setup for 627+ AI Models
Connect Hermes Agent to Crazyrouter in under a minute. One script, one API key, 627+ models — Claude, GPT, Gemini, DeepSeek, Qwen and more.
TutorialCodex CLI Installation Guide: Setup OpenAI's AI Coding Agent in Minutes
Complete guide to installing and configuring OpenAI Codex CLI, the AI-powered terminal coding agent. Step-by-step setup for macOS, Linux, and Windows with troubleshooting tips.
TutorialClaude Code Base URL, API Key, and Native Tool Calls: Tested Setup
Configure Claude Code with a native Messages gateway, verify API authentication and a real file-read tool loop, and diagnose base URL and model errors.
Podcast
AI Dev Tools: The Crazyrouter Podcast
Short episodes for developers on AI APIs, gateways, cost control and coding tools.
Latest episodes
EP196 · Oct 29, 2026 · 6:53
AI API Security Posture — Turn Controls Into Continuous Evidence
A practical guide to AI API security posture: inventory exposure, verify controls continuously, protect keys and data, constrain tools, and turn security assumptions into evidence that operators can act on.
EP195 · Oct 28, 2026 · 7:21
AI API Policy Drift — Detect When Production Rules Stop Matching Intent
A practical guide to policy drift in AI APIs: version routing and safety rules, detect stale enforcement, compare intended and observed behavior, and restore control before small gaps become incidents.