Default check carrier model

hey guys, i always have problem with a phone that comes with many variants in different carriers (or say different countries), any place for me to find out the details. like the samsung galaxy s5, namded SM-G900A from at&t, and SM-G900V from verizon, how to get the model# without buying all of them from all carriers
HTC Desire G7 A8181