Twitter is planning to cut as much as 8 percent of its staff this week