Skip to content
the repo dude.Alternatives
Menu
Saved Buy the Dude a coffee

THE DUDE’S BRIEF

pi-model-router

alexei-led/pi-model-router

Pi extension that routes coding turns across model and reasoning tiers.

Best for
Pi users tuning generation cost and quality with explicit routing controls.
Cost
MIT fork; generation and optional advisor fees are separate, and savings vary with task mix, output length and cache reuse. Source checked 2026-12-06

What it does

Routes Pi work across four model tiers, reasoning efforts and activity profiles, with optional classifier advice and changes between tool-loop requests.

Source checked 2026-12-06

What do you need to run it?

Install @alexeiled/pi-model-router through Pi, start a new session and configure available models; remove the upstream router package to avoid duplicate provider registration.

Source checked 2026-12-06

Supported platforms

Requires Pi 1.1+ within the 1.x series and Node.js 22.19+; optional classifier catalog examples need Pi 1.3+.

Source checked 2026-12-06

APIs and integrations

Integrates with Pi’s typed classifier API and registered generation providers; the /router interface exposes profiles, decisions and usage.

Source checked 2026-12-06

When to consider another option

Classifier advice sends bounded selected context only after exact per-profile approval. It uses one classifier without voting/failover, and upgrades can change default model choices and spending.

Source checked 2026-12-06

Based on project documentation, not a hands-on benchmark. How we research

Repository & setup guide

Project history

  1. · Requirements reviewed
  2. · License observed: MIT
  3. · Latest recorded code push
  4. · Repository created

Recorded observations, not a complete changelog. A license observation is not evidence of a license change. Official releases

Suggest a correction · Get a README badge

Copy the README badge

A listing badge, not a certification. Optional; no ranking benefit.

Repository facts

Code license
MIT
Primary language
TypeScript
GitHub stars
11 Observed 2026-12-06
Last code push
2026-11-19
License observed
2026-12-06

Model weights, datasets, dependencies, hosting and paid APIs can have separate terms or costs. Stars show attention, not quality, safety or earnings.

More in AI coding assistants

Related by category; these projects may serve different use cases.

opencode

anomalyco/opencode

curl -fsSL https://opencode.ai/v2/install bash

MIT · TypeScript · 231,217 stars

claw-code

ultraworkers/claw-code

start with the real crab-powered harnesses

MIT · Rust · 194,642 stars

gstack

garrytan/gstack

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

MIT · TypeScript · 142,579 stars

codex

openai/codex

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

Apache-2.0 · Rust · 137,408 stars