The consumer price index was expected to increase 3.4% from a year ago, according to the Dow Jones consensus estimate.