Skip to content

Releases: ymoslem/CRE-Router

Release list

CRE-Router 0.1.0

Choose a tag to compare

@ymoslem ymoslem released this 06 Jul 18:00

Initial public release of CRE-Router, the reference implementation of the paper Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving.

Highlights

  • Stage 1, clustering-based routing. k-means over query embeddings, Silhouette k-selection, cost-aware routing (Error + lambda * Cost), Pareto pruning, and budgeted lambda* selection.
  • Stage 2, quality-estimation cascade. A ModernBERT accept/escalate classifier with a multi-model escalation ladder derived from the routing arithmetic.
  • Live router service. A LiteLLM-backed cascade over vLLM backends, with routing-decision headers, /stats, and an optional decision log.
  • Full paper reproduction guide.

Install

pip install "cre-router[full]"

Links