Integrations
Use Hermes Agent with any model
Hermes Agent takes a custom OpenAI-compatible endpoint in ~/.hermes/config.yaml. Connect to Hopscotch to use any model in the catalog.
Set it up
- 01
The configuration surface
Hermes has a first-class notion of a custom OpenAI-compatible endpoint, so nothing here needs a plugin. The file is ~/.hermes/config.yaml, and the short form points the whole agent at one endpoint:
~/.hermes/config.yamlmodel: provider: custom default: openai/gpt-4o-mini base_url: https://api.hopscotchlabs.ai/v1 api_key: ub_live_XXXXXXXXXXXXhermes model, run in your terminal outside a session, walks the same fields interactively and writes them to the same file.
Hermes does not append /v1. Every custom endpoint example in its documentation carries the version prefix, so include it.
- 02
Prefer the named form
The block above is one endpoint for the whole agent. The named form is better here for a reason that has nothing to do with tidiness: it can read the key from your environment rather than holding it.
~/.hermes/config.yamlproviders: hopscotch: api: https://api.hopscotchlabs.ai/v1 key_env: HOPSCOTCH_API_KEY transport: chat_completions default_model: unirouter/autobashexport HOPSCOTCH_API_KEY=ub_live_YOUR_KEY_HEREapi is the base URL, and base_url and url are accepted spellings of the same field. transport picks the wire: chat_completions is the one this site is about, and the wizard sets it explicitly rather than leaving it to be detected.
- 03
Pin the model id, in more places than one
Hermes routes a set of auxiliary tasks, including vision, web summarisation and the compression that shortens a long session, to your main chat model by default, and each of those is its own request. They can be pointed at a different model per task. Whatever you point them at needs to be a pinned id too, or those tasks fail while the main loop keeps working, which is a confusing shape of failure.
- 04
Keys, and the file that gets committed
The key belongs in your environment or in ~/.hermes/.env, both of which sit outside your repository.
Mint a key for Hermes rather than reusing one.
Models that fit an agent
These models support tool calling and take at least 128K tokens of context. Prices are per million tokens.
| Model | Context | Max output | Input /1M | Output /1M | Cached input /1M | Providers | Released |
|---|---|---|---|---|---|---|---|
| Gemma 4 E4B ITGoogledeepinfra/gemma-4-E4B-it | 131K | 8K | $0.02 | $0.10 | n/a | Deepinfra | 2 Apr 2026 |
| GPT OSS 20BOpenAIdeepinfra/gpt-oss-20b | 131K | 16K | $0.03 | $0.14 | n/a | Deepinfra | 5 Aug 2025 |
| GPT OSS 120BOpenAIdeepinfra/gpt-oss-120b | 131K | 16K | $0.04 | $0.17 | n/a | Deepinfra | 5 Aug 2025 |
| Command R7BCoherecohere/command-r7b-12-2024 | 128K | 4K | $0.04 | $0.15 | $0.04 | Cohere | 2 Dec 2024 |
| Nemotron 3 Nano 30B A3BNVIDIAdeepinfra/Nemotron-3-Nano-30B-A3B | 262K | 262K | $0.05 | $0.20 | n/a | Deepinfra | 15 Dec 2025 |
| DeepSeek V4 Flash 0731DeepSeekdeepinfra/DeepSeek-V4-Flash-0731 | 1M | 384K | $0.06 | $0.18 | n/a | Deepinfra | 31 Jul 2026 |
What changes when Hermes Agent runs through Hopscotch
- One key for every model
- Switch models in Hermes Agent by changing the model name.
- A budget for this tool
- Give Hermes Agent its own key with a daily limit. A long session stops at the limit.
- Every call in Activity
- Each request Hermes Agent sends shows up with its model, provider, tokens and cost.
- List price
- You pay each provider's list price per token, with no markup.
Hermes Agent questions
Do I need an account with each provider?
No. One Hopscotch key covers every model in the catalog, and you buy credit once.
Which model name goes in Hermes Agent?
The ID from the models page, such as deepinfra/gemma-4-E4B-it. The provider comes first, then the model.
Will Hermes Agent get a different model than the one I picked?
No. Hopscotch runs the model you name. To add a backup, set up a routing profile.
Can I use my own provider key with Hermes Agent?
Yes. Add the key in your dashboard. Requests to that provider run on it.