# Interface PreferenceModelStats

Statistics about the preference router's learned model.

interface PreferenceModelStats {
totalDataPoints: number;
dataPointsByDomain: Record<string, number>;
strongModelPreferenceRate: number;
routingAccuracy?: number;
estimatedCostSavingsRate: number;
lastUpdatedAt: Date;
}

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

##### Index

### Properties

totalDataPoints
dataPointsByDomain
strongModelPreferenceRate
routingAccuracy?
estimatedCostSavingsRate
lastUpdatedAt

## Properties

### `Readonly` totalDataPoints

totalDataPoints: number

Total data points collected

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

### `Readonly` dataPointsByDomain

dataPointsByDomain: Record<string, number>

Data points by domain

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

### `Readonly` strongModelPreferenceRate

strongModelPreferenceRate: number

Average strong model preference rate

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

### `Optional` `Readonly` routingAccuracy

routingAccuracy?: number

Routing accuracy (if validation data available)

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

### `Readonly` estimatedCostSavingsRate

estimatedCostSavingsRate: number

Estimated cost savings rate

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

### `Readonly` lastUpdatedAt

lastUpdatedAt: Date

Last updated timestamp

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