The annual inflation in Germany, as measured by the consumer price index (CPI), hit 6.4 percent in June, according to the country's Federal Statistical Office on Thursday.