Skip to main content
TokenCost logoTokenCost

Best LLM for Hermes Agent

Hermes Agent runs on whatever model you give it, and it keeps running while you sleep. This list is ordered for that.

Prices on this page last verified against each provider’s own pricing page

Hermes Agent is the open-source, MIT-licensed agent from Nous Research. It runs in a terminal, on a server or behind Telegram, Discord, Slack, WhatsApp and Signal, keeps memory across sessions, writes its own skills and runs scheduled jobs from a built-in cron. It does not ship a model. You pick one with hermes model from Nous Portal, OpenRouter, Anthropic, OpenAI, DeepSeek, Z.ai, MiniMax, a local Ollama or LM Studio server, or a custom endpoint, and you can switch without touching code.

It is also the biggest token consumer on OpenRouter. In the September 7, 2026 snapshot of OpenRouter's app leaderboard Hermes Agent is #1 at 1.38T tokens, roughly three times Claude Code in second place. An app only appears on that list when its users choose their own model, so the model you choose here is the bill you pay, and an agent that runs cron jobs overnight pays it whether you are watching or not.

That is why this page leans on the shell-loop benchmark and on price. Terminal-Bench 2.1 carries 0.7 of the quality score and SWE-bench Verified 0.3, because Hermes spends its time running commands, browsing and chaining tool calls rather than patching one repository. Every halving of the blended price is worth five points of pass rate. Models under 64,000 tokens of context are excluded because Hermes itself refuses to start on them: its docs say the system prompt, tool schemas and working state need that much room.

Top Models for Hermes Agent — October 2026

#1
DeepSeek V4.1 Flash
DeepSeek
Best for Hermes AgentTerminal-Bench only · 90.6
In: $0.15/1M
Out: $0.6/1M
Ctx: 1.0M

Top of the list on arithmetic. It is the cheapest model here per token, its cache-hit rate is a tiny fraction of its input rate, and a long-running Hermes session re-sends the same system prompt, memory and tool schemas on every turn, which is exactly what a cache discount pays for. The catch is the evidence: the 90.6 Terminal-Bench 2.1 score that puts it first is DeepSeek's own, and no independent lab has measured it yet. Peak hours on weekdays bill double the off-peak figure shown here, which matters for cron jobs scheduled into those windows.

#2
Gemini 3.6 Flash
Google
Terminal-Bench only · 77.5
In: $0.75/1M
Out: $3.75/1M
Ctx: 1.0M

The best-measured cheap option for a shell-heavy agent: 77.5 on Terminal-Bench 2.1 with a 1M context. Two dates to know before you build on it. Google's current rate is a cut that its own page says reverts to the launch price on January 1, 2027, and Vertex AI retires the model on November 19, 2026, while the Gemini API keeps serving it and now routes deprecated 3.5 Flash traffic to it. Thinking tokens bill as output, so agent runs cost more than the sticker suggests.

#3
Claude Opus 5
Anthropic
Both suites · 89.1
In: $5/1M
Out: $25/1M
Ctx: 1.0M

The highest SWE-bench Verified score on the page at 96.0 (Anthropic-reported), and 86.1 on Terminal-Bench 2.1 as measured by Artificial Analysis, the best independent shell score here. On a list this price-sensitive it still lands near the top, which says how wide the quality gap is. Use it as the main model for the hard, rare job, or for a subagent you send the difficult part to, rather than as the thing that answers every Telegram message.

#4
GLM-5.2
Zhipu
Terminal-Bench only · 77.9Non-default tier
In: $1.4/1M
Out: $4.4/1M
Ctx: 1.0M

MIT-licensed open weights with a 1M context. Its 77.9 on Terminal-Bench 2.1 is Artificial Analysis's run of the max reasoning setting, not the default, so read it as an upper bound for a plain call (Z.ai self-reports 81.0). Hermes has a built-in z.ai provider, so it is one key away.

#5
Claude Sonnet 5
Anthropic
Both suites · 81.9Non-default tier
In: $2/1M
Out: $10/1M
Ctx: 1.0M

The safe default if you want a model whose scores are well documented: 85.2 on SWE-bench Verified and 80.5 on Terminal-Bench 2.1 (the latter at max effort, so an upper bound), full 1M context, no long-context surcharge. Its tokenizer emits roughly 30% more tokens than Sonnet 4.6 for the same text, so compare real bills, not sticker rates, if you are moving from an older Claude.

#6
MiniMax M3
MiniMax
Terminal-Bench only · 65.2
In: $0.3/1M
Out: $1.2/1M
Ctx: 1.0M

MiniMax now labels its half price permanent, which makes M3 one of the cheapest 1M-context models with an independently measured Terminal-Bench 2.1 score (65.2, Artificial Analysis). Native image and video input means it can fill the vision slot too. Hermes supports MiniMax by API key or by browser OAuth. Rates double above 512K input, so very long sessions should be compressed before they get there.

#7
Kimi K2.6
Moonshot
Terminal-Bench only · 65.9
In: $0.95/1M
Out: $4/1M
Ctx: 262K

