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:
| Factor | Weight |
|---|---|
| Multi-step indicators | 20% |
| Code presence | 20% |
| Token count | 15% |
| File scope | 15% |
| Context window | 15% |
| Domain complexity | 15% |
Tiers
| Tier | When | Example models |
|---|---|---|
| Economical | score ≤ 3 | small/fast models |
| Balanced | 3 – 6 | mid-tier models |
| Powerful | > 6 | frontier models |
"rename this variable" → economical
"refactor this 800-line module" → powerfulForce 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.