Skip to main content
The shortest path to a live endpoint on Veri. Point a deployment at any Hugging Face repo and Veri provisions the GPU, pulls the weights server-side, and exposes an OpenAI-compatible chat endpoint. No upload, no training, no checkpoint to manage. This serves Qwen2.5-0.5B-Instruct on a single L4 (24 GB), sends one request, then stops the deployment so it stops billing. L4 is a true single-GPU node, so it is the cheapest shape and the most likely to have capacity. A 0.5B model fits with room to spare.
A running deployment spends real GPU credit until you stop it. There is no idle auto-stop, so the safe pattern is to stop as soon as you are done. Check your balance with veri billing balance first.
If create fails with “No <gpu> capacity available”, that GPU is momentarily sold out in the region. Retry shortly, or pass a different --gpu-type (run veri gpu list to see offered shapes). Bigger shapes like A100-80GB are scarcer because they come as full 8-GPU nodes, so prefer L4-24GB for small models.

Prerequisites

  • Install the SDK: pip install veri-sdk
  • Authenticate: veri login (or set VERI_API_KEY)

Step 1: bring up the deployment

Create the deployment from a Hugging Face repo. Each tab is the same call. It returns immediately with a deployment ID and status: queued; the GPU then provisions in the background.
Once it reports serving, the deployment stays up. It is now billing GPU credit until you stop it in step 3.

Step 2: experiment

Send as many requests as you like while it is up. Reuse the ID from step 1. Because the endpoint is OpenAI-shaped, the OpenAI SDK and plain curl work against it too.
Check usage counters any time with veri deployments metrics <id>.

Step 3: stop it when you are done

Nothing stops on its own. When you have finished experimenting, shut it down so billing stops:
There is no idle auto-stop. As long as the deployment shows serving, it is spending credit even while you are not sending requests. Stop it as soon as you are done.

What you just did

  • source="huggingface" tells Veri to pull the weights from the Hub at serve time. Nothing was uploaded from your machine, and there is no second download at request time.
  • The endpoint speaks the OpenAI Chat Completions API, so any OpenAI client works by pointing base_url at it. See Calling a deployment.
  • Billing ran only while the deployment was serving. Once stopped, the row stays for history but no longer charges.

Next steps

Deployments overview

The lifecycle, GPU sizing, and the full chat surface.

Serve a model you trained

Deploy a checkpoint from a completed training job.

OpenAI compatibility

Drop-in usage from the OpenAI SDK, LangChain, and LlamaIndex.

CLI deployment commands

veri deployments create / chat / stop.