The consumer price index was expected to increase 0.1% in July, with an annual rate of 3.4%.