modelmile
All articles

You May Be Paying for Opus on Tasks Sonnet Could Handle

Opus by default, because it is the best: that is the most common choice, and the most expensive one. A comma does not need the same model as a migration. The right level of capability is decided task by task, not once and for all.

Many developers pick a powerful model at the start of a Claude Code session and then forget about it. Opus becomes the default for everything: fixing a comma, writing a unit test, explaining a function, or rephrasing an error message.

That is not necessarily a bad decision. Opus is excellent for complex work. But using it systematically, even for simple actions, can quickly increase consumption without a proportional benefit.

The real question is not “which model is best?” It is: “how much capability does this task actually require?”

#The single-model trap

In Claude Code, both the model and the effort level directly affect consumption. Simple tasks often work well with a less expensive model and lower effort, while a cross-cutting refactor, migration, or difficult debugging session may justify a more powerful model.

Yet most developers do not adjust these settings as the session progresses. They pick a model, then keep issuing requests without asking whether every task justifies the same level of capability.

The result is often the same: a premium model is used for tasks that could be handled efficiently with a lighter configuration.

#What modelmile changes

modelmile addresses this before execution. When a message is submitted, it analyzes the nature of the request, the continuity of the current task, and the estimated complexity. It then applies an appropriate configuration before each request in the turn.

Concretely, a simple fix can be routed to a lighter configuration, while a sensitive refactor retains a more robust setup. The goal is not to sacrifice quality, but to avoid unnecessarily consuming expensive resources.

modelmile does not replace developer judgment. It makes routing visible, consistent, and controllable. You can keep a conservative configuration for high-stakes work while avoiding a premium model for a trivial action.

#An honest approach

modelmile does not promise automatic savings. Savings depend on the task, context, cache, and how the session evolves. What modelmile provides is visibility: know what is consuming, understand why, and consciously choose the level of capability needed.

If you use Claude Code every day, the question is no longer “which model is best?” but “am I using the right model for this task?” modelmile is designed to answer that question without changing the way you work.

The arithmetic

A message of 12,000 input tokens and 900 output tokens, without cache. Anthropic prices per million tokens. Cache writes are not counted.

Haiku 5.5   12,000 × 0.1 $ + 900 × 0.5 $   = $0.0017
Sonnet 5.5  12,000 × 2 $ + 900 × 10 $      = $0.0330
Opus 5.5    12,000 × 4 $ + 900 × 20 $      = $0.0660

Gap between the most and the least expensive message : $0.0644
(amounts per million tokens, divided by 10⁶ — an estimate, not an invoice)

An estimate, not an invoice.

Read next

CostsYour Claude Code bill isn’t going down. Here’s why.One model for everything: that is where the bill comes from. The same message costs exactly forty times as much on Opus as on Haiku, and nobody picks more power than they need.2 min readCacheSwitching Models in Claude Code Can Break Your CacheThe prompt cache is tied to the model. Switching models mid-session throws it away, and the next turn rereads the whole context at full price. In a long session, the savings from the cheaper model can vanish right there.2 min readCostsIs Claude Code Consuming Too Much? 7 Settings Most Developers IgnoreThe model, the effort, task continuity, accumulated context, subagents, errors and visibility: seven levers decide consumption, and most developers touch none of them. Reviewing them once beats switching models at random.3 min readRoutingEffort Low, Medium, or High: The Claude Code Setting That Really Changes Your BillLow, medium or high effort does not change the price of a token: it changes how many tokens a task burns to get there. It is the most direct lever on the bill, and the one most often forgotten once the model is picked.2 min readCostsThe Real Cost of Claude Code Is Not the Price per TokenTwo sessions on the same model can cost very different amounts. The price per token says nothing about retries, cache, tool calls or subagents. The useful figure is not the token: it is the finished task.2 min readCacheWhy Your AI Agent Suddenly Becomes Slow and Expensive After a Model SwitchYou switch models, the answer comes back, then everything slows down. It is not a bug: the new model cannot reuse the old one’s cache, and the context goes back to full price. The longer the session, the more it shows.2 min readRoutingOpus, Sonnet, or Haiku: How to Choose Without Ruining Your Budget or Sacrificing QualityOpus, Sonnet and Haiku are not three grades of one product: they are three levels of capability, and the task decides. The question is not which one is best, but which one is enough — without sacrificing quality where it matters.2 min readCostsYou Use Claude Code Every Day, but You Do Not Know What It Really Costs YouYou see the answers, the code, the passing tests. You do not see the consumption. While it stays invisible, it cannot be steered: understanding which decisions produced the bill comes before switching models.2 min readCostsWhat We Do Not Measure: the Limits of “Token Savings”A savings percentage is computed against a bill that never happened. What the plugin decides is a fact, and it sits in a journal; what you would have paid otherwise is an opinion. Here is the line, and the three numbers this site will not publish.4 min read