Skip to main content
Serverless AI lets you deploy and manage endpoints without handling infrastructure yourself. With endpoints, you can create an OpenAI-compatible model backend in a few minutes. This tutorial shows how to prepare your environment, create your first endpoint with an open-source large language model (LLM), and send a chat request. The endpoint is based on the vllm/vllm-openai:latest image. vLLM automatically downloads the model from Hugging Face when the endpoint starts. The container exposes an OpenAI-compatible /v1/chat/completions API. For a quick walkthrough of the web console workflow, watch the video below. If you prefer other interfaces or written instructions, follow the steps further down.

Visit Nebius Academy for video tutorials to help you get started with Nebius AI Cloud.

Costs

Nebius AI Cloud charges you for Compute virtual machines.

Prerequisites

  • Make sure that you are in a group that has at least the editor role within your tenant; for example, the default editors group.
  • In the Administration → Limits → Quotas section, check that you have quotas on the following resources in the region you use:
    • NVIDIA® L40S for regular VMs without reservations, under Compute, there should be at least one GPU available.
    • Number of virtual machines, under Compute, there should be at least one VM available.
    • Total number of allocations, under Virtual Private Cloud, there should be at least one allocation available.
    Increase quotas if needed.

Steps

Create an endpoint

  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. Click Create endpoint.
  3. On the page that opens, specify the following endpoint settings:
    • Image path: vllm/vllm-openai:v0.18.0-cu130.
    • Ports: 8000.
    • Entrypoint command:
    • Authentication: Token authentication. Copy and save the generated token.
    • Computing resources: With GPU.
    • Available platform: NVIDIA® L40S PCIe with Intel Ice Lake.
    • Preset: 1 GPU — 8 CPUs — 32 GiB RAM.
    • Network: Public static IP.
  4. Click Create.
The endpoint creation takes approximately five minutes.

Check the endpoint status

Wait until the endpoint status is Running. You can check the status on the endpoint page.

Test the endpoint

  1. Get the endpoint’s managed HTTPS URL:
    1. In the sidebar, go to  Serverless AI → Endpoints.
    2. Open the page of the required endpoint.
    3. Wait until the endpoint is running. Then, in the Network section, copy the public endpoint from the Public endpoints field. Depending on how the endpoint is exposed, this field can show either a managed https://... URL or IP:port.
  2. Test the endpoint by listing available models:
  3. Send a chat request to the model:

How to delete the created resources

The endpoint and its computing resources are chargeable. If you don’t need the endpoint, delete it, so Nebius AI Cloud doesn’t charge for it:
  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. Locate the endpoint and then click → Delete.
  3. In the window that opens, confirm the deletion.