Optimization
Routing, right-sizing, caching, and the Datacolor GSR reasoning layer
Datacolor GSR — reasoning layer
Provider endpoint (OpenAI-compatible)
Provider
Mode
Net-Token Accounting
Health
Contract: request → { task type · complexity · budget · tier hints } → response → { optimized result / decomposition · intermediary usage }. In Test mode GSR returns a structured decomposition; Prod is a config swap behind the same contract — no gateway change.
Route-to-GSR Decision
| Condition | Action | |
|---|---|---|
| Task type = agentic / multi-step | Route to GSR | |
| Complexity score ≥ 0.70 | Route to GSR | |
| Input tokens < 2,000 | Standard route | |
| Project GSR flag = off | Standard route |
Fallback: if GSR is unavailable, calls take the standard route (fail-open).
Model Right-Sizing
| Task Complexity | Model Tier |
|---|---|
| Simple | Claude Haiku 4.5 |
| Medium | Claude Sonnet 5 |
| Complex | Claude Opus 5 |
| Reasoning-heavy | Datacolor GSR |
Ties to each project's model allowlist in Configuration.
Per-Project GSR Eligibility
| Project | Business Function | Model Access | GSR |
|---|---|---|---|
| PRJ-2207 Basel IV Capital Model | Risk Management | OpusSonnet | |
| PRJ-2210 Liquidity Stress Testing | Risk Management | OpusSonnet | |
| PRJ-3054 AML Alerts Triage | Fraud & AML | OpusHaiku | |
| PRJ-1188 Trade Surveillance | Trading Technology | Sonnet | |
| PRJ-4471 Case Deflection | Customer Operations | Haiku |
Intelligent Routing & Fallback
| Strategy | Least cost across deployments |
| Provider Priority | 1. Anthropic 2. Azure OpenAI |
| Fallback | On throttle / outage → alternate deployment |
Provider Priority respects contracted spend commitments across vendors.
Caching
| Prompt Cache | TTL 24h | |
| Semantic Cache | threshold 0.92 | |
| Semantic Scope | user · project · policy |
Semantic entries are keyed by identity, permission and policy, and invalidate on change — a hit can't cross an authorization boundary.
Optimization Status
Eligible Calls (Today)
Routed to GSR
Cache Hits
GSR Mode
Configuration and operational status only — savings and benchmark results are reported separately.