Color is supporting information only; every outcome is also named and explained.
AllowProceed using the selected approved model.
RerouteUse a different tier because complexity, sensitivity, or budget requires it.
QueueWait because another agent currently owns the target work.
SkipDo not repeat work already being handled by another agent.
BlockStop before any provider call because a protection or access rule requires it.
Pruning policy
See when the existing algorithm runs, manage supported agent overrides, and compare its output safely.
Algorithm unchanged
Protection boundary:
sensitive-term and automatic PII checks run against the original request before pruning. Code bypasses pruning to preserve its structure. Text pruning targets only the existing noise patterns listed below; this page does not add, remove, or reorder any cleaning rule.
—Request default
—Agents enabled
—Agent overrides off
—Minimum useful tokens
CodeAutomatic bypass lane
Read onlyCleaning algorithm
Runtime behavior
These lanes describe existing routing behavior. They do not replace or modify the pruning algorithm.
Loading pruning policy…
Existing cleaning stages
Stages run only when pruning is applied.
Agent overrides
The request default is on. An agent-level off setting bypasses pruning without changing the algorithm for anyone else.
Agent
Department / Platform
Pruning
Loading agents…
Compare before and after
This preview calls the current pruning engine directly. It creates no AI call, spend, transaction, or audit event.
What CostPilot would send
Run a comparison to see the unchanged algorithm’s output.
Routing rules
Control how request length and complexity keywords map to CostPilot model tiers.
Token Routing Threshold
The threshold is one complexity signal. A keyword match is the other.
500tokens
150 — escalate more2000 — escalate less
No signal matchedTier 1 · Scout
Length or keyword matchedTier 2 · Analyst
Length and keyword matchedTier 3 · Advisor
Sensitive-term escalationTier 4 · Strategist
Budget Pressure Threshold
When a department's monthly AI budget reaches this level of use, CostPilot routes eligible low-complexity requests to the cheapest tier as a precaution — before the department is fully throttled. Genuinely complex requests are never downgraded for budget reasons alone.
80%
50% — earlier precaution100% — off (only hard throttle applies)
Complexity Keywords
Keywords use whole-term matching. For example, “NDA” does not match “Monday.” CostPilot provides starter recommendations, and administrators can remove any keyword.
Sensitive term library
Enable, disable, change, or delete the words and phrases used by your organization.
Text rules and automatic detectors are separate.
Disabling a term such as “SSN” stops that phrase from triggering this library. Actual values such as formatted Social Security numbers, credit-card numbers, and API keys can still be identified by CostPilot’s automatic PII and secret-pattern detectors.
Term
Category
Action
Scope
Status
Delete
Loading terms...
Test policy
Preview the expected policy outcome without sending an AI request or writing an audit event.
Try an example
Enter a sample request to preview its policy outcome.
API credentials
The key this workspace's integrations use to authenticate calls to /api/route.
Workspace key
Include this value as the X-CostPilot-Key header on every /api/route call. Integrations built before a key existed keep working unauthenticated for now; once enforcement is turned on, requests without a valid key will be rejected.