MultiModelRouter (mmrouter)
Policy-as-Code LLM Router, Hard Cost Budget Enforcer & OpenAI-Compatible Proxy
Overview
Open-source policy-as-code multi-model routing control plane with deterministic YAML/Zod validation, SQLite per-task and daily spend caps, automatic 429/5xx fallback, and NDJSON cost audit trails. Live VDS inference proxy remains Tailscale/loopback-gated (:8789) while public docs, schemas, and CLI specs live here.
Live Architecture & CLI Commands
Policy-as-code routing across local Ollama, Groq, Gemini, xAI, OpenAI, and Anthropic with hard SQLite budget caps and automatic 429/5xx fallback. The live VDS proxy runs on private Tailscale/loopback (:8789); public schema and docs are served here.
mmrouter init
mmrouter validate policy.yaml --strict-env
mmrouter serve --host 127.0.0.1 --port 8789 --policy policy.yaml
mmrouter status && mmrouter audit --since 1h && mmrouter cost-report