Skip to main content
A deployment runs on replicas: one model server each, on one or more GPUs. Monte adds and removes replicas between a minimum and a maximum. Each change of checkpoint makes a new version behind the same name and endpoint.

Scaling Modes

The modes combine: a schedule sets the minimum, and traffic adds replicas above it.
Monte adds replicas when the concurrent requests for each replica exceed --target-concurrency. It removes one when the remaining replicas would stay below the target for --scale-down-delay. An adapter deployment scales with its base, and scaling flags refuse with E_REFUSAL on an adapter. Monte replaces a failed replica, and replicas spread across the zones of the region.

Queueing and Cold Starts

  • Queue. When all replicas are busy, requests wait, up to --max-queue across all replicas of the deployment (default 256). A full queue returns 429 with a Retry-After header.
  • Timeout. A request that has not started its response in 600 seconds, queue time included, returns 504. A streamed response that runs past 600 seconds ends with an error event, then data: [DONE].
  • Zero replicas. The endpoint returns 503 with Retry-After: 30, and the request starts a replica. A replica starts in 3 to 10 minutes: the GPU node, the server image, and the weights. Set the client’s retry count to cover that time, or keep --min-replicas 1.
  • Billing. The GPU node is billed until the cluster removes it, a few minutes after its last replica stops.
  • Quota. With BYOC, the cloud account’s GPU quota caps --max-replicas.

GPU Types and Memory

--gpu takes l4, l40s, a100-80gb, h100, or h200. --gpus-per-replica takes 1, 2, 4, 8, or 16. A replica of 16 GPUs spans two nodes. A change of GPU type starts new replicas and then stops the old ones. Not every cloud offers every type and count. monte cloud show lists the GPU types of each node pool, and an unsupported type refuses with E_REFUSAL. --context <tokens> caps the context length (default: the model’s maximum), so a smaller KV cache fits. --quantization fp8 serves FP8 weights at about half the memory of BF16. A mixture-of-experts (MoE) model needs memory for its total parameters, not its active parameters. The KV cache needs more memory on top. A LoRA adapter for gpt-oss-120b serves on its MXFP4 base, on one H100. A replica runs on one node of up to 8 GPUs, or on two nodes with --gpus-per-replica 16. Every model on Models serves on one or two 8×H200 nodes.

Deploy a New Version

Each version points to one checkpoint. The deployment keeps old versions until it is deleted, so a rollback needs no new deploy.
1

Score the Held-Out Eval

Score the new checkpoint on the held-out eval once, before it takes traffic. The experiment counts each checkpoint scored there.
2

Start at 10%

Monte moves the share when the new version is ready. The split is per request, and each response carries a Monte-Version header. Without --traffic, --checkpoint moves all traffic.
3

Compare the Versions

The output prints requests, error rates, latency, and output tokens per second for each version. The Inference view in the Console shows the same metrics.
4

Move All Traffic

With no --checkpoint, --traffic sets the share of the newest version. At 100, the previous version stops its replicas and stays in the version list.

Roll Back

Rollback targets the previous version, or the version that --to names. It starts replicas for that version if it has none, and moves all traffic to it when it is ready. The current version serves until then.

Pause or Delete a Deployment

A paused deployment (--min-replicas 0 --max-replicas 0) keeps its versions, and requests return 503 with no Retry-After header.
Delete removes all versions. To stop traffic but keep the versions, pause the deployment.
After a delete, requests to the name return 404. The checkpoints and the runs stay. monte checkpoint delete refuses with E_IN_USE while a deployment version points to the checkpoint.