How to use SayGM with Hermes Agent
Hermes Agent from Nous Research accepts any OpenAI- or Anthropic-compatible endpoint. Pointed at SayGM, Claude Sonnet 5.5 costs $1.03 input and $5.15 output per million tokens, against $2.11 and $10.55 on OpenRouter with its card fee. Setup takes five fields and a test.
The settings
| Name | saygm-claude (any name works) |
|---|---|
| Endpoint URL | https://api.saygm.com (no /v1) |
| API Mode | Anthropic Messages |
| Default Model | claude-sonnet-5-5, or claude-opus-5-5, claude-haiku-5-5, claude-fable-5-2 |
| API Key | Your SayGM key, starting gm_live_ |
Step by step
Get a SayGM API key. Sign up at SayGM, open the dashboard and create a key. New accounts start with a small credit, so the test below costs you nothing.
Open Settings → Providers → Custom Endpoints. The gear icon is at the top right of the Hermes window. SayGM isn't one of the built-in accounts, so it goes under Custom Endpoints.

Settings → Providers. Add the endpoint. Click New endpoint and fill in the settings above. Choose Anthropic Messages as the API mode, paste your key into API Key, and leave Use for new chats and Discover models ticked.

The finished endpoint. Once a key is stored, the field reads "Leave blank to keep current key". Click Test. Hermes checks the endpoint and fetches SayGM's model list. A pass reads "Endpoint is reachable (Anthropic Messages route served)" with the number of models found. A 401 means the key was pasted wrong.

A passing test. Check the URL after testing. On our install, Test rewrote the Endpoint URL to
https://api.saygm.com/v1. Set it back tohttps://api.saygm.combefore you save.Pick the default model and save. With Discover models on, the list comes straight from SayGM. Pick
claude-sonnet-5-5for everyday work, then click Save. Older IDs such asclaude-fable-5still appear; choose the 5.5 or 5.2 versions.
SayGM's Claude models in the Default Model list. Start a chat. Close Settings. The model picker under the message box now lists SayGM's models with Sonnet 5.5 selected. Send any message to confirm it works.

Switch models per chat from here. 
A real answer from Claude Sonnet 5.5, served through SayGM.
Good to know
- GPT and open models use SayGM's OpenAI-compatible endpoint: add a second endpoint with
https://api.saygm.com/v1and API mode Chat Completions. - Caching still matters. Agents resend long context every step, and on Claude caching only happens when the request asks for it. If your bill looks high, see why Claude prompt caching isn't working.
- Hermes needs at least 64,000 tokens of context. Every Claude model above qualifies.
- Keep the key in Hermes. Don't paste it into chats or shared config files.

Using Claude Code instead? The same endpoint works there too; current prices for every Claude route are on the cheapest Claude API page.