Skip to main content
This quickstart gets you running a Serverless endpoint on Runpod in minutes, using a ready-to-use template to deploy a language model and send a test request.

Requirements

Step 1: Set up your environment

Choose your preferred method for interacting with Runpod. If using the CLI or REST API, you’ll need to configure your API key.
Install and configure the Runpod CLI.macOS/Linux:
Windows:
Verify the installation:

Step 2: Deploy an endpoint

Deploy a vLLM worker with a small, fast language model.
First, create a Serverless template with the vLLM worker image:
Note the template ID from the output. Then create an endpoint using that template:
The output includes your endpoint ID:
Your endpoint will begin initializing. This takes 1-2 minutes while Runpod provisions resources and loads the model.

Step 3: Send a request

Once your endpoint shows Ready status, send a test request. If you haven’t already, export your API key in your terminal:
Run this command in your terminal, replacing YOUR_ENDPOINT_ID with your actual endpoint ID:
You should receive a response like this:
The first request may take 30-60 seconds as the worker loads the model into GPU memory. Subsequent requests will complete in just a few seconds until the worker scales down due to inactivity.

Step 4: Clean up

To avoid ongoing charges, delete your endpoint when you’re done testing.
List your endpoints to find the ID:
Delete the endpoint:
Optionally, delete the template you created:
You’ve successfully deployed and tested your first Serverless endpoint.

Next steps

Build a custom worker

Create your own handler function and Docker image.

Send requests

Learn about sync, async, and streaming requests.

Endpoint settings

Configure scaling, timeouts, and GPU selection.

Configure vLLM

Customize your vLLM deployment for different models.