model cost routing