Boston will pay a Red Sox record $13.4 million luxury tax after failing to make the playoffs and the New York Yankees finished with a $6.7 million bill, likely a fraction of what they will pay next year.

Three teams owe tax, according to end-of-year figures sent to clubs Wednesday and obtained by The Associated Press. The Chicago Cubs must pay $7.6 million following a season that ended with a September fade and no postseason berth.

New York has run up a total of $348 million in tax since the payroll restraint system began in 2003, owing money in each year except 2018. The Los Angeles Dodgers are second at $150 million, followed by the Red Sox at $50 million and the Cubs at $11 million.

This year's initial tax threshold was $206 million, counting payrolls by average annual values and including earned bonuses, adjustments for cash transactions, option buyouts and just over $14 million per team in benefits.

Among regular payrolls, which include salaries, prorated shares of signing bonuses and earned bonuses, the Red Sox topped the major leagues for the second straight season at $228 million. The Yankees were next at $226 million, followed by the Cubs ($220 million), World Series champion Washington ($205 million) and the Los Angeles Dodgers ($205 million).

Five of the top 10 spenders missed the playoffs, with the Red Sox and Cubs joined by San Francisco ($183 million), the Los Angeles Angels ($166 million) and Philadelphia ($161 million).

Just two teams from the dozen lowest payrolls reached the postseason. Tampa Bay (last at $67 million) defeated Oakland (26th at $96 million) in the AL wild-card game, then lost to Houston in a five-game Division Series.

Overall spending on regular payrolls dropped for the third straight year, an aberration caused by large signing bonuses for Mike Trout, Alex Bregman, Jacob deGrom, Paul Goldschmidt, Clayton Kershaw, Manny Machado and A.J. Pollock. Those bonuses are prorated over the length of each contract, and payrolls totaled $4.219 billion, down from $4.227 billion in 2018 and $4.245 billion in 2017.

But teams set a record at $4.7 billion in the computation by average annual values, an increase of $157 million that follows the longer-term trend. That came after an offseason when the clubs committed $3.88 billion in guaranteed money, their biggest spending spree ever. Atlanta, Cincinnati, Colorado, Houston, Milwaukee, Oakland, San Diego and St. Louis had their highest AAV payrolls.

Among regular payrolls, which better display year-to-year shifts, Detroit dropped from $191 million in 2017 to $133 million in 2018 to $117 million this year. Baltimore cut from $167 million in 2017 to $137 million in 2018 to $83 million this year.

Toronto fell from $165 million in 2017 to $157 million in 2018 to $120 million this year, and Kansas City from $154 million in 2017 to $127 million in 2018 to $102 million this season. Under new CEO Derek Jeter, Miami shaved from $117 million in 2017 to $90 million in 2018 to $76 million this year.

Big one-season drops this year included San Francisco ($27 million), and Arizona, Cleveland and Seattle ($23 million each).

Large rises were headed by Philadelphia, up $54 million to $161 million, and the Yankees, who rose by $43 million. New York dropped to sixth in 2018, rose to second this year and figures to lead the major leagues next year after reaching a record $324 million, nine-year contract with pitcher Gerrit Cole.

Other teams with significant hikes included Cincinnati ($34 million), the Chicago White Sox ($26 million), Milwaukee ($25 million), the Chicago Cubs ($22 million) and World Series champion Washington ($21 million).

Showing a wide disparity, the top 50 players averaged $24.1 million while the listed major league salary of the roughly other 1,500 players who spent at least one day on a big league roster this year averaged $2.4 million.

Next year's tax starts at $208 million, and New York's rate will rise from 20% to 30% on the first $20 million over, 32% to 42% on the next $20 million and 62.5% to 75% on any amount above $248 million. If the Yankees exceed $248 million, which now appears likely, their top selection in the June 2021 amateur draft would be dropped 10 places.

Checks for the competitive balance tax, as it is normally known, go to the commissioner's office and are due by Jan. 21. The first $13 million of tax money is used to fund player benefits and 50% of the remainder will be used to fund player Individual Retirement Accounts. The other 50% of the remainder will be given to teams not over the tax threshold — $272,979 per club.