Product

Model routing

The auto model: per-level ladders, the difficulty classifier, fallbacks, the coding ladder and the agent-mode floor, set per organisation, team or person.

Open Memtro

Ask for model auto and Memtro picks a rung on a ladder of models, cheapest to strongest, based on how hard the latest message is.

How a decision is made

  1. Heuristics score the request from its shape: greetings and acknowledgements are trivial; short plain questions are simple; code, multiple questions, long conversations, images and "design the architecture" style words push the level up. Clear cases are decided instantly.
  2. Everything else gets one short classification call on a cheap model (the cheapest rung, or an API-backed cheap model when the cheapest rung runs through the Claude Code CLI). The decision is cached for fifteen minutes.
  3. The level (1 to 5) maps onto the ladder; clamps from your settings apply.
  4. Agent mode never routes below level 3, so a capable model drives multi-step investigations even for a one-line request.

Responses carry the decision in memtro.routing (complexity, model, method, reason), and the Chat page shows it under each reply. The request log records the model that actually produced the answer, which is how a failing key stops looking like a failing model.

"memtro": { "routing": {
  "complexity": 2, "kind": "general", "method": "heuristic",
  "reason": "heuristics: one entity, one fact wanted",
  "model": "anthropic/claude-haiku-4-5", "fallbacks": ["anthropic/claude-sonnet-5"] } }

Default ladders

ProviderLadder (cheapest → strongest)
AnthropicHaiku 4.5 → Sonnet 5 → Opus 5 → Fable 5.1
OpenAIgpt-5.4-nano → gpt-5.4-mini → gpt-5.4 → gpt-5.5
GoogleGemini 3.5 flash-lite → 3.8 flash → 3.1 pro
Claude Codehaiku → sonnet → opus → fable (aliases the CLI resolves)

auto/<provider> stays within one provider. Plain auto uses the configured ladder, or the default ladder of the first provider you have a key for.

Settings

Organisation → Routing is one form, saving each change as you make it. It walks through three decisions. A team sets its own on Team → Routing, and a person their own on Profile → Routing; each inherits whatever the one above it has chosen.

1. Which model answers

Either the cheapest model that can handle each message, which is the ladder above, or one model for everything. That one model has a primary, a secondary and a tertiary of its own, tried in order with no difficulty routing at all — which is why the per-level ladder disappears from the page when you choose it. Your ladder is kept rather than discarded, and comes back if you switch again.

2. Which model answers each level

Every level from 1 (trivial) to 5 (expert) gets a primary, a secondary and a tertiary, chosen from searchable dropdowns of the providers you hold keys for and their models. Each answers when the one before it has no key, or fails before a word has been streamed.

There are two tabs, General and Coding, so software work can go to a model that is good at it without paying for that model when somebody asks who owns an invoice.

3. How a plain request runs

A single reply, or the multi-step agent — and the agent's step budget, which has no upper limit: a long investigation is bounded by the request's own timeout, and a ceiling here would only cut off work somebody deliberately asked for.

Advanced

A disclosure below holds the settings most organisations never touch: the floor and ceiling levels, the classifier model, the delegate model for sub-tasks (both from the same dropdown), whether to stream progress, and whether to route memtro by difficulty even when a model is named.

General and Coding

The Coding tab is an overlay on the General one rather than a ladder of its own. A cell it leaves empty takes the general ladder's, so naming one coding model for level 4 is enough — its secondary and tertiary come from the general ladder until you choose otherwise. Leave the tab empty altogether and software tasks go up the general ladder, which is what happens until somebody fills it in.

Whether a request is a software task is judged once, when it arrives, and never again for the steps it goes on to take. A decision provider answers it in the same call it already makes for difficulty. Without one, the wording decides: code, a diff, a stack trace or a shell command settles it, and otherwise two separate signs are needed — so "when are we deploying?" stays a general question.

Teams, and your own overrides

Teams get the same form. An admin, or a member with the Control routing for their teams permission, opens the Teams tab, picks the team from the dropdown, and sets models per level and agent settings for that team. Anything left empty inherits — from the team it sits under, if it sits under one, and from the organisation only where that team has made no choice either.

A team under another is the common case for a reason: an engineering lead who sets a coding ladder means it for Platform and Mobile as well. The form names what each blank field will actually take, rather than leaving it to be discovered.

My overrides is the same form for your own requests, where levels left empty inherit your team's choices and then the organisation's.

The order is always:

  1. The organisation.
  2. The team's line, from the top of the tree down to the team itself. For somebody in several teams, the first by name with anything set anywhere in its line.
  3. You.

Each cell inherits on its own, so setting your own level 3 primary changes that one cell and nothing else — not the other four levels, and not that level's secondary and tertiary.

Only auto. Under the ladders is a switch, on for every organisation until an administrator turns it off: requests may ask only for auto, auto/<provider> or memtro. A request that names a model is answered as memtro instead, the log keeps what was asked, and /v1/models lists only what may be asked for, so a client that discovers models offers nothing else. It is there because cost control reaches routed requests only; turning it off opens a way around every allowance, and the page says so before it lets you.

Several keys for one provider

Routing decides which model answers; cost control decides how much each of those choices may spend in a month, on the same five levels and three choices. When a choice has spent its allowance the one behind it answers instead, which is the same fall-through as a key that cannot start — for a different reason.

A provider can hold more than one key — two Claude Code subscriptions, an API key and a subscription token, a second account for a team — and they are a list rather than a race. The owner decides first, as it always has: your own key, then your team's, then the organisation's. Within one owner, Providers says which key answers and which stand behind it, moved a place at a time, or sets the provider to spread the load so its requests are shared across them at random.

Routing uses the whole list before it moves on. A key that is rate-limited, revoked or out of credit is a problem with the key rather than with the model, so the others are tried first, and only then does the request drop to the level's secondary and tertiary — each of which brings its own keys in the same way. That applies to the subscription-backed engines too: a claude-code/* or codex/* model that cannot start now hands the whole request to the next token, and then down the ladder, where before it had no fallback at all.

Every reply still names the model it was asked for; the request log records the model that actually answered, which is how a failing key stops looking like a failing model.

A team's ladder, and a person's, lie over the organisation's cell by cell — with a sub-team's over its parent's, and the parent's over the organisation's: a level left empty takes whatever the layer above chose for that level, and so does a secondary or a tertiary left empty. Setting your own level 3 primary changes that one cell and nothing else.

Every routed response carries the level, the model, its fallbacks, which ladder answered, and the reason in its memtro.routing field, and Organisation → Usage lists recent requests with the model each one landed on.

Decision providers

A decision provider is a fast, typed classifier consulted before any model runs. Memtro supports Jev from TypeSafe and OpenAI's Decisions API: add a key under Dashboard → Providers, in the Decision providers section (shared with the organisation, or personal) and choose what it is used for:

  • Model choice: Jev rates how hard the latest message is on the same five-level scale the router uses. When it is confident, routing takes that rung directly and skips the LLM classifier call, which is the slowest part of choosing a model.
  • Search: Jev decides whether the question needs the organisation's memory at all, and whether keyword or semantic retrieval fits. General questions skip retrieval; questions naming exact ids or phrases skip the embedding call.

Both questions go in one request that answers in milliseconds. When Jev is unsure or unavailable, Memtro proceeds exactly as it would without it, so there is no new failure mode. Agent-mode requests always retrieve context regardless.

Also worth reading

  • Cost control — a token allowance against each of these choices.
  • Agent mode — the floor agent requests are held above.
  • Usage statistics — which model actually answered, by user, team and day.
  • API reference — asking for auto, auto/<provider> or a named model.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time