Tradeoff considerations while running LLM models locally A developer who ran the Hermes personal agent for three months found that agent frameworks consume an order of magnitude more tokens than plain chatbots, with a simple "hi" message burning 17,292 tokens because large system prompts, skills overviews, and tool definitions are injected into every call. The overhead forced Hermes to reject local models with context windows under 64k, ruling out lightweight models on an 8GB Ubuntu machine running Ollama and pushing the developer toward closed frontier models instead. My last post https://swapniltalekar.substack.com/p/three-months-of-running-personal?r=1v4ea was about my experience of running personal Hermes agents for the last couple of months. One of the things I mentioned there was to avoid running models locally. This post goes into the details of my experiments with local models, how agents really use LLMs and when it actually makes sense to run the models locally. A lot of the stuff being discussed on the internet about local models is either a benchmark comparison or a homelab enthusiast bragging about squeezing a 70B model onto a single GPU. Very few talk about the specific way an agent framework, as opposed to a plain chatbot, interacts with the models. I ran Hermes as my personal agent for three months, on real hardware, doing real tasks, checking my calendar, drafting messages, running small scripts, and it was quite a ride understanding it’s working with LLMs. Hermes is picky Like I said before, since running Hermes was a personal hobby project, I wanted to keep the cost of my agent setup to a minimum. I tried to locally run the models, which were small enough to run on my 8GB Ubuntu machine along with Ollama as the local inference provider. These are obviously not SOTA-level models, but they are good enough for experimentation and tinkering. To my surprise, Hermes won’t let me hook any of those models with it. Whenever I tried, it errored out, complaining that the model’s context window is less than 64k. I tried out a few small models, but it kept erroring out and asking me to choose another model. This restriction ruled out a lot of lightweight models I had on my list to cheaply run locally. The intriguing question was: Why does Hermes do that? Why would it insist that we only hook models with 64k context? How many tokens does a “hi” cost? The answer lies in how Hermes uses the model’s context window. Do you think you know enough about LLMs and Agents? Alright then, let’s do a quick quiz. How many tokens would it cost to send a simple “hi” message to an LLM? If you answered 1 token, well, you’re more or less correct. Now how about you send the same message via an AI agent? It could be absolutely any agent, not just Hermes. It could be OpenClaw, Claude Code, Codex, Cursor, just about anything else. Any guess? Well, the answer is: it could be anything between 10k - 40k+ tokens Yup, that many tokens for a simple “hi” message to the LLM when you’re using your favourite agent. Don’t believe me? Here’s a snapshot of the actual usage stats from my Hermes agent. To send a “hi” message to the LLM, it burnt 17,292 tokens The truth is that AI agents are giant token guzzlers. The reason they need so many tokens is that the agents need to inject giant system prompts and other information, such as Skills overview, tools information, useful persistent info, etc., into every single message to the LLM, even before your “hi” gets to have a place there. For example, here’s a breakdown of my Hermes’ system prompt: Agent loops don’t burn just a few more tokens than a direct LLM call; THEY BURN AN ORDER OF MAGNITUDE MORE While this token usage seems excessive, it’s this same overhead that lets the framework behave like an agent at all, deciding whether to call a tool, check a calendar, or just chat, instead of being locked into one fixed behaviour. If you strip that overhead out, you’d also strip out the thing that makes it an agent instead of a chatbot with extra steps. Because of this, the minimum token usage for every message in an agent framework sits far above what the same message would cost as a bare chat completion. This is also why a lot of top-tier models get way more expensive for you when you use them with agents. Using Closed Frontier models Once it was clear that I won’t be able to run small models locally, I tried looking at a few big models but the amount of GPU horsepower they needed exceeded the cloud spend budget I had in mind. So I gave up on running the models locally and tried hooking in some popular frontier models, but there were a few issues with that. Anthropic has already banned 3