Skip to content
BENIBIX Learn

hermes model Command

AI🪽 Hermes AgentHermes Agent Basics

Also known as Hermes provider setup, Hermes /model, Hermes model switch

The shell command that adds model providers to Hermes. It also sets the default.

Think of it like

It is like adding a new card to your wallet. After that, you just pick which card to pay with.

Example

Leo has only OpenRouter set up. He quits his chat, runs hermes model, and signs in to Nous Portal. Back in the chat, /model now lists Nous models too.

Why it matters

Hermes works with many providers. This is the one place where a new one gets added and signed in.

Definition

hermes model is the setup tool for the brains behind Hermes. You run it in your shell, outside any chat. It adds a new model provider, takes an API key, or signs you in with a browser. Then it saves your choice as the default. Inside a chat, the /model command can only switch between providers you have already added.

Example code

console
hermes model
/model zai:glm-5
/model claude-sonnet-4 --global
Add a provider in the shell. Then switch in the chat, and save it with --global.
hermes model sits on the shell side. It adds the providers that /model then picks from.

Common mistake

Typing /model inside a chat to add a new provider. It cannot ask for a key, so you must leave the chat first.

Key takeaways

  1. 1
    Shell adds. hermes model sets up new providers.
  2. 2
    Chat switches. /model picks from what is set up.
  3. 3
    --global saves. Otherwise a switch lasts one session.