model-router
OfficialCost-optimized bidirectional model routing.
Software Engineering#cost-optimization#workflow-automation#model-routing#model-switch#ai-tier-switching#complexity-classification
Authorcgk-platform
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Silently classify every user input by task complexity and route it to the most suitable AI model tier to optimize cost and response quality.
Core Features & Use Cases
- Silent complexity classification before every reply, switching models as needed to balance speed, cost, and accuracy.
- Bidirectional routing to Sonnet, Flash, or Opus based on the task, ensuring the right model is used for the right job.
- Use Case: A chat assistant downgrades routine queries to a cheaper model and escalates complex debugging to a higher-capacity model.
Quick Start
Ensure the correct model tier is selected before replying to a user, using the ROUTINE/MODERATE/COMPLEX rules to switch to Flash, Sonnet, or Opus.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: model-router Download link: https://github.com/cgk-platform/cgk/archive/main.zip#model-router Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.