diff --git a/nebius/ai/v1/endpoint.proto b/nebius/ai/v1/endpoint.proto index e82a1e3..3a3d412 100644 --- a/nebius/ai/v1/endpoint.proto +++ b/nebius/ai/v1/endpoint.proto @@ -78,6 +78,10 @@ message EndpointSpec { // Public keys to be authorized for SSH access to the job. repeated string ssh_authorized_keys = 26; + // Whether to use a preemptible VM for the endpoint. + // Preemptible VMs are cheaper but can be stopped by the platform at any time. + bool preemptible = 27; + // Authentication token needed to access the endpoint. // // Authentication can only be enabled if the endpoint exposes one and only one HTTP port. diff --git a/nebius/ai/v1/job.proto b/nebius/ai/v1/job.proto index 86b3a9b..249237a 100644 --- a/nebius/ai/v1/job.proto +++ b/nebius/ai/v1/job.proto @@ -79,6 +79,10 @@ message JobSpec { // Public keys to be authorized for SSH access to the job. repeated string ssh_authorized_keys = 26; + // Whether to use a preemptible VM for the job. + // Preemptible VMs are cheaper but can be stopped by the platform at any time. + bool preemptible = 27; + // Restart attempts for the job. int64 restart_attempts = 30 [(buf.validate.field) = { int64: {gte: -1}