The Free Hermes Engine™

Run Hermes on free models
with OmniRoute

OmniRoute is a free, open-source gateway that sits between Hermes and every AI provider. One config file gives your Hermes agents access to 452 models — 90 of them free — with automatic token compression. Here's the exact setup, tested end to end.

A robed Hermes messenger figure standing at a glowing golden gateway with streams of light reaching out to multiple AI model nodes
452 models 90+ free 237 providers, one endpoint 15–95% token compression ~30 min setup
✦ ✦ ✦
1 · the idea

What OmniRoute actually does

OmniRoute is a small program that runs on your computer at localhost:20128. Think of it as a smart post office that knows how to reach every AI provider out there.

Normally, Hermes talks to one provider. You pay for every token, and if that provider goes down or rate-limits you, your agents stop.

With OmniRoute in the middle, Hermes talks to the gateway instead. The gateway compresses your request, picks a provider, and forwards it. If a model fails or runs out of quota, it moves to the next one automatically. Hermes never notices.

Three useful things happen on every request:

Hermes your AI agent OmniRoute localhost:20128 RTK+Caveman ▸ Free forever Zen · Kiro · Qoder 90+ free tiers DDG · TLLM · more OpenRouter optional · 353 more
Hermes sends requests → OmniRoute compresses and routes → the model answers

Your agents, prompts and commands all stay the same. Only the path changes — and most of the bill goes away.

2 · under the hood

What happens when you send a message

Here's the full journey between typing a message in Hermes and getting an answer back.

Your prompt Hermes profile omniroute Omni Route compress Provider selected 90+ free Model answers 452 options Back to you
Prompt → profile → gateway → compression → provider → model → answer

You type a message in Hermes

Nothing changes on your end. Your commands, agents and prompts all work exactly as they do now.

The profile points Hermes at localhost:20128

Instead of going to a provider's API directly, Hermes sends the request to OmniRoute running on your machine.

OmniRoute compresses the request

Two compression engines run back to back. RTK cleans up repetitive tool output, Caveman trims wordy text. Together they cut 15–95% of the tokens before anything leaves your machine.

OmniRoute picks a model

The profile's default is auto/coding:free — OmniRoute looks at your connected providers and picks the best free coding model that's healthy and has quota left. If one fails, it moves to the next.

The model answers

The response streams back through OmniRoute to Hermes. To you it looks like a normal Hermes reply.

Nothing on your machine changed permanently

OmniRoute keeps its config in ~/.omniroute/. The Hermes profile lives in its own folder. Your existing Hermes setup stays untouched.

3 · the official links

Where to find OmniRoute

This guide is based on the OmniRoute repo and docs. Here's everything worth bookmarking:

4 · before and after

What changes when you add OmniRoute

WITHOUT OMNIROUTE $30–90/mo
  • One provider, one API key, one model per profile
  • The full raw context gets sent on every call
  • Switching models means editing files and restarting
  • Provider goes down, agents stop
  • A handful of models to choose from, all paid
  • The bill arrives at the end of the month
WITH THE FREE HERMES ENGINE™ $0/mo for everyday work
  • 237 providers behind one local endpoint
  • 15–95% of tokens compressed away before sending
  • Switching models is one word in a config file
  • A model fails, the next one takes over automatically
  • 452 models, 90+ of them free
  • Free models simply don't bill you
Tokens sent per request No compression 100% RTK only ~55% RTK + Caveman ~20% (typical) — 80% saved Typical range 20–80% saved. Best case on tool-heavy sessions: 95%.
Stacked compression — most of what you'd normally pay for never gets sent
5 · before you start

Three doubts you might have

Fair questions. Here's the honest picture before you spend 30 minutes on the setup.

"Free models aren't good enough for real work."
Most of what agents do all day — research, drafting, summarising, formatting, running tools — doesn't need a frontier model. I tested the full Hermes agent loop, including tool calls and shell commands, on a free model. It handled all of it. Save the paid models for the small slice of work that actually needs them.
"Adding a gateway will make my setup slower and more fragile."
OmniRoute runs locally, so the extra hop costs milliseconds. And it makes things more stable, not less — with one direct provider, an outage stops your agents. With the gateway, a failing model just gets skipped and the next one answers.
"I'll set this up later."
The whole thing is three commands and two small config files. The token savings start on the first request, and your current setup stays untouched — so there's nothing to migrate and nothing to break. Thirty minutes now is the entire cost.
✦ ✦ ✦
6 · the system

The Free Hermes Engine™: four layers

