Pharma to pay more under 2-year budget deal