After the first digit, usually a 6 for foreigners, the next two digits appear to be the changwat number as used in the postcode. I'm in Khon Kaen and my first 3 digits are 6 40. So 610 would be Bkk, 620 Chonburi. Perhaps the next couple of digits are amphur within the changwat.