On a new bike, the stem length should be proportional to the top tube, so bigger bikes have longer TT and longer stem. Most med size bikes come with 10cm.
With your own bike, you can change it however you like. I replace the 10cm with an 8cm and it works for me. Im sure it could be changed to a 12cm and work just as well.