- Deploy your first model to create an endpoint and send a request.
- Call your model to connect an application to an existing deployment.
- Manage deployments to release an update, inspect logs, scale replicas, or stop compute spend.
Deployments
A deployment runs one version of your model on a selected instance type. Eachbaseten model push creates a deployment. Multiple deployments of the same model can run at once, allowing you to test a new version without changing production traffic. Deactivate a deployment to stop serving and billing, or delete it when you no longer need it.
For Python Truss models, use the development loop to create a development deployment, a mutable instance that live-reloads as you edit your model code. Promoting a development deployment to an environment creates a published deployment. For custom Docker servers and engine configurations, publish and validate an update before promotion.
Model lab deployments
For deployment restrictions on models distributed by model labs, see Customer availability and artifact access.Environments
Environments provide stable endpoints that persist as you release new deployments. A typical setup uses one environment for testing and another for production traffic. Each environment has its own endpoint, autoscaling settings, and metrics. Promoting a deployment moves the environmentâs traffic to that version without changing the URL called by your application.
Resources
Every deployment runs on an instance type that defines its GPU, CPU, and memory. Set the instance type inconfig.yaml, or change it for a published deployment in the Baseten dashboard. Select an instance based on the modelâs memory requirements, latency target, and expected traffic.
Autoscaling
Autoscaling adjusts the number of replicas as request load changes. Configure the minimum and maximum replicas, concurrency target, and scale-down delay. A deployment can scale to zero when idle, so a synchronous request can wait for a replica to start. See Startup times for ways to reduce startup time.
For the mechanics of how the autoscaler tracks concurrent requests and adjusts replicas, see How Baseten works. For engine-specific autoscaling settings (BEI and Engine-Builder-LLM), see Autoscaling engines.