THE consumer price index (CPI), a main gauge to measure China's inflation, rose 3.3 percent year on year in July, the National Bureau of Statistics announced in Beijing today.