The state budget office has calculated that the two raises, six months apart, will cost the state an extra $12,051,000 in the current budget year, and $24.5 million more next year. Those estimates do not count, in full, the additional $8.75 million that state budget officer Thomas Mullaney has estimated as the cost of providing the automatic longevity bonuses that state employees get as they reach certain benchmarks in their careers.