Skip to content

vllm.entrypoints.serve.engine.protocol

Classes:

PromptTokenUsageInfo

Bases: OpenAIBaseModel

Attributes:

multimodal_tokens = None class-attribute instance-attribute

Prompt tokens contributed by each input modality, keyed by modality name (e.g. image, audio, video). A breakdown of the multimodal placeholder tokens already counted in prompt_tokens; None when the request has no multimodal input.