Autoscaling schedules
Autoscaling schedules are now generally available. A schedule changes an environment's autoscaling settings on a defined window, so you can pre-warm capacity before traffic arrives.
Choose a recurring daily or hourly window for predictable traffic, or a one-time window between two absolute date-times for planned events like launches, load tests, and migrations. While a window is active, the environment runs the schedule's settings; outside every window, it runs the environment's default configuration.
Manage schedules from the Baseten dashboard, or through the Management API:
1curl -X PATCH
2"https://api.baseten.co/v1/models/{model_id}/environments/{env_name}" \
3 -H "Authorization: Api-Key $BASETEN_API_KEY" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "autoscaling_schedule_settings": {
7 "timezone": "America/Los_Angeles",
8 "schedules": [
9 {
10 "cadence": "ONE_TIME",
11 "name": "Launch day scale-up",
12 "enabled": true,
13 "start_at": "2026-09-01T16:00:00Z",
14 "end_at": "2026-09-01T20:00:00Z",
15 "autoscaling_settings": {
16 "min_replica": 4, "max_replica": 16,
17 }
18 }
19 ]
20 }
21 }'For more information, see our docs.