VCodeX
Routing

Auto-mode

Score each prompt's complexity and route to the right model tier.

Send a request to vcodex/auto and the gateway scores the prompt's complexity (0–10), then routes to one of three tiers.

Complexity score

The score is a weighted blend of six factors:

FactorWeight
Multi-step indicators20%
Code presence20%
Token count15%
File scope15%
Context window15%
Domain complexity15%

Tiers

TierWhenExample models
Economicalscore ≤ 3small/fast models
Balanced3 – 6mid-tier models
Powerful> 6frontier models
"rename this variable"            → economical
"refactor this 800-line module"   → powerful

Force a tier

Use vcodex/auto-economical, vcodex/auto-balanced or vcodex/auto-powerful to pin the tier for a request while still letting the gateway pick the concrete model.

On this page