The price of the units is a sum of their starting stats multiplied by 100. Units with movement above 5 also cost an additional 100~200 based on how good of a unit type they are.