Complexity labels
Every tier uses one of three fixed labels. Operators never set numeric thresholds — only these labels appear in the UI:
Each label can be used at most once per consumer. You need at least two tiers
(for example Simple + Hard, or Simple + Medium + Hard).
When to use it
How it works
- The client calls the consumer (typically with
"model": "auto"— see Model resolution). - TrustGate classifies the prompt into a complexity band: Simple, Medium, or Hard.
- It selects the tier configured for that label.
- The request is forwarded to that tier’s registry and model.
- If the pick fails and fallback is configured, TrustGate can retry another path.
A straightforward prompt lands on Simple; a demanding multi-step prompt lands on
Hard. Tiers that share a registry with different models are supported and common.
Configure in the console
- Open Consumers → select a consumer → Routing.
- Set Routing mode to Static.
- Open Strategy → Load balancing → Smart routing.
- Open Complexity tiers.
- Add at least two tiers (the UI blocks save with fewer).
- For each tier set:
- Complexity — Simple, Medium, or Hard (each label once).
- Registry — upstream provider connection.
- Model — model used when that band is selected.
- Save. Open Connect — snippets use
"model": "auto".
Rules the UI enforces
You can point several tiers at the same registry with different models — that is
supported and common (one OpenAI connection, mini vs full model per band).
Clients and auto
With smart routing enabled, applications should send:
Tips
- Put the cheapest capable model on Simple so most easy traffic stays inexpensive.
- Use Medium for the default production model when you need three bands.
- Reserve Hard for models that justify the cost on difficult prompts.
- Pair with LLM Budget if you need hard spend ceilings on top of routing.
- Watch Analytics (Cost / LLM) after rollout to confirm tier mix matches expectations.
- Use Fallback if an upstream outage should retry another registry instead of failing the request.
Related
- Load balancing — other algorithms (round-robin, weighted, least-connections, random).
- Model resolution —
auto, short names, and model filters on the consumer. - Consumers — Routing tab overview.