Skip to main content
vLLM is a fast and easy-to-use library for LLM inference and serving, designed for high-throughput and memory-efficient LLM serving.

Prerequisites

Install vLLM and start serving a model:
install vLLM
start vLLM server
This spins up the vLLM server with an OpenAI-compatible API.
The default vLLM server URL is http://localhost:8000/

Example

Basic Agent

Advanced Usage

With Tools

vLLM models work seamlessly with Agno tools:
with_tools.py
View more examples here.
For the full list of supported models, see the vLLM documentation.

Params

VLLM is a subclass of the Model class and has access to the same params.