Router Packet

Configure UCP routing rules and model selection

Online•v1.0•2 models
Current Router Packet
UCP version 1.0 • 2 models configured
{
"ucp_version": "1.0",
"command_type": "ai_router",
"schema": {
"inputs": [
"prompt"
]
,
"outputs": [
"final_answer",
"chosen_model"
]
}
,
"models": [
{
"id": "fast_model",
"description": "Lightweight model optimized for speed and simple queries",
"maxTokens": 512,
"costScore": 1,
"qualityScore": 7
}
,
{
"id": "smart_model",
"description": "Advanced model for complex reasoning and detailed responses",
"maxTokens": 4096,
"costScore": 5,
"qualityScore": 9
}
]
,
"selection_policy": {
"rules": [
{
"condition": {
"prompt_length_lt": 100
}
,
"choose_model": "fast_model"
}
,
{
"condition": {
"prompt_length_gte": 100
}
,
"choose_model": "smart_model"
}
]
,
"fallback_model": "smart_model"
}
,
"signature": "dev-signature"
}
Live Routing Breakdown
Current rules derived from the UCP Packet
1
Length < 100 chars
fast_model
2
Length ≥ 100 chars
smart_model
Fallback (no rules match)
smart_model

Available Models

fast_modelCost: 1 | Quality: 7
smart_modelCost: 5 | Quality: 9