The Apple Magic Keyboard with Touch ID would be compatible with any Bluetooth-enabled Mac with an M1 chip or later architecture.