Interface: TokenBudgetConfig
Defined in: costs/types.ts:82
Token budget configuration
Properties
maxInputTokens?
optional maxInputTokens?: number;
Defined in: costs/types.ts:86
Maximum input tokens allowed
maxOutputTokens?
optional maxOutputTokens?: number;
Defined in: costs/types.ts:88
Maximum output tokens allowed
maxTokensPerSession?
optional maxTokensPerSession?: number;
Defined in: costs/types.ts:90
Maximum tokens per session
maxTotalTokens?
optional maxTotalTokens?: number;
Defined in: costs/types.ts:84
Maximum total tokens allowed
warningThreshold?
optional warningThreshold?: number;
Defined in: costs/types.ts:92
Warning threshold (0-1, triggers warning event when utilization reaches this)