In a high-performance environment, paying top of market is most cost-effective in the long run. It is best to have salaries a little higher than necessary, to give a raise before an employee asks for it, to bump up a salary before that employee starts looking for another job, in order to attract and retain the best talent on the market year after year. It costs a lot more to lose people and to recruit replacements than to overpay a little in the first place.