Deploy a model endpoint
AI Studio deploys a model as an endpoint on your own virtual machine. You select the model and the GPUs it runs on, and within a few minutes the endpoint serves requests at an OpenAI-compatible address. Several deployments can run in parallel on one virtual machine, each on its own GPUs.
Portal sections
Section titled “Portal sections”Under AI Studio in the portal:
- Models is where you deploy. It has four tabs: Built-in (the catalogue), Hugging Face (browse and import), Imported (models imported into your organisation) and Fine-tuned (your trained models).
- Inference shows the endpoint address for the selected virtual machine, a quick-start snippet, and every deployment with its status and a Stop button.
- API keys is where you create the keys your applications use to call the endpoint.
- Playground provides a chat interface to a ready deployment, with no code required. Playground messages pass through the portal on their way to your virtual machine; requests from your own applications go to your virtual machine directly.
Deploy a model
Section titled “Deploy a model”- Open Models and select the virtual machine you want to deploy on.
- On the card of a catalogue model or an imported model, select Deploy. A setup panel opens. For one of your trained models, the same settings are on its card.
- Select the GPUs the deployment should use. At least one GPU is required. GPUs held by another deployment or job are shown as in use and cannot be selected.
- For a catalogue or imported model you can set an inference model
name. This is
the value your applications put in the
modelfield of each request. Leave it empty to use the model’s own name. Names use letters, numbers,-and_. Theft-prefix is reserved for trained models, which always keep their fixed name. - Select Deploy model, or Deploy trained model for a trained model.
Deployment is a single click. AI Studio then downloads and prepares the model, starts serving it and runs a health check, with no further input. Its stage is shown on the card and on the Inference page. Once the status is ready, requests with that model name are answered by it.
GPU selection
Section titled “GPU selection”A deployment runs on exactly the GPUs you select. This has two consequences:
- Not every model fits every GPU count. The model’s weights plus its working memory must fit in the selected GPUs’ memory, and some models can only be split across certain counts. The portal indicates when a combination is not supported. If a deployment cannot start on the GPUs you selected, it fails its health check and is cleaned up. Nothing is left running.
- A GPU is assigned to one deployment or job at a time. While a deployment holds a GPU, no other deployment, fine-tuning job or batch job can use it. Jobs can run on the unused GPUs alongside your deployments.
At least one GPU must be selected. Deploy model is unavailable until then.
Multiple deployments on one virtual machine
Section titled “Multiple deployments on one virtual machine”You can run more than one deployment on the same virtual machine as long as their GPUs do not overlap and their inference model names differ. The same catalogue model can be deployed twice under two names, for example to compare settings or to separate two of your applications.
Each request is routed by its model field to the deployment with that
name. A request naming a model that is not deployed receives a 404.
Calling the endpoint
Section titled “Calling the endpoint”The Inference page shows the endpoint address for your virtual machine and a quick-start example in curl and Python. The endpoint follows the OpenAI API shape:
/v1/chat/completions/v1/completions/v1/embeddings
Streaming responses are supported. Authenticate with an API key from
AI Studio → API keys as a bearer token, and set model to the inference
model name of a ready deployment. Keys, limits and error codes are on
Inference endpoint API.
curl https://<endpoint>/v1/chat/completions \ -H "Authorization: Bearer <your-key>" \ -H "Content-Type: application/json" \ -d '{"model":"<inference model name>","messages":[{"role":"user","content":"Hello"}]}'Stop a deployment
Section titled “Stop a deployment”Stop a deployment from its card on Models or from the Inference page. Stopping removes it from the endpoint and frees its GPUs. Requests that still name it fail until a deployment with that name is ready again.
You can stop a deployment at any point, including while it is still starting. If the virtual machine cannot confirm the stop (for example because it was restarting), the deployment is shown as needs reconciliation and keeps its GPUs until you stop it again.
Trained models
Section titled “Trained models”A fine-tuned model appears under the Fine-tuned tab of the Models
page
once its output has been confirmed. It keeps its fixed ft- name and can be
deployed only on the virtual machine it was trained on. Deleting a trained
model’s output removes it from the list and prevents new deployments; a
deployment that is already serving keeps running until you stop it.
Limits
Section titled “Limits”- AI Studio runs up to 16 deployments per virtual machine at once. This is a limit of AI Studio only: Chapek places no limit on inference servers that you start yourself on the virtual machine.
- Each deployment uses one or more of the virtual machine’s GPUs, with no overlap between deployments or running jobs.
- One model cannot be split across several virtual machines or across more than one server.
