The measure of input prices for Japanese firms rose 7.1% in June from a year earlier, the Bank of Japan reported.