diff --git a/src/dstack/_internal/core/backends/nebius/resources.py b/src/dstack/_internal/core/backends/nebius/resources.py index 4bf79cb14d..4b04cdb29c 100644 --- a/src/dstack/_internal/core/backends/nebius/resources.py +++ b/src/dstack/_internal/core/backends/nebius/resources.py @@ -33,6 +33,7 @@ DiskServiceClient, DiskSpec, ExistingDisk, + FollowsSpotPriceSpec, GetInstanceRequest, GpuClusterServiceClient, GpuClusterSpec, @@ -386,6 +387,9 @@ def create_instance( if pricing_policy_id is not None else None ), + follows_spot_price=( + FollowsSpotPriceSpec() if preemptible and pricing_policy_id is None else None + ), ), ) with wrap_capacity_errors():