RecommendVmSkuTokenBudget interface

The per-request token budget used to size the inference key-value cache.

Properties

maxOutputTokens

The maximum number of generated output tokens per inference request. Must be supplied together with promptTokens, and the two must total from 1 through 2147483647 without exceeding the model's maximum context length.

promptTokens

The number of prompt, or input, tokens per inference request. Must be supplied together with maxOutputTokens, and the two must total from 1 through 2147483647 without exceeding the model's maximum context length.

Property Details

maxOutputTokens

The maximum number of generated output tokens per inference request. Must be supplied together with promptTokens, and the two must total from 1 through 2147483647 without exceeding the model's maximum context length.

maxOutputTokens?: number

Property Value

number

promptTokens

The number of prompt, or input, tokens per inference request. Must be supplied together with maxOutputTokens, and the two must total from 1 through 2147483647 without exceeding the model's maximum context length.

promptTokens?: number

Property Value

number