Any such contract shall provide for payment to such county, as compensation for the assumption of the duty, power, authority and responsibility for fire protection and suppression as provided in Section 4129 of such sum as may be specifically allocated in the appropriation made by the Legislature for that purpose or, if no specific appropriation is made for it, the sum allocated for expenditure in such county pursuant to Sections 4131 and 4132.