cortiq-router
PLUGINAllaiGate model routing for Ulpi — inexpensive models for simple tasks, stronger models for complex work.
by infosave2007 · v0.5.2
What it does
AllaiGate model routing for Ulpi — inexpensive models for simple tasks, stronger models for complex work. Classifies every call of a turn (POST /v1/route), picks a model from your globalTiers/taskRules and rewrites the outgoing request via llm_request middleware; tier entries with their own endpoint (Ollama, LM Studio, vLLM, llama.cpp, cortiq, cloud) run through llm_execution with fail-open.
Config: ~/.config/cortiq-ulpi-router/config.json, key: CORTIQ_ROUTER_KEY. Built-in statistics: /cortiq-router stats.
How to set it up
Disclosure — sends the text of every model call (the user's message, and on each tool-loop step the tool outputs, up to 12,000 characters by default) to the AllaiGate classifier (router.allaigate.com by default) with your CORTIQ_ROUTER_KEY; set to send only the first message of each turn; tier entries with their own endpoint send the whole conversation to that endpoint; its config file (~/.config/cortiq-ulpi-router/config.json) is shared by all profiles.
toolSteps: "low"
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve