ToggleLogic (Free Tier) — model routing for OpenClaw
PATENT PENDING. Source-available under the ToggleLogic Free-Tier License (see LICENSE) — free, limited, revocable use; all rights reserved. Not open-source; not MIT/Apache. © 2026 Motherboard, Inc. · https://togglelogic.ai/
ToggleLogic routes each OpenClaw request to a model you control — bring your own provider credentials, declare intent, and let the plugin apply your choices. This free tier gives you:
- Owner overrides (sticky, learnable). Tell your assistant "use Opus for this" and a deployment-side switch writes a sticky override the plugin applies above everything else — until you switch back. ToggleLogic is the generic mechanism; your deployment owns the "remember it / prompt to switch back" workflow.
- Static / intent routes. Map tasks to models in
configuredRoutes. - A deliberately-simple cheapest-default. Name the cheap model you want as the default; the plugin defaults to it unless an override or route says otherwise.
- A structured audit stream of every routing decision (NIST 800-53 AU-2/AU-3/AU-12 schema bar).
It does not include — and never ships — the patented ToggleLogic Intelligence
engine (benchmark-driven automatic model selection) or the Toggle Registry. The
free cheapest-default is a dumb static preference: it never inspects your request,
never consults a model registry or benchmark, and embeds no model names or prices.
Automatic benchmark-driven selection is the separately-licensed Intelligence layer; if
installed, this plugin detects it and defers to it (see intelligence config). To
license it: https://togglelogic.ai/
Install (from ClawHub)
openclaw plugins install clawhub:togglelogic
Enable routing (opt-in) in ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"togglelogic": {
"enabled": true,
"hooks": { "allowConversationAccess": true },
"config": {
"mode": "cheap",
"cheapHeuristic": { "default": "anthropic/claude-haiku-4-5" },
"features": { "routing": { "enabled": true } }
}
}
}
}
}
Modes
| Mode | Behavior |
|---|---|
auto | Licensed Intelligence layer if present → else the cheap default if configured → else passthrough |
passthrough | Defer every selection to OpenClaw's default (log only) |
configured | Apply configuredRoutes (static task→model map) |
cheap | Apply the deployment-declared cheapest default (dumb, static) |
intelligence | Defer to the separately-licensed Intelligence layer (not included) |
Owner overrides apply above the mode in all cases.
Config reference
See openclaw.plugin.json configSchema for every field: mode, logging,
configuredRoutes, cheapHeuristic, intelligence, ownerOverride, features,
audit.
License
Use of this Software is governed by the ToggleLogic Free-Tier License (LICENSE). It is free to use but revocable, reserves all of Motherboard, Inc.'s rights including its pending patents, and prohibits redistribution and competing use. It is not an open-source license.