Skill / SKILL.md

Model Routing Selector

AnthonyAlcaraz/agentic-graph-rag-skills

Match model capability to task complexity across a horizontal workflow graph. Given a node, pick the cheapest model that meets its quality bar, using one of three routing strategies: static routing by node type, threshold-based cascading (FrugalGPT), or learned routing (RouteLLM / MixLLM). Re-derives the book's DevOps DEVOPS_MODEL_CONFIG from first principles and reports the blended cost reduction (~80%). Use when every node of an agentic pipeline runs on the same frontier model and the invoice is unsustainable. NOT for single-model systems, NOT for choosing WHICH graph model to use (that is graph-model-selector), NOT for measuring a policy after the fact (that is cost-performance-scorer).
2 views 30 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Match model capability to task complexity across a horizontal workflow graph. Given a node, pick the cheapest model that meets its quality bar, using one of three routing strategies: static routing by node type, threshold-based cascading (FrugalGPT), or learned routing (RouteLLM / MixLLM). Re-derives the book's DevOps DEVOPS_MODEL_CONFIG from first principles and reports the blended cost reduction (~80%). Use when every node of an agentic pipeline runs on the same frontier model and the invoice is unsustainable. NOT for single-model systems, NOT for choosing WHICH graph model to use (that is graph-model-selector), NOT for measuring a policy after the fact (that is cost-performance-scorer).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills' skill-source

Use the complete skill-source/skills/optimization/model-routing-selector directory with your client’s skill installer.

  • skills/optimization/model-routing-selector

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/optimization/model-routing-selector

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
71b4dfb2ea39230cd651fe014c4c2b18a47fae0c468de6b14c6856cfaa721e3d
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills