Hermes
Add opengateway as a named custom provider in ~/.hermes/config.yaml and switch with /model in any Hermes session — your default model stays untouched.
Copy this to your agent
Paste it into any AI agent. It sets up everything and saves it as the
opengateway-hermes skill.Set it up by hand#
1. Get an API key#
opengateway.ai → API Keys → Create Key.
Export it in your shell profile (~/.zshrc or ~/.bashrc):
export OPENGATEWAY_API_KEY="YOUR_OPENGATEWAY_API_KEY"
2. Add the provider#
Add to ~/.hermes/config.yaml:
custom_providers:- name: opengatewaybase_url: https://apis.opengateway.ai/v1key_env: OPENGATEWAY_API_KEY
3. Switch and verify#
Inside a session, /model opens the picker — choose opengateway, then
a model. Or switch directly (any
catalog model ID works):
/model custom:opengateway:z-ai/glm-5.2-ultrafast
Send "Reply with OK". A response means it works — the call is already on the dashboard with tokens, cost, and latency.