A record six teams are paying baseball’s luxury tax this season, led by the Los Angeles Dodgers at $31.8 million and the Yankees at $27.4 million.

Boston ($4.5 million), Detroit ($4 million), San Francisco ($3.4 million) and the World Series champion Chicago Cubs ($2.96 million) also were sent bills Friday by the commissioner’s office, according to information obtained by The Associated Press.

advertisement | advertise on newsday

The Yankees are paying for the 14th straight year since the tax began, raising their total to $325 million. New York has said it hopes to get below the threshold by 2018.

Los Angeles owes for the fourth consecutive year and like New York pays at a 50 percent rate on the amount above the $189 million threshold. The Dodgers paid a record $43 million for 2015, and their four-year total is $113 million.