Skip to content
#

model-cascade

Here are 20 public repositories matching this topic...

Cost-efficient coding-agent runtime: prefix-aware prompt-cache routing, poisoning-safe semantic cache, budgeted context compression, request batching/dedup, cascading model routing with DP-optimal policies, hard budget scheduling, span-level cost attribution, sandboxed tools, synthetic workload factory. NumPy core, CPU-only torch extra.

  • Updated Oct 30, 2026
  • Python

⚖️ Kadı — a calibrated judge in front of your frontier LLM. Routine decisions answered locally with a conformal-prediction guarantee (≤ α disagreement with the oracle); everything else escalated and learned from. Zero-dependency Python.

  • Updated Oct 11, 2026
  • Python
taskdistill

Distil an expensive LLM API call on a narrow task into a small local model: capture traffic, curate, LoRA fine-tune with MLX on Apple Silicon, evaluate against the teacher, and serve an OpenAI-compatible cascade that escalates low-confidence requests.

  • Updated Nov 6, 2026
  • Python

Distill a frontier-model task (gpt-oss-120b, banking77 intents) into a 1.5B QLoRA student served on vLLM, with a confidence router that escalates hard queries to the teacher. Measured: 90% of teacher accuracy alone, 99.7% routed at 28% escalation, break-even ~313K req/day. Spend-capped, Cloud Run + Terraform ready.

  • Updated Nov 2, 2026
  • Python

LLM serving router that prices every request in dollars and milliseconds. Semantic cache plus a confidence-gated cheap-to-GPT-4 cascade: 96.9% lower cost than always calling the strong model, within 1.6 accuracy points, median latency 450ms to sub-ms on repeated traffic. FastAPI, SQLite cost ledger, reproducible benchmark.

  • Updated Jul 27, 2026
  • Python

AI Evals: evaluating and improving an AI customer support agent. Error analysis, a validated LLM judge, a CI quality gate that blocks regressions, drift monitoring with human review of every alert, targeted fixes compared on a score vs cost frontier, and cost reduction with a judge cascade..

  • Updated Oct 29, 2026
  • Python

Confidence-gated small-to-large LLM cascades with a certified error bound: answer, escalate or abstain using Learn-then-Test thresholds. OpenAI-compatible proxy over llama.cpp, plus a pre-registered evaluation on Tesla T4s that reports a negative cost result and where the guarantee breaks.

  • Updated Nov 5, 2026
  • Python

Add this topic to your repo

To associate your repository with the model-cascade topic, visit your repo's landing page and select "manage topics."

Learn more