Open weights from Moonshot, 65.9 on Terminal-Bench 2.1, and fast for its size. Its 262K context is well clear of Hermes's 64K minimum but a quarter of the 1M models above it, so leave room for memory and tool output on long sessions. Hermes has a built-in Kimi provider.

#8
Gemini 3.5 Flash-Lite
Google
Terminal-Bench only · 53.6
In: $0.3/1M
Out: $2.5/1M
Ctx: 1.0M

Not a main model for most people. It is here as the obvious auxiliary pick: Hermes sends context compression, web-page summarising, session titles and approval checks to side slots, and every slot defaults to your main model. Pointing those at a cheap fast model is the easiest saving in Hermes, and this one posts 53.6 on Terminal-Bench 2.1 at a fraction of a frontier rate.

How We Ranked These Models

Order is computed, not hand-picked. Each model is scored on the published pass-rate suites it has (SWE-bench Verified 0.3, Terminal-Bench 2.1 0.7), renormalised over the suites present, then charged 5 quality points for every doubling of its blended price (3:1 input-to-output tokens). Models with no published score are never given one: they are listed after every scored model, ordered by price, and labelled as unscored. Hermes Agent runs shell commands, browses, schedules jobs and keeps working while you are away, so Terminal-Bench 2.1 leads the weighting at 0.7 against 0.3 for SWE-bench Verified. It is the largest token consumer on OpenRouter and much of its work runs unattended, so price presses hard: every halving of the blended price is worth 5 points of pass rate. The context floor is Hermes's own: it refuses to start on a model with less than 64,000 tokens. See the full ranking method.

Shell and tool loops first
Hermes runs commands, browses, calls MCP tools and delegates to subagents. Terminal-Bench 2.1 measures that loop, so it carries 0.7 of the quality score against 0.3 for SWE-bench Verified.
Cost of an agent that never stops
Cron jobs, messaging gateways and background subagents keep spending after you close the laptop. Every halving of the blended price is worth five points of pass rate on this page.
Hermes's own context floor
Hermes rejects any model with less than 64,000 tokens of context at startup. Anything below that is not listed. Local servers often default far lower, so check the setting, not just the model card.
Cache-friendly pricing
Hermes re-sends a stable system prompt, memory and tool schemas every turn, and its docs warn that switching models mid-session resets the prompt cache. A cheap cached-input rate is worth more here than a cheap headline rate.

Frequently Asked Questions

What is the best model for Hermes Agent?
On this page's weighting, DeepSeek V4.1 Flash ranks first because it is very cheap and its self-reported Terminal-Bench score is high, but that score has no independent check yet. If you want the strongest independently measured model, Claude Opus 5 posts 86.1 on Terminal-Bench 2.1 in Artificial Analysis's run and 96.0 on SWE-bench Verified. Claude Sonnet 5 is the well-documented middle choice. Many Hermes users run a cheap model as the main model and send hard tasks to a stronger one with /model or a subagent.
Is Hermes Agent free?
The agent is free and open source under the MIT licence. The model is not, unless you run one locally. You pay your model provider per token, or a subscription such as Nous Portal, and Hermes passes the requests through. Running a local model through Ollama, LM Studio, llama.cpp or vLLM costs nothing per token, but the model must be served with at least 64,000 tokens of context or Hermes will refuse it.
What are auxiliary models in Hermes Agent and should I change them?
Hermes splits work between a main model, which handles every message and tool loop, and auxiliary slots for side jobs such as context compression, vision, web-page summarising, approval scoring, session titles and skill search. Each slot defaults to auto, which means your main model. Its docs suggest overriding compression, web extract, approval and title generation with a fast cheap model, because those jobs do not need deep reasoning. If your main model is expensive, this is the first setting to change.
Can Hermes Agent use local models?
Yes. Hermes works with Ollama, LM Studio, vLLM, SGLang and llama.cpp through its local or custom endpoint options. The common failure is context: Ollama defaults to as little as 4,096 tokens depending on VRAM, and Hermes needs 64,000. Set OLLAMA_CONTEXT_LENGTH or the equivalent server flag before blaming the model. Smaller local models also struggle with long tool chains, so expect to restrict the toolset.
Which provider should I use for Hermes Agent, OpenRouter or direct?
OpenRouter gives one key for almost every model on this page and is what most Hermes users run, which is why Hermes tops OpenRouter's app leaderboard. Going direct to Anthropic, DeepSeek, Z.ai, MiniMax or Moonshot removes the middle layer and gives you each provider's own cache pricing. Hermes also supports fallback providers and credential pools, so you can use both: a direct key as primary and OpenRouter as the fallback.
Why does this page rank cheaper models above stronger ones?
Because it states an exchange rate and applies it: a halving of blended price is worth five points of measured pass rate here. Hermes is an always-on agent and its users move more tokens through OpenRouter than any other app, so price belongs in the order. The weighting is printed under the table, so you can disagree with it precisely. If price does not matter to you, Claude Opus 5 is the pick.

The same models, weighted for another tool

Each page states its own weighting, so the order changes with the workload.