Hermes Agent
Best model for Hermes Agent? How to choose and test
Updated 1 December 2026
For an agent that reads files or runs commands, choose a model and provider together. Check that the provider accepts tool calls for that exact model ID and serves a context window of at least 64,000 tokens. Then run a small task in Hermes and check that a tool ran and returned a result.
This guide uses the Hermes Agent 0.23.5 documentation and tagged source, the live Nous model catalog and the OpenRouter v1 models API. Model specifications come from Anthropic for Sonnet 4.6, 5 and 5.5 and Fable 5.2, Google for Gemini 2.5, 3 and 4, DeepSeek for V4.1 Flash-1017 and V4 Pro-0813, and the Ollama library for Gemma 4 31B and Qwen2.5-Coder 32B. We read these sources on 30 November 2026. ReadyHermes hosting details come from the storefront.
What Hermes Agent checks
Hermes Agent is Nous Research’s open-source agent. The model asks Hermes to use a tool, and Hermes runs the action and returns the result to the model. Plain chat can work through a compatible route without tool calling, subject to the context check. For file edits, commands or other actions, choose a route that supports tool calling. Hermes Agent warns that Nous Research’s similarly named Hermes 3 and 4 models lack reliable tool calling for agent workflows.
The startup floor is 64,000 tokens. The context window gives Hermes room for its instructions, tool descriptions and conversation. The maximum output is the limit for a single response. Hermes stops at startup if its resolved context is above zero and below the floor. Its LM Studio provider has an explicit exception for a positive integer model.context_length. For local tool use, make sure the server actually serves at least 64,000 tokens. If you set model.ollama_num_ctx in config.yaml, enter the window the server really serves. Hermes can use that value in its startup check. For Ollama, Hermes also blocks turns with tools enabled if its configured or detected num_ctx is above zero and below 64,000 tokens. Detection can use the model’s advertised maximum, so check the window Ollama actually loads. See the startup check and Ollama turn check.
Hermes can resolve the window from configuration, provider or endpoint metadata, and fallback values. The provider guide gives 128K as the generic fallback. This guide follows the 0.23.5 implementation for startup behaviour. It falls back to 256,000 tokens when it runs out of more specific matches. The OpenRouter loader separately uses 128,000 for a catalog entry missing its context length. A successful startup may therefore reflect an estimate. If a hosted endpoint reports too small a window and you can verify the real limit, set model.context_length in config.yaml to that verified value. The pin changes Hermes’s accounting. The provider still controls what it serves.
What the wizard proposes
On a fresh install, hermes setup highlights the first available way to connect. A working imported model comes first. Eligible interactive setups then show “Free, start now”, which uses nous/welcome. The trial can be claimed once per OS user, and the option is hidden in containers and CI. Then come Nous Portal and the route for your own key or subscription. Those last two routes open model selection. The interactive picker highlights your current model if it is listed and otherwise starts on the first row. In the numbered picker, leaving the answer blank skips selection. See the tagged quickstart.
The Hermes provider guide recommends Nous Portal and lists it alongside OpenRouter for general setup. The bundled and live catalogs both mark z-ai/glm-5.3 as the default for Nous Portal and OpenRouter. If you’ve configured either provider without selecting a model, Hermes checks the cached catalog for a fallback. Portal recommendations can vary by account policy and plan. For other providers with a built-in list, the fallback is its first entry. Examples in 0.23.5 are claude-fable-5-2 for direct Anthropic, gemini-3.8-flash for Google AI Studio and deepseek-flash for direct DeepSeek. See the default selection code.
Check the exact model ID on OpenRouter
- Open the models API response and find the exact
id. Copy it in full, including the text before the slash. OpenRouter can route the same model ID to multiple providers. - Check that
supported_parameterscontainstoolsand thatcontext_lengthis at least 64,000. The tool-filtered response shows which model listings advertise tool calls. If you select a specific OpenRouter provider, check the same fields on its endpoint for that model. For example, some Kimi K3 endpoints omittoolseven though the model listing includes it. - Select that ID using the OpenRouter setup guide, then run the terminal check below.
Look up z-ai/glm-5.3 and moonshotai/kimi-k3 in OpenRouter’s live catalog to check their advertised tool support and context length. Nous’s manifest labels Kimi K3 “recommended” for OpenRouter. Z.AI and Kimi also document tool calling and 1M context for their direct GLM-5.3 and Kimi K3 routes.
During a successful live refresh, Hermes excludes curated IDs missing from the OpenRouter API. A missing or non-list supported_parameters value passes the tool filter. A list passes only if it contains tools. A failed refresh or an empty result can leave you with cached or bundled choices. Some other pickers draw on the community Models.dev registry’s tool_call field. When you switch models, Hermes can check a provider’s model listing and may fall back to its own catalog if the listing is unreachable. Check the provider’s data and try a tool call on your own route. See the OpenRouter refresh code and model ID validation.
Claude Sonnet and Fable
Hermes’s direct Anthropic examples include claude-sonnet-4-6, and its bundled list also includes claude-sonnet-5 and claude-fable-5-2. Anthropic documents a 1M-token context window and tool use for all three and for claude-sonnet-5-5. Sonnet 5.5 has a published Anthropic ID and is absent from the bundled direct list. If your Anthropic account can use it, enter its native ID in the picker’s custom entry. See the Claude setup guide.
Claude Fable 5.2 requires 30-day data retention. If your account uses Anthropic’s legacy zero data retention, you need Anthropic’s explicit authorisation to use this model.
On OpenRouter the corresponding Sonnet IDs are anthropic/claude-sonnet-4.6, anthropic/claude-sonnet-5 and anthropic/claude-sonnet-5.5. Check all three entries for tools and context_length in OpenRouter’s live catalog. Hermes’s OpenRouter shortlist includes Sonnet 5 and 5.5. Copy the ID from the provider you are configuring, including its punctuation.
Gemini Flash and Gemini 4
The tagged Hermes guide recommends gemini-3.7-flash, while the bundled Google API-key list starts with gemini-3.8-flash. Use the 3.8 ID for a new Flash setup. Google says the older API ID already routes to 3.8 and is gone from the AI Studio picker.
Google removed gemini-2.5-flash and gemini-2.5-pro from the AI Studio picker. Google says that starting 1 December 2026, API requests to the old Flash ID go to gemini-3.5-flash-lite and requests to the old Pro ID go to gemini-3.8-flash, at the replacement models’ rates. If you still use either old ID, see Google’s migration guide for 2.5 Flash or migration guide for 2.5 Pro and use hermes model to select the replacement ID.
Google lists function calling, a 1,048,576-token input limit and a 65,536-token output limit for gemini-3.8-flash, gemini-3.5-flash-lite and gemini-3.1-pro-preview. Its four Gemini 4 entries in the Hermes guide support function calling and have a shared input and output window of 1,048,576 tokens. Those are gemini-4-neon, gemini-4-hydrogen, gemini-4-carbon and gemini-4-argon. Use these IDs with the Google AI Studio provider in Hermes and an API key from a Google Cloud project with billing enabled. Hermes 0.23.5 stops setup if it detects a free-tier key. If you use OpenRouter, look up google/gemini-3.8-flash in its live catalog. See the Gemini setup guide.
DeepSeek Flash and Pro
Hermes lists deepseek-flash and deepseek-v4-pro for direct DeepSeek. The provider maps them to DeepSeek-V4.1-Flash-1017 and DeepSeek-V4-Pro-0813 respectively and documents tool calls, 1M context and a 384K maximum output for both. DeepSeek’s September release notice said Pro requests would move to Flash on 14 September. Its updated changelog says Pro remained available. Follow that update and the current API specs, which list Pro and Flash as distinct models.
DeepSeek announced 24 July 2026 as the cutoff for deepseek-chat and deepseek-reasoner. Hermes accepts them from older configurations and rewrites them to deepseek-flash for direct requests. Use the current IDs for a new DeepSeek setup. If you use OpenRouter, the Hermes shortlist includes deepseek/deepseek-v4-pro, deepseek/deepseek-v4-pro-0813, deepseek/deepseek-v4.1-flash and deepseek/deepseek-v4.1-flash-1017. Check the selected entry for tools and context_length in OpenRouter’s live catalog.
For Ollama, check the loaded context
The Hermes guide recommends Ollama for a local setup and lists gemma4:31b for files, code and terminal tasks. Ollama advertises tools and 256K context for that package. The Hermes provider guide also uses qwen2.5-coder:32b as a setup example. Ollama tags that family for tools and lists 32K for the 32B package, below the Hermes floor. The upstream Qwen model card gives 131,072 tokens with extra long-context setup. For an Ollama installation, check the package and the loaded window before relying on the upstream figure.
The tagged local Ollama guide gives a 2,048-token default. Ollama’s own documentation describes defaults of 4K, 32K or 256K, depending on the available video memory. Use Ollama’s documentation for the server defaults and check the live value on your machine. In the Ollama app, set the context length in Settings. If Ollama runs as a service, set OLLAMA_CONTEXT_LENGTH to 64000 in the service environment and restart Ollama. If you start Ollama manually from a macOS or Linux shell, use this command.
OLLAMA_CONTEXT_LENGTH=64000 ollama serveSend a request from Hermes to the selected Ollama model. Once the model loads, run ollama ps and check that its CONTEXT is at least 64,000. If it’s smaller, or Hermes rejects the model because of its context length, follow the Hermes Modelfile example to set num_ctx for a compatible model. Select the resulting model tag in Hermes and repeat the check.
The Hermes provider guide gives ollama show model-name for checking tool support. Substitute your model tag for the example name. Follow the Ollama setup guide for the connection steps. See Ollama’s context documentation.
Select the model and verify a tool call
- Use the same Hermes profile for setup and testing. If you’ve set up fallbacks, choose a test profile without them so Hermes can’t switch to a backup model mid-session. In that profile, run
hermes modeland complete the provider’s connection step. Use the custom entry if the picker offers one and you need to enter the ID yourself. Then runhermes statusto check the configured model and active provider. - Run the test in an isolated environment. Start in a test repository containing only sample files you are comfortable sending to the model provider. With the local terminal backend, the shell runs with your user’s permissions and can access files outside the repository. The command runs without interactive input and can call enabled tools.
hermes chat -q "Inspect this repository" --format stream-json - Look for
tool_useand its matchingtool_result. Match them bytool_call_idwhen present. Check thatis_errorisfalse, the tool’soutputmatches the requested action, and the finalresulthasexit_codeset to0. If your provider exposes request logs, check which model and provider handled each request in the tool round trip.
If Hermes rejects the ID, check its spelling against the selected provider’s list and confirm that your credentials have access. If the reply contains no tool events, use hermes tools to check that file tools are enabled for the CLI. Then retry by asking Hermes to read a specific sample file. If a local server prints tool arguments in the reply, the Hermes troubleshooting guide points to the server’s tool-calling setting or its support for the chosen model. If Hermes reports a context error, recheck the window on the selected route. Once the small test works, try a task that uses the tools you actually need.
Hermes Agent on ReadyHermes
ReadyHermes hosts your Hermes Agent and keeps it running. The 30-minute free trial has included AI, and the AI allowance on Lite and Pro is topped up monthly.
During the trial or on a paid plan, open the Model key panel in your account to use a supported provider. Choose Your own API key, select the provider and paste its key. Pick a model from the provider’s /models list or type the ID, then press Switch to my key. ReadyHermes sends one small test message before the assistant restarts on the new key, which takes about a minute. The public overview is at /models on ReadyHermes.
The panel includes OpenRouter, Anthropic, Google Gemini, DeepSeek and Ollama Cloud. The Anthropic entry accepts an API key. For another provider, choose Other endpoint. Enter the base URL of an OpenAI-compatible API with a public HTTPS hostname on port 443. Include the version path if the API uses one, such as /v1. Leave query strings and credentials out of the URL. For the test message, ReadyHermes adds /chat/completions to the base URL and sends your key as a bearer token. Use an endpoint that accepts the key without extra headers.
ReadyHermes does not offer Claude.ai subscription sign-in, install a local Ollama runtime or expose a screen for editing config.yaml. The terminal test above applies to a Hermes installation you administer. ReadyHermes has not tested these models through that terminal procedure on its hosted assistants.
Questions
What context window does Hermes Agent require?
Hermes Agent 0.23.5 stops at startup if its resolved window is above zero and below 64,000 tokens. LM Studio has an exception when you explicitly set model.context_length to a positive integer. Once Ollama loads the selected model, check its context with ollama ps.
Which model does the Hermes Agent setup wizard suggest?
It highlights the first available connection option. A working imported model comes first, then nous/welcome if the welcome option is available, followed by Nous Portal and your own key or subscription. The bundled catalog marks z-ai/glm-5.3 as the default for OpenRouter and Nous Portal. Hermes checks the cached catalog when it needs a fallback because no model was selected. Nous Portal recommendations can vary by account policy and plan.
How can you tell if an OpenRouter model supports tool calling?
Look up its exact ID in the OpenRouter models API. Check that supported_parameters contains tools and that context_length is at least 64,000. If you select a specific OpenRouter provider, check the same fields on its endpoint for the model. Then run a Hermes task and look for a tool_use event followed by a successful tool_result.
Which should you choose, Gemini 3.7 Flash or 3.8 Flash?
Use gemini-3.8-flash for a new direct Google Flash setup. Hermes’s tagged guide recommends 3.7 Flash, but Google says requests to gemini-3.7-flash already route to 3.8 Flash. Google documents function calling for 3.8 Flash.
Can you use your own model provider on ReadyHermes?
Yes. Use a provider listed in the Model key panel or an OpenAI-compatible API at a public HTTPS hostname on port 443 that accepts a bearer API key without extra headers. During the trial or on a paid plan, enter your API key, choose a model or type its ID, and select Switch to my key. ReadyHermes sends a small test message, then the assistant restarts on the new key in about a minute.