Skip to content

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

  1. 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.yaml
    model:
      provider: custom
      default: openai/gpt-4o-mini
      base_url: https://api.hopscotchlabs.ai/v1
      api_key: ub_live_XXXXXXXXXXXX

    hermes 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.

  2. 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.yaml
    providers:
      hopscotch:
        api: https://api.hopscotchlabs.ai/v1
        key_env: HOPSCOTCH_API_KEY
        transport: chat_completions
        default_model: unirouter/auto
    bash
    export HOPSCOTCH_API_KEY=ub_live_YOUR_KEY_HERE

    api 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.

  3. 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.

  4. 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.

ModelContextMax outputInput /1MOutput /1MCached input /1MProvidersReleased
GoogleGemma 4 E4B ITGoogledeepinfra/gemma-4-E4B-it131K8K$0.02$0.10n/aDeepinfra2 Apr 2026
OpenAIGPT OSS 20BOpenAIdeepinfra/gpt-oss-20b131K16K$0.03$0.14n/aDeepinfra5 Aug 2025
OpenAIGPT OSS 120BOpenAIdeepinfra/gpt-oss-120b131K16K$0.04$0.17n/aDeepinfra5 Aug 2025
Command R7BCoherecohere/command-r7b-12-2024128K4K$0.04$0.15$0.04Cohere2 Dec 2024
Nemotron 3 Nano 30B A3BNVIDIAdeepinfra/Nemotron-3-Nano-30B-A3B262K262K$0.05$0.20n/aDeepinfra15 Dec 2025
DeepSeekDeepSeek V4 Flash 0731DeepSeekdeepinfra/DeepSeek-V4-Flash-07311M384K$0.06$0.18n/aDeepinfra31 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.

Run Hermes Agent on any model

Get a key and paste the config above.