Construction is one factor.
Action is another.
Amount of onboard controls like knobs and sliders is still another.
Number of keys.
Pitch and mod wheels.
Assignable Pitch and mod wheels.
How it is powered, i.e., AC, AC/Battery, Battery, USB, MIDI, USB/MIDI.
Display.
Programmability...