What you will do
- Create a new service with a serverless mode
- Create a new service revision
- Send an HTTP request to service
- Getting queued result
Create a new service with a serverless mode

- Name: Set your service name.
- Description: You can add any description for your services.
- Cluster: The cluster in which your service is physically located. Select
(oci) vessl-oci-sanjose.

Create a new service revision
You can set your container settings on this page.
- Resources: Select GPU resource, Select
(GPU) gpu-a10-small. This means that we will be using one NVIDIA A10 GPU and a 24GB RAM instance. - Container image: We will use a pre-created vLLM docker image. Click on the “Custom” button and type
vllm/vllm-openai:v0.10.0. - Commands: This is a bash command you can run in the container. Use the following command:
- Port: This is an open HTTP port for the container. Set the port to
HTTP,8000and name itvllm. - Advanced Options:
- Variable: You can set environment variables and secret values which can be used for the container. Click “Add variables or secrets”, and add the following name/value.
- Name:
MODEL_ID - Value:
microsoft/Phi-4-mini-reasoning
- Name:
- Variable: You can set environment variables and secret values which can be used for the container. Click “Add variables or secrets”, and add the following name/value.

Send an HTTP request to service
You can find your Service overview in the “Overview” Tab.

Make an asynchronous request
Sometimes you may want to have requests processed asynchronously, for example:- to process a large amount of data in a batch, where it is infeasible or inefficient to make requests one-by-one;
- to ensure all requests are processed eventually, and not be interrupted due to network timeouts;
- where the caller has the capability to periodically poll for results, and immediate HTTP response is not a requirement.

