Carmelo Anthony appears committed to re-signing with the Knicks, and it could become official Thursday.

A league source close to the situation said the Knicks are “optimistic” Anthony will remain with the team he forced a trade to in 2011.

He is expected to accept the Knick’s maximum offer of five years and $129 million today. the first day that teams can sign free agents.

The Daily News, citing an unidentified person close to Anthony, said the All-Star small forward believes in team president Phil Jackson and will re-up with the Knicks, barring a last-minute change of heart.

But a league source with ties to Anthony said in a text “no decision yet. Still up in the air.”

That could be because the other teams pursuing Anthony haven't yet been told they're out of the running.

The Bulls, Rockets, Lakers and Mavericks made sales pitches to Anthony, but the Lakers and Bulls have been the Knicks' biggest competition. The Knicks, however, have been the frontrunners in the sweepstakes.