# Variable CompositeRouterConfigSchema`Const`

CompositeRouterConfigSchema: ZodObject<
{
enableConfidenceCascade: ZodDefault<ZodBoolean>;
enableBudgetFilter: ZodDefault<ZodBoolean>;
enableCapabilityMatch: ZodDefault<ZodBoolean>;
enableZeroRouter: ZodDefault<ZodBoolean>;
enablePreferenceRouting: ZodDefault<ZodBoolean>;
enableTopsisRanking: ZodDefault<ZodBoolean>;
enableLinUCBSelection: ZodDefault<ZodBoolean>;
enableQualityConstraint: ZodDefault<ZodBoolean>;
enableResourceStrategy: ZodDefault<ZodBoolean>;
enableStrategyDistillation: ZodDefault<ZodBoolean>;
enableLatencyTracking: ZodDefault<ZodBoolean>;
enableRoutingMemory: ZodDefault<ZodBoolean>;
enableKnnRouting: ZodDefault<ZodBoolean>;
latencyScoreWeight: ZodDefault<ZodNumber>;
budgetConstraints: ZodOptional<
ZodObject<
{
maxTokens: ZodOptional<ZodNumber>;
maxCostUsd: ZodOptional<ZodNumber>;
maxLatencyMs: ZodOptional<ZodNumber>;
},
$strip,
>,
>;
linucbAlpha: ZodDefault<ZodNumber>;
billingMode: ZodDefault<ZodEnum<{ plan: "plan"; api: "api" }>>;
enableCapacityBalancing: ZodDefault<ZodBoolean>;
maxDecisionTimeMs: ZodDefault<ZodNumber>;
preferenceMinDataPoints: ZodDefault<ZodNumber>;
},
$strip,
> = ...

Configuration schema for CompositeRouter.

- Defined in packages/nexus-agents/src/cli-adapters/composite-router-types.ts:46