Devices get different firmware . Example in Saudi Arabia, facetime is forbidden. So their iphone numbers get different firmware, our iphone's get different firmware.
Edit : example
A1457 devices send to Turkey. They have no Apple pay, so their firmware's different from ours. I mean this numbers mean what country the iphones are sending.