Test OpenRouter
Purpose
Test whether OpenRouter is available to Hermes and whether fallback providers are actually callable in this installation.
Symptoms that match this runbook
- Hermes reports fallback model errors
hermes fallback listshows expected providers, but actual requests fail- User wants to confirm OpenRouter is usable without relying on catalog names
Prerequisites
- Hermes CLI available:
/home/hermes/.local/bin/hermes - Internet egress for opencode.ai, inference-api.nousresearch.com, ollama.com, kilo.ai, litellm:4000
Procedure
1. List fallback providers
hermes fallback listExpected active fallbacks on this install:
deepseek-v4-flash-freevia opencode-zenstepfun/step-3.7-flash:freevia nousqwen3.5:397bvia ollama-cloudpoolside/laguna-m.1:freevia kilocodeor-inclusionai_ling-2_6-1tvia custom/litellm
2. Test OpenRouter-style direct access if present
curl -s -o /dev/null -w "%{http_code}" --max-time 8 https://openrouter.ai/api/v1/modelsCurrent install state as of last run: OpenRouter is not configured as a standalone provider in Hermes, so this is an optional confirmation step only.
3. Test each verified fallback URL
for url in \
"https://opencode.ai/zen/v1/models" \
"https://inference-api.nousresearch.com/v1/models" \
"https://ollama.com/v1/models" \
"https://api.kilo.ai/api/gateway/models"; do
printf "%s -> " "$url"
curl -s -o /dev/null -w "%{http_code}" --max-time 8 "$url"
echo
done4. Check Hermes fallback config reflects reality
grep -A5 "^fallback:" ~/.hermes/config.yamlVerify provider names and URLs in config match what the user wants to use.
Verification
hermes fallback listshows the exact same providers as the live config- Each URL returns an HTTP response within timeout
- No leftover undefined OpenRouter provider entries exist in
custom_providers
Rollback
- No system changes in this runbook
- If a provider looks wrong but is part of live chat behavior, treat it like a config issue, not a transient health failure
Notes
- In this installation, OpenRouter is not a live first-class provider in
custom_providers - This runbook tests confirmed fallback paths, not assumed ones
Last tested
2026-07-22