Fallback — Model Switching Heuristics

From its catalog listing
Multi-provider heuristic model fallback and automatic failover routing across all configured providers (parameter count, context window, release recency, flash tier, tool support, provider preference, and reasoning effort) — works seamlessly with or without an LLM call.
Good to know before installing
session-start and API-error hooks rewrite fallback_providers and plugin settings in ~/.hermes/config.yaml (primary model replacement is opt-in via auto_switch_primary_when_unavailable); queries public model catalog endpoints (models.dev/api.json, openrouter.ai/api/v1/models, and inference-api.nousresearch.com/v1/portal/models) to rank candidate models and check free-tier availability; optional interactive CLI setup saves user-entered provider API keys via hermes_cli.config.save_env_value when explicitly requested.
From its catalog listing.
How to install
- Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.
hermes plugins install model-fallback-heuristic - Said no? Turn it on later:
hermes plugins enable model-fallback-heuristic - Restart Hermes so it loads the plugin.
Some plugins also need a sign-in or settings: see Full setup & settings. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide (opens in a new tab).
- Category
- Cost, speed & monitoring · AI models & providers
- Maintained by
- tomkubik (Community)
- Needs
- No API keys declared
- Adds tools
fallback_heuristic_resolvefallback_heuristic_switchfallback_heuristic_configurefallback_heuristic_providers- Adds hooks
on_session_startpre_llm_callapi_request_error- Needs Hermes
- 0.19 or newer
- Version
- 0.2.0
- In the catalog
- 2026-11-05
Using the Hermes desktop app? See where plugins live

Full setup & settings ↗Source code ↗
More in cost, speed & monitoring
All cost, speed & monitoring plugins
New Hermes Agent updates every day on X. Follow @HermesWatcher