Carmelo Anthony will make $5 million less than the maximum, clocking in at five years, $124 million, but the bigger number is the $1.4 million he has opened up in cap space for 2015 when the Knicks are expected to chase free-agent center Marc Gasol.

With Anthony’s contract filed with the NBA office, the details have emerged including Anthony having a no-trade clause. The Post has learned he also has a maximum 15 percent trade kicker. If he were to waive his no-trade any club interested in dealing for him might see that trade kicker as a large deterrent.

The trade kicker gives Anthony less of a chance of forcing a trade. However, Anthony has the what-is-now-standard opt-out after four years.

Anthony will start out at the maximum salary of $22.4 million. According to a source, instead of taking the maximum 7.5 percent raise of $1.8 million in the second year of the deal, he will take a smaller percentage increase, gaining $400,000.

The Post had reported Anthony would not take his 7.5 percent increase in Year Two. Knicks president Phil Jackson had laid five contract proposals, including the $129 million max deal Anthony passed on.
The Knicks hope to add a max-like player such as Gasol and a solid mid-level sidekick. Jackson said on MSG Network’s summer-league broadcast: “We would like to get two good players that could possible come in and bring some youth and some strength to us.”

Jose Calderon could be a key factor in recruiting Marc Gasol. He will be teammates, with the Gasol brothers — one of whom he tried to lure to New York this July (Pau) and one of whom he will attempt to lure to New York next July.

Calderon, the Gasol brothers and the rest of Team Spain gather for training camp July 25 in Madrid to prepare for the World Championships that begin in late August.

The Knicks will be desperate for a starting center in 2015 with Tyson Chandler gone, Sam Dalembert in the final year of his contract and Jason Smith, who signed Tuesday, agreeing to just a one-year deal. Marc Gasol seems the ideal fit.

“[Gasol’s] a great friend,’’ Calderon told The Post Tuesday from LaGuardia Airport. “He’s a great player, been playing with him for a while now. Ask anyone in the league, they’d want to play with him. Hopefully we’ll see what happens, but you always want to play with one of the best players at his spot. He’s proved that the last few years.’’

But first things first. Calderon, new quarterback of the Knicks triangle offense, has his sniper in Anthony.