At a given moment in time, the instantaneous speed can be thought of as the magnitude of instantaneous velocity.
Instantaneous speed is the magnitude of the instantaneous velocity, the instantaneous velocity has direction but the instantaneous speed does not have any direction. Hence, the instantaneous speed has the same value as that of the magnitude of the instantaneous velocity. It doesn't have any direction.