Agentic coding is cheap per call, but expensive per hour
A single model call costs little, but four coding agents for an afternoon add up fast. Mirasim keeps a ledger on your machine that shows where the budget went.


Why agent spend stays invisible until it gets large
- Per model call
- Trivially cheap, so nobody checks
- Per hour with several agents
- Re-reading files, retrying, long context
Neither the per-call cost nor the hourly spend is hidden; the numbers are just kept in places you rarely check, recorded in units that do not answer the questions you actually ask. "Was this week expensive?" cannot be answered from a raw list of API calls. The model provider's dashboard does not close this gap either, because it only knows what your account spent, not which agent, repository, or session spent it:
Mirasim keeps one local ledger on your own machine
- An agent makes a model call
- Passes through the local proxy
Every call already passes here and is recorded on the spot
- Written to one local ledger
Usage and cost are decoded and computed only on your machine
- Pick a time window to view
Choose today, 7, 30, or 90 days to see the key numbers
- Headline summary numbersTracks calls, tokens, cache hit rate, and estimated cost
- Multi-dimensional breakdownBreaks spend down by agent, model, account, workspace, session
- Split by call routeSplits calls between Mirasim's platform quota and your account
What having a local ledger changes in practice
What you get from the ledger is clear cost attribution. Once spend is broken down by model and by session, the expensive habits become visible and specific:
- An agent gets stuck in a long-context loop and re-reads the same directory tree on every turn.
- A model's reasoning level is left on high for a task that never needed it.
- The cache hit rate drops because a prompt now changes on every model call.
The ledger also lets you test a model choice with data instead of guesswork. Each session carries its own model and reasoning level, so switching to a cheaper model takes a single change, and after a week you can check the ledger to see whether the cheaper option actually cost you anything in results.
Article · Claude Code usage limits: what the messages mean, and how to keep working → What Claude Code's usage limit messages mean, and how to keep working.
Keep reading

Running coding agents unmodified by changing one URL
Most tools that put a coding agent in their UI end up reimplementing it. Mirasim launches the real CLI and points its model URL to a local proxy.

Let simulated users test what the agent built: get evidence, not a model's verdict
An agent that reviews its own work only grades the code diff. Knowing if a person can finish the task takes somebody actually using what it built.

Use DeepSeek in Claude Code and Codex: the official setup, and a per-session switch
How DeepSeek's own guides connect Claude Code and Codex to DeepSeek models, and how Mirasim lets you pick DeepSeek per session without editing config.