# Interface PreferenceRoutingDecision

Routing decision based on preference prediction.

interface PreferenceRoutingDecision {
selectedTier: "strong" | "weak";
selectedCli: "claude" | "gemini" | "codex" | "opencode";
prediction: PreferencePrediction;
reason: string;
routingLatencyMs: number;
estimatedCostSavings: number;
}

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:75

##### Index

### Properties

selectedTier
selectedCli
prediction
reason
routingLatencyMs
estimatedCostSavings

## Properties

### `Readonly` selectedTier

selectedTier: "strong" | "weak"

Selected model tier

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:77

### `Readonly` selectedCli

selectedCli: "claude" | "gemini" | "codex" | "opencode"

Selected adapter

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:79

### `Readonly` prediction

prediction: PreferencePrediction

Preference prediction details

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:81

### `Readonly` reason

reason: string

Reason for selection

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:83

### `Readonly` routingLatencyMs

routingLatencyMs: number

Routing decision time in ms

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:85

### `Readonly` estimatedCostSavings

estimatedCostSavings: number

Cost savings compared to always using strong model

- Defined in packages/nexus-agents/src/cli-adapters/preference-router-types.ts:87