Project

ast-ai-model-router

Model routing experiments for choosing AI providers based on workload, capability, and tradeoffs.

Focus

  • Model routing
  • AI tools
  • Backend

GitHub Description

AI model routing experiments with provider-aware decision paths.

  • Explores routing logic as an application architecture concern.
  • Useful for thinking through model fallback, cost, and provider fit.

Package Links

Preview / Demo

CLI preview

Run the CLI against a repository to summarize repo shape, estimate token cost, and explain model-routing choices for coding-agent workflows.

Working Preview

Explain a model-routing recommendation from repo signals.

The router reads project shape and task context, then explains why a cheaper or stronger model path fits the work.

command npx @ast-ai-model-router/cli route --path ./repo signals
  • 42 source files
  • 8 test files
  • 3 package/config files
recommendation Use fast model for docs/tests; escalate source-heavy edits to reasoning model.