ToggleLogic Free 1.0.3
·
37 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
ToggleLogic Free 1.0.3
ToggleLogic Free-Tier is source-available model routing for OpenClaw: sticky owner/session model overrides, static configured routes, a deliberately-simple cheapest-default, and a structured audit stream. Patent pending.
This release adds an opt-in cost-visibility capability — routing behavior is unchanged from 1.0.2.
Added
- See what your calls cost, in dollars. A new opt-in, observe-only capability observes each model call (the
llm_outputhook) and reports per-model and per-day dollar cost, using dynamic public pricing fetched live from Models.dev (MIT) — cached locally, refreshed on a slow cadence, never fetched per call, and never from any ToggleLogic/Motherboard endpoint. Curated to the major providers' standard lineups (Anthropic, OpenAI, Google, xAI, Meta). - Bundled offline fallback. If the live pricing source is unreachable, pricing degrades to a bundled LiteLLM snapshot (MIT) — last-known-good, not a crash and not $0.00.
Changed
- Unpriced usage is loud, never a silent $0.00. Any model the curated free-tier set can't price is reported explicitly as unpriced (model + token count, shown separately) and is never rolled into the dollar total as $0.00. Priced and unpriced always appear together.
Safety
- Observe-only. Never enforces. Cost visibility reports; it never blocks, halts, or downgrades a call. Spend enforcement and all-model / guaranteed-current pricing remain the paid tier.
Compatibility
- The cost observer requires the gateway's
plugins.entries.togglelogic.hooks.allowConversationAccess(thellm_outputhook is a conversation hook). Supported OpenClaw unchanged from 1.0.2 (2026.6.5–2026.6.11; minimum gateway>=2026.6.5, plugin API>=2026.5.2).