# A Disturbance in the Force: The era of token-minimizing

> Source: <https://namar0x0309.com/blog/2026/11/a-disturbance-in-the-force-the-era-of-token-minimizing/>
> Published: 2026-12-01 22:08:23+00:00

**Recommendation:** Monitor cache-read share and per-provider quota consumption in your own telemetry, since 90% of one day's 155.6 million tokens were cache reads and 567 requests burned 19.6% of a weekly quota.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

*A cautionary note for startups and enterprises engineering for sustainable AI costs.*

Today is the dawn of a new day.

Starting this December, eligible ChatGPT chats are set to count against a shared token-metered allowance with Codex (Instant chat excluded). I suspect other LLM providers will follow with changes of their own. Hint: look at Ollama Cloud.

I sense a disturbance in the Force.

Yes, I’m mixing universes. Bear with me.

Here’s the bit that worries me: tokens can get cheaper while the cost of running your AI agents goes up. You might even be paying the exact same subscription fee.

By Monday evening I’d already burned through nearly 20% of my weekly Ollama Cloud quota, sticking to inexpensive Flash models. A few weeks ago, I’d get through Tuesday with less than 15% consumed. Naturally, I wanted to know where those tokens (or whatever unit Ollama is metering) were going.

For those of us who aren’t in the business of token-maxxing, this is worth keeping an eye on. Especially if you’re bootstrapping a company or trying to roll out agents across an entire engineering organization without giving finance a heart attack.

Fortunately, I have my own telemetry. Let’s look at the numbers, then get into some of the more interesting ways we can cut inference costs without making our agents dumber.

## The Era of Cheap Intelligence

We’ve had a pretty good run. Between competition, VC money, open-weight models and improvements in inference, I’ve been able to do things with AI that would have been prohibitively expensive not too long ago.

A provider can change quotas, model weightings, cache pricing or how usage is shared across products without touching the sticker price. Suddenly the budget you planned around doesn’t stretch as far.

It’s difficult to distinguish sustainable pricing from [temporarily subsidized intelligence](definition) from the outside. That’s part of why I’ve been spending time on [inference efficiency](theme:efficiency) in my own infrastructure.

## Ollama Cloud: A Case Study

It’s Monday evening, November 30, 2026, and I’m already at 19.6% of my weekly Ollama Cloud quota for a specific small usage account. I’ve been deliberately sticking to inexpensive Flash models.

Two or three weeks ago I could get through Tuesday with less than 15% consumed using DeepSeek V4.1 Flash. This is a grandfathered account, mind you.

Naturally, I went digging through my logs.

### Ollama Cloud

- GLM 5.3 Flash: 410 requests.
- MiMo V2.6 Flash: 157 requests.
- Total: 567 requests.
- Weekly quota consumed: 19.6%.

Again, it’s not even Tuesday.

### LiteLLM

I route inference through a self-hosted LiteLLM instance. The slightly ridiculous alias names are my way of separating models by capability and cost:

| Alias | Model | Provider | 
|---|---|---|
| Medium | GLM 5.3 Flash | Ollama Cloud | 
| super-duper-low | MiMo V2.6 Flash | Ollama Cloud | 
| super-low | DeepSeek V4 Flash | DeepInfra | 

The November 30 dashboard covers more than just Ollama:

- 1,000 requests.
- 155.6 million total tokens.
- 140.1 million cache-read tokens.
- 99.1% request success rate.
- $5.48 in recorded inference costs.

Roughly 90% of that token volume is cache reads. Keep that in mind when we get to the pricing table. LiteLLM’s cost estimates aren’t Ollama’s actual operating costs.

### What does $20 actually buy?

