# Set a preferred device

Choose a preferred device to load models via LM Link

## Choosing a preferred device

When the same model is available on multiple devices in the link, LM Link uses the preferred device to load and use the model. This setting is per-machine: each device on the link independently controls which remote machine it prefers.

This is especially relevant when accessing remote models via the SDK or [REST API](/content/docs/developer/core/lmlink/index.html).

### Machines with GUI

In the app, head to the LM Link page, select the device and toggle the "Set as preferred device" option.

### Machines without GUI

To set a preferred device from the terminal, use the following command:

```
lms link set-preferred-device
```

### On this page

[Choosing a preferred device](/content/docs/lmlink/basics/preferred-device#choosing-a-preferred-device/index.html) [Machines with GUI](/content/docs/lmlink/basics/preferred-device#machines-with-gui/index.html) [Machines without GUI](/content/docs/lmlink/basics/preferred-device#machines-without-gui/index.html)
