The pace of increase in the producer price index, which measures the costs of goods traded between companies, slowed from a 2.4% gain the previous month.