The setup you're about to build has four parts. Each one does a specific job.

i.

Gateway

OmniRoute runs at localhost:20128 and connects to every provider. It's local, so it never goes down unless you close it.

ii.

Compression

RTK + Caveman cut 15–95% of tokens automatically on every request. No configuration needed.

iii.

Choice

452 models across 237 providers, 90+ free. Change one word in the config to switch.

iv.

Profile

A small Hermes config folder. Your existing setup stays untouched — switch in and out with one flag.

7 · setup

Step 1: Install OmniRoute

OmniRoute is an npm package. You install it once and it runs on your machine — no Docker, no server, no subscription.

npm install -g omniroute

Then start the gateway:

omniroute serve --no-open --no-tray

The --no-open flag stops OmniRoute from opening a browser tab every time it starts — worth having if it ever restarts on its own.

Now open http://localhost:20128 in your browser and set an admin password. The gateway is live.

Optional: make it start with your Mac

You can register OmniRoute as a background service so it launches on boot and stays running. Set it up once in your system's launch agents and forget about it.

"This sounds complicated."

It's two commands and a password. If you've ever installed anything with npm, this is the same thing. The Hermes side in step 3 is two small text files.

8 · setup

Step 2: Connect free providers

OmniRoute connects to providers through its dashboard. Start with the free-forever ones — some don't even need a signup.

Open the dashboard → Providers. These cost nothing and stay that way:

  • OpenCode Zen — free coding models, no account needed. This powers oc/big-pickle, the model I verified this whole setup on.
  • Pollinations — GPT-class and Llama models, no key needed.
  • Qoder AI — Kimi-K2 and DeepSeek-R1, unlimited free.
  • Kiro AI — free Claude-class credits every month.

Click one, hit Connect, done. Connect two or three so the auto-routing has options to fall back across.

Optional: add OpenRouter

If you also want cheap paid frontier models for the occasional heavy task, grab a free key at openrouter.ai/keys and add it the same way. It unlocks 353 more models. Totally optional — the free stack runs Hermes fine without it.

Create an API key for Hermes

Hermes needs a key to talk to OmniRoute. Create one in the dashboard (Settings → API Keys → Create) or from the terminal:

omniroute keys add hermes-profile

Copy it — you'll paste it into a file in the next step.

Provider access before and after OmniRoute 1 provider before OmniRoute 237 providers 90+ with free tiers 452 models total after one OmniRoute install
One install, one dashboard — 237 providers behind a single endpoint
"Are the free models actually any good?"

Good enough that I ran the full Hermes agent loop on one — tool calls, shell commands, real agent work — and it handled everything. The free stack includes DeepSeek-R1, Kimi-K2, and Claude-class models on Kiro.

For the occasional task that really needs a frontier model, that's what the optional OpenRouter connection is for — and the compression cuts that bill too.

9 · setup

Step 3: Create the Hermes profile

A Hermes profile is two files in one folder. One sets the routing, one holds the key.

config.yaml

Create ~/.hermes/profiles/omniroute/config.yaml:

model: default: auto/coding:free provider: openrouter base_url: http://localhost:20128/v1 api_mode: chat_completions credential_pool_strategies: openrouter: fill_first toolsets: - hermes-cli max_live_sessions: 16 agent: max_turns: 90 gateway_timeout: 1800

The important line is base_url — that's what sends Hermes to OmniRoute instead of a provider. And auto/coding:free means OmniRoute picks the best free coding model available.

auth.json

Create ~/.hermes/profiles/omniroute/auth.json:

{ "version": 1, "active_provider": "openrouter", "credential_pool": { "openrouter": [{ "id": "omniroute-gateway", "label": "OmniRoute Gateway", "auth_type": "api_key", "priority": 0, "access_token": "YOUR_OMNIROUTE_API_KEY_HERE", "base_url": "http://localhost:20128/v1" }] } }

Paste the key from step 2 where it says YOUR_OMNIROUTE_API_KEY_HERE. This is OmniRoute's internal key — the gateway holds the actual provider keys itself.

Run it

hermes -p omniroute

Hermes starts, reads the profile, and routes everything through the gateway. I tested the full agent loop this way — tool calls and shell commands, on free models, $0 spent.

If you'd rather have a one-word command:

hermes profile alias omniroute

Now typing omniroute in any terminal launches Hermes on the free gateway.

"Will this break my existing Hermes setup?"

No. Profiles are fully separate. The omniroute profile only runs when you pass -p omniroute — your normal hermes command keeps using your default profile exactly as before.

10 · setup

Step 4: Switch models whenever you want

Change the default: line in config.yaml, save, and start a new session. That's the whole process.

Free routes (all tested with Hermes tool-calling)

# Best free coding model, with automatic fallback — the default default: auto/coding:free # A specific free-forever model (OpenCode Zen) default: oc/big-pickle # Cheapest working model from everything connected default: auto/cheap

The auto/ routes are OmniRoute's smart router. It scores your connected providers on health, quota and speed, then picks. If a model hits a limit mid-session, the route moves to the next one and you never see an error.

Paid options (needs OpenRouter connected)

# Claude Haiku — cheap frontier model, still compressed default: openrouter/anthropic/claude-haiku-4.5 # Claude Sonnet — for heavy reasoning work default: openrouter/anthropic/claude-sonnet-4.6

One tip from testing: skip auto/best-free as a Hermes default. It can pick free models that don't support tool-calling, and Hermes needs tools. The auto/coding:* routes only pick tool-capable models.

"I already pay for Claude. Why would I need this?"

Two reasons. The compression cuts 15–95% of your tokens before they reach Anthropic, so your existing bill shrinks. And for tasks where Claude is overkill — summaries, drafts, quick lookups — a free model does the job and saves your Claude quota for work that needs it.

11 · the multiplier

How the token compression works

You don't configure anything — it runs on every request through the gateway. But it helps to know what it's doing.

RTK cleans up tool output

Agent sessions are full of repetitive content — build logs, test output, git diffs, file listings. RTK filters and deduplicates all of it before it gets sent.

Caveman trims the text

Then Caveman compresses the prose — filler words, redundant phrasing, anything that carries no meaning. Code blocks, URLs and structured data are always preserved exactly.

What you actually save

It depends on your sessions. Short one-off questions save around 15–30%. Long agent sessions with lots of repeated context save 60–95%. The OmniRoute dashboard shows the compression ratio on every request, so you can watch it live at localhost:20128.

"Does compressing the prompt make the answers worse?"

The engines only remove things the model doesn't need — repeated boilerplate, filler words, duplicate tool output. Code and data pass through byte-for-byte. The model gets the same information in fewer tokens.

✦ ✦ ✦
The Free Hermes Engine™ — pre-built inside

Want this without the setup?

Everything in this guide is part of the Agent OS — the full system I run my business on. Inside the AI Profit Boardroom you get it pre-wired, plus the people to help when something doesn't work first try.

Free Hermes Engine™ pre-configured — profile, compression and free providers ready to go
The complete Agent OS — every CLI in one dashboard, set up in an afternoon
Free local models — run the everyday work at $0 on your own machine
Agent Kanban — agents that keep working while you sleep
5 live coaching calls a week — get unblocked by people on your exact setup
1,000+ prebuilt agents — ready to run and customise
Token-efficiency playbooks — stop thinking about API bills
4,000+ members in 38 countries — someone's online whenever you're stuck
Get the Free Hermes Engine™ → Inside the AI Profit Boardroom
12 · what members are doing

The results people are getting

The Boardroom is 4,000+ founders and operators — agency owners, ecom founders, course creators — running this kind of stack in their own businesses. So far, 258 wins have been documented across 38 countries.

3,600+ members inside AIPB
258 documented wins
38 countries
400K YouTube subscribers
163K X followers
29K+ Udemy students

Members post their wins as they happen — cost savings, first agents shipped, client work automated. They're all collected in one doc you can read right now.

Read the member wins doc (158 pages) →
13 · the recap

What you end up with

i.

Free everyday work

90+ free models through one endpoint. The bulk of your Hermes usage costs nothing.

ii.

Smaller paid bills

When you do use a paid model, compression cuts the tokens 15–95% first.

iii.

452 models on tap

Switch with one word in a config file. Automatic fallback when anything fails.

iv.

Your old setup, untouched

It's a separate profile. Use -p omniroute when you want it, plain hermes when you don't.

✦ ✦ ✦
One more thing

This is one piece of a bigger system

The Free Hermes Engine™ handles your model costs. The rest of the Agent OS handles everything else — agents that work overnight on a kanban board, every AI tool you already use wired into one dashboard, and local models for work that should never touch an API.

If you'd rather build it with help than figure it out alone, that's what the Boardroom is for. 3,600+ people are already inside, and with five live calls a week you're never stuck for long.

Join the AI Profit Boardroom → skool.com/ai-profit-lab

258 documented member wins · 38 countries · 5 live calls a week