The consumer price index (CPI) increased 0.3% last month after gaining 0.2% in December amid a surge in the cost of shelter, the Labor Department said on Tuesday. In the 12 months through January, the CPI increased 3.1%. Economists polled by Reuters had forecast the CPI would gain 0.2% on the month and 2.9% on a year-on-year basis.