Models, accounts and quota
Swap the model and reasoning level per session, bring your own keys or run local, juggle several accounts, and fall back when quota runs dry.
Model and reasoning level are per session#
The composer carries three pickers — agent, model, reasoning level — and they apply to that session, not to the app. So the design pass can run on a strong reasoning model in one pane while the mechanical follow-through runs on something faster and cheaper in the next.
The model list is grouped: Native for the models your agent's own subscription serves, My Models for profiles you configured yourself. Reasoning level is offered where the model actually has one; where it does not, the picker says so rather than showing a control that does nothing.
ModelPer session. Native subscription models and your own profiles appear together, grouped — and a long-context variant is marked [1m]. — this control is not on the captured screen.
The buttons in this panel work — click them to look around.
Which agent to run#
Agent, model and tool are configured independently. Adding a provider does not require a new workbench, and adding a tool does not couple it to one agent.
- Mirasim's built-in agent
- Ships with the app, no separate install. Runs in-process and reaches models through whichever route you configured, including the relay.
- Claude Code
- Anthropic's coding CLI, reliable in long, tool-intensive sessions. Its own sign-in and its own terminal UI are preserved exactly.
- Codex
- OpenAI's terminal coding agent, strong at planning and multi-step refactors. Also runs with its own auth and UI intact.
- Pi GUI
- Not a coding agent — this one works a browser. It reads the page the way a screen reader does, from the structure the browser exposes for assistive software, rather than guessing from screenshots. Its models run through the relay, so it needs no key of your own. A coding agent can hand it a browser job and get the answer back; the chapter on skills, MCP and tools covers how.
If an agent is not installed yet, Agent Config installs it for you. Settings also shows each agent CLI's installed version against the latest available, so an agent that has drifted behind is visible rather than mysterious.
Bring your own keys#
Model Config is a three-layer model: providers (an endpoint plus a credential), profiles (a specific model on a provider, with its reasoning level and token ceiling), and bindings (which profile an agent routes through). Anthropic, OpenAI, Google and any OpenAI-compatible endpoint — OpenRouter included — are first-class.
SettingsModel Config lives in Settings, beside Agent Config, Extensions and the traffic monitor. — this control is not on the captured screen.
The buttons in this panel work — click them to look around.
# 1 · a provider: endpoint + credential
mirasim ui-cli --port 4970 provider save \
--kind openai-compatible --name MyRouter \
--base-url https://example.com/v1 --api-key sk-…
# 2 · a profile: one model on that provider
mirasim ui-cli --port 4970 profile save --provider PROVIDER_ID --model some-model
# 3 · a binding: route an agent through it, or back to its own subscription
mirasim ui-cli --port 4970 model bind --agent codex --profile PROFILE_ID
mirasim ui-cli --port 4970 model bind --agent codex --native
# prove it works before you rely on it
mirasim ui-cli --port 4970 model test --provider PROVIDER_ID --model some-modelThe 1M-token window#
Some Anthropic models can serve a one-million-token context window. It is never the default — it has to be asked for by choosing the model's long-context variant, marked with a `[1m]` suffix, and Mirasim requests the window through the provider's beta rather than by changing the model itself. Models without a 1M window simply do not offer the variant.
Local models#
For work that must not leave the machine, Mirasim can run against local inference: Ollama, plus `mlx-lm` on macOS. Other OpenAI-compatible local servers can be added as ordinary custom providers. Mirasim can probe what is installed, start a backend, pull a model with streaming progress, and delete one when you are done with it.
mirasim ui-cli --port 4970 local probe # what's installed
mirasim ui-cli --port 4970 local start --backend ollama # bring it up
mirasim ui-cli --port 4970 local pull --backend ollama --model qwen3
mirasim ui-cli --port 4970 local pulls # in-flight pullsSeveral accounts, and live quota#
You can store more than one account per agent and switch which is active — useful when personal and work subscriptions have different limits, or when a plan resets at an awkward time. The active account for an agent applies agent-wide; sessions do not each hold their own.
Each stored account shows its live quota: the plan, remaining credits, how much of the current windows you have used, and when the limit resets. States are named plainly — healthy, low, exhausted — and you can force a refresh. When the provider's quota API is itself rate-limited, Mirasim says which windows it could still read instead of guessing at the rest.
Account and quotaWhich agent, which account, and how much of the window is left. Click to pin it open, hover to preview. — this control is not on the captured screen.
The buttons in this panel work — click them to look around.
mirasim ui-cli --port 4970 accounts --fresh # accounts + quota each
mirasim ui-cli --port 4970 usage # per-agent quota snapshots
mirasim ui-cli --port 4970 account use --agent claude --id work-accountWhen quota runs out mid-task#
Hitting a limit halfway through a long task is the failure mode that wastes the most time. Sign in to Mirasim's relay and it can pick up the work when your native subscription runs dry — configured by a usage threshold, by the 5-hour or 7-day window, reactively on a refusal, or always on. When a turn goes that way, the transcript labels it: this turn is routing through the quota fallback.
Because the fallback is visible per turn, a session that quietly changed route is not a thing that can happen to you. The terminal surfaces show the same state — the CLI publishes the live route into the agent's own status line rather than drawing over the agent's UI.
mirasim ui-cli --port 4970 login # relay sign-in
mirasim ui-cli --port 4970 relay # sign-in + fallback state
mirasim ui-cli --port 4970 config set relay.enabled=true relay.threshold=0.8Something wrong or missing on this page? Tell us