The Yankees and Dellin Betances are headed to an arbitration hearing.

GM Brian Cashman said Thursday morning that the two sides, who are $2 million apart, will not reach a resolution, meaning an arbitrator will decide the flame-throwing right-hander’s salary for the 2017 season.

The Yankees filed at $3 million while Betances filed at $5 million. It will be the team’s first arbitration hearing with a player since 2008 (Chien-Ming Wang). Betances made the league minimum ($507,000) last season.

“The conversations we had with his representatives were, ‘If we file, we trial,’” Cashman said at Yankee Stadium. “Based on all our discussions, it was clear that there were different perspectives and such a wide bridge, so we’ll go and basically have a polite discussion about market value and history of where the marketplace sits versus attempts for new market creation”

Betances, who is in his first year of arbitration eligibility, has posted a 1.93 ERA in 217 appearances over the past three seasons, making the All-Star team each year. During that span, the setup man, who will be entering his age-29 season, has struck out 392 batters in 247 innings.

Arbitration hearings, which are set by MLB and take place in February, have had a history of being contentious between player and club.

Asked if Betances wanted “closer money,” Cashman responded, “You’d have to ask them. I just know that they filed what they felt was appropriate and we filed what we felt was appropriate. And someone else will make the determination of what he makes, but either way we have a good pitcher.”

Cashman said the sides had “limited discussions” about a multi-year deal. “That’s always something that could happen down the line, but that’s not going to happen, in this case, right now,” he said.