Concepts
Each deployment is identified by adeployment_id and is made up of:
- A model, referenced by its Hugging Face model ID (e.g.
meta-llama/Llama-3.1-8B-Instruct). For gated models you supply an HF token at create time. - A hardware profile, the GPU type each replica runs on
- Replicas, one or more identical copies of the model serving requests. The replica count autoscales between
min_replicasandmax_replicas. - A scaling target,
target_rps(requests per second per replica) andtarget_latency_p95_msdefine when to scale up or down. A stabilisation window prevents flapping.
Scale to zero
Deployments that receive no requests for 1 hour are automatically scaled down to zero instances and marked as paused. This stops billing for idle replicas. When a paused deployment receives a new request, it is automatically resumed, scaled back to itsmin_replicas, and the autoscaler takes over from there, scaling up or down based on traffic volume. The first request after a pause will have higher latency while the replicas start up.
Scale to zero is enabled for all deployments. There is nothing to configure, it works alongside the existing autoscaler settings.
When to use what
Deploying
- CLI
- REST API
Calling your deployment
Deployments speak the OpenAI Chat Completions format, so any OpenAI-compatible client works. Set themodel field to your deployment_id:
id, choices, usage, model, created.
Using the OpenAI SDK
Because the endpoint is OpenAI-compatible, you can drop in the officialopenai client by overriding base_url and api_key. Set the model field to your deployment_id:
Batch and streaming
For asynchronous batch processing on large input files, the platform implements the OpenAI Batch API:Active models
Inspect running deployments and replica health.