According to the [current Ollama pricing page](https://ollama.com/pricing), the new Pro subscription advertises $60 in monthly usage credits for $20 per month (or $200 billed annually). The Team plan advertises $1,000 in shared monthly credits for $500 per month.

Now let’s isolate the Ollama Cloud portion of my LiteLLM telemetry:

| Alias | Model | Estimated inference cost | 
|---|---|---|
| Medium | GLM 5.3 Flash | $5.03 | 
| super-duper-low | MiMo V2.6 Flash | $0.13 | 
| **Total Ollama Cloud** |  | **$5.16** | 

The other $0.32 is DeepInfra, so let’s leave that out.

$5.16 is 25.8% of my $20 subscription fee and 8.6% of the $60 monthly credits Ollama now advertises for Pro. My legacy dashboard, however, says I’ve used 19.6% of my weekly allowance.

I wish I could just compare the two. The problem is that $5.16 is a LiteLLM estimate, not an actual credit deduction, and the legacy quota resets weekly. Extrapolating linearly would give me about $105.31 over four weeks, so these numbers don’t establish that the new plan offers more or that the $60 claim is false.

What I still can’t figure out is why my quota seems to be disappearing so much faster than before. If legacy accounts use a different formula, I’d like to see it. Getting nickel-and-dimed is frustrating enough without having to reverse-engineer the meter.

### Ollama Cloud pricing snapshot

For reference, here are the prices I captured on December 1, 2026. All model prices are USD per million tokens. Off-peak rates apply outside 12:00–18:00 UTC on weekdays and throughout weekends, where listed.

*Ollama plans as of 11/30/2026*
| Plan | Subscription | Included monthly usage credits | 
|---|---|---|
| Pay as you go | $0 | Pay per token | 
| Pro | $20/month or $200/year | $60 | 
| Team (early access) | $500/month | $1,000 shared | 
| Enterprise | Custom | Custom / volume pricing | 

| Model | Input | Cached input | Output | 
|---|---|---|---|
| beam | $0.125 | $0.015 | $0.40 | 
| clef | $0.24 | — | — | 
| deepseek-v4.1-flash | $0.30 | $0.006 | $1.20 | 
| deepseek-v4.1-flash (Off-Peak) | $0.15 | $0.003 | $0.60 | 
| deepseek-v4-pro | $1.32 | $0.044 | $3.96 | 
| deepseek-v4-pro (Off-Peak) | $0.66 | $0.022 | $1.98 | 
| gemma4 | $0.14 | $0.05 | $0.40 | 
| glm-5.3 | $1.40 | $0.26 | $4.40 | 
| glm-5.3-flash | $0.15 | $0.03 | $0.50 | 
| glm-5.2 | $1.40 | $0.26 | $4.40 | 
| gpt-oss:120b | $0.15 | $0.014 | $0.60 | 
| gpt-oss:20b | $0.07 | $0.035 | $0.30 | 
| hy4 | $0.834 | $0.042 | $2.501 | 
| inkling-2-small | $0.30 | $0.03 | $1.00 | 
| kimi-k3.1-pro | $2.00 | $0.20 | $10.00 | 
| kimi-k3 | $3.00 | $0.30 | $15.00 | 
| kimi-k2.7-code | $0.95 | $0.19 | $4.00 | 
| kimi-k2.6 | $0.95 | $0.16 | $4.00 | 
| mimo-v2.6-flash | $0.14 | $0.0028 | $0.28 | 
| mimo-v2.6-pro | $0.435 | $0.0036 | $0.87 | 
| minimax-m3.1-flash | $0.15 | $0.015 | $0.60 | 
| minimax-m3 | $0.60 | $0.12 | $2.40 | 
| mistral-large-4 | $0.70 | $0.07 | $2.10 | 
| muse-spark-open | $1.25 | $0.15 | $4.25 | 
| nemotron-3-super | $0.015 | $0.015 | $0.60 | 
| nemotron-3-ultra | $0.10 | $0.10 | $3.00 | 

### Cheap models aren’t necessarily cheap for your workload

Here’s something I almost overlooked: GLM 5.3 Flash charges $0.03 per million cached input tokens. DeepSeek V4.1 Flash charges $0.006 at peak and $0.003 off-peak. That’s a 5x to 10x difference! MiMo V2.6 Flash is even cheaper at $0.0028.

Remember that 90% cache-read figure? For my kind of workload, the cached input column may matter more than the regular input column. It’s quite possible that the change in models and time-of-day pricing explains some of what I’m seeing, assuming legacy quotas account for these rates similarly. I don’t know if they do.

### Headroom

I’m also running Headroom for context compression. Over the period shown above, it reports about 92 million tokens saved across models, including 55.2 million on GLM 5.3 Flash alone, and roughly $276 in modeled cost savings (not necessarily money actually saved on subscriptions).

I’d like to replay the same workload under controlled conditions to see how much of the quota difference comes down to model selection. Until then, I can’t isolate a change to the legacy quota itself.

## Engineering for Intelligence Efficiency

One thing that amuses me about token-maxxing is imagining how absurd it would sound in any other area of software engineering. Imagine bragging about how much RAM your application allocated or how many SQL queries it took to render a page.

I’ve been having a lot of fun approaching agentic AI from the opposite direction: how much work can I get out of these models without compromising the quality of what they produce? Here are a few of the tools and patterns I’ve been looking at.

### 1. LiteLLM: Own Your Inference Layer

[LiteLLM](https://github.com/BerriAI/litellm) is probably the first thing I’d set up. Those aliases in the dashboard earlier are useful because I can swap the underlying model without reconfiguring every agent. The agent requests a capability tier; I decide what currently makes sense for that tier.

The gateway is also a convenient place to centralize model access, team and project budgets, rate limits, pre/post-inference guardrails, fallbacks, response caching and telemetry. Custom guards can catch oversized requests or restrict expensive escalations. Retry loops may also need controls in the agent itself.

Here’s roughly how I’d arrange the pieces:

### 2. Headroom: Context Compression

[Headroom](https://github.com/headroomlabs-ai/headroom) is what generated the compression metrics earlier. If you’ve watched an agent work for any length of time, you’ve probably seen the sheer volume of JSON, logs, terminal output and file contents that pile up in context. A lot of it can be compressed.

The interesting bit for me is how this interacts with prompt caching. [Blindly compressing everything can actually be counterproductive](aside). I’d rather preserve a cheap cached prefix and compress new tool output than accidentally pay to process the whole thing again.

### 3. Code Review Graph: Structural Awareness Instead of Brute Force

[Code Review Graph](https://github.com/tirth8205/code-review-graph) caught my attention because it’s essentially applying some very familiar computer science to a new problem. Tree-sitter parses the code, a local SQLite graph stores the relationships, incremental indexing keeps it current, and MCP exposes the relevant context to agents.

The README has a Flask example where the graph reduces the retrieved context from 143,594 tokens to 2,196 (about 65x). That’s their benchmark, not one I’ve independently reproduced.

Think about how often coding agents have to rediscover who calls a function, which classes depend on it, and which tests might break. We already have ASTs, dependency graphs and static analysis for much of that. A graph can narrow the review scope, help select tests and avoid redundant file reads.

[Why pay to rediscover those relationships every time?](thought)

### 4. Caching Is No Longer an Afterthought

There’s a bit more to caching than turning it on in the proxy. Different layers save different kinds of work.

**Provider-level prompt caching.** Keep system prompts, tool definitions and reusable prefixes stable. Moving a timestamp to the beginning of an otherwise identical prompt can be a surprisingly expensive mistake.

**Exact-match response caching.** Redis or Valkey can serve an existing answer without invoking a model at all, provided that answer is still valid.

**Semantic caching.** Similar requests can sometimes share answers. I’m more cautious about this in stateful agent workflows, where two almost identical questions might refer to entirely different states.

**Tool and retrieval caching.** Why keep reading the same file or retrieving the same documentation if nothing changed? Commit hashes, checksums and timestamps are useful here, along with sensible invalidation policies.

**Local KV caching and prefix reuse.** On local inference servers, reusing attention computation can save processing time and latency.

Also, a 90% cache-read share isn’t a 90% discount on the bill. Cached input rates vary wildly (as we saw earlier), and output tokens and cache writes still have to be accounted for.

## Why cache hit rates alone can be misleading

For a token-priced workload, estimated cost is the sum of uncached input tokens multiplied by their rate, cached input tokens multiplied by their rate, and output tokens multiplied by their rate, each divided by one million. Include cache writes or other charges where applicable. A high cache-read share does not necessarily translate into a proportionally lower bill, and compression can invalidate cached prefixes.

### 5. Guardrails for Agentic Consumption

Another thing I’d like to see more of is guardrails specifically for cost. A coding agent can get stuck trying variations of the same fix, calling tools and growing its context with each attempt. Give it a premium reasoning model and that can get expensive rather quickly.

I’d put limits on per-task spend, token usage, retries and runtime, and monitor repeated tool calls and context growth. At some point it makes more sense to escalate to a better model, reach for a debugger, or ask a human. The agent doesn’t need to keep banging its head against the same failing test.

### 6. Deterministic Computing Still Exists

My favorite LLM optimization is probably not calling the LLM in the first place.

Parsing, sorting, filtering, traversing a graph, validating a schema, running tests… we’ve been doing these things for decades. I like using the model to orchestrate the work rather than having it do the work that a conventional program can already do reliably.

For the love of God, let’s not forget everything we’ve learned about computer science just because we can now communicate with computers in English.

### 7. Local Inference as an Architectural Hedge

I also like having the option of running workloads locally. I don’t need a small local model to beat the best cloud reasoning model. If it handles classification, extraction, summaries, documentation or simpler code tasks reliably, that’s work I can move off a subscription.

Obviously the GPUs, electricity and maintenance aren’t free. Utilization matters a lot to that calculation. But when cloud pricing changes, at least I have somewhere else to route some of the work.

## From Cost Per Token to Cost Per Outcome

I’m becoming more interested in how much it costs to ship a feature, review a PR or resolve a bug than how many tokens my agents collectively consumed. How many attempts did it take? Did the tests pass? How much of my own time went into fixing the result?

Sometimes a more expensive model is actually cheaper once you factor in retries and human intervention. Sometimes a tiny model or a script is all you need. I’d rather measure [the cost of getting something done](theme:efficiency) than blindly optimize for the lowest token price.

## Grandfathered Pricing Is Not Grandfathered Capacity

Back to Ollama for a second. I have no issue with a company adjusting its prices to stay in business. But if I pay the same amount and get less work done, my costs have gone up anyway.

For a small company that can eat into runway; for a large one it can throw off capacity and budget forecasts across entire teams. In either case I’d like to know what the allowance actually buys, whether it can change, and how difficult it would be to move the workload elsewhere.

## Same price, different capacity

Imagine renting a server at a fixed monthly price but having its available CPU time change without a clear accounting formula. Your invoice stays the same, yet the capacity you can plan around may not. Grandfathered inference pricing presents a similar risk when the underlying allowance is opaque.

## Closing Thoughts

I still like what Ollama has done for local inference. In fact, the ability to switch between local and cloud models is a big part of why I got interested in building my own inference infrastructure in the first place.

I’m curious to see where the economics settle over the next few months. In the meantime, I’m going to keep looking for ways to make my workloads cheaper without making the results worse. There’s a surprising amount of interesting engineering to be done there, much of it involving ideas that predate LLMs by decades.

And if anyone has managed to reconcile the old Ollama quotas with the new credit system, I’d genuinely love to see the numbers.
