Metro

Katie Holmes plotted split for weeks and rented secret Chelsea apt.

Don’t cry for Katie — this was all part of her plan.

Katie Holmes plotted divorcing Tom Cruise for weeks, even renting a secret Chelsea hideaway to escape with daughter Suri.

Two building sources and a resident told The Post they’ve spotted Holmes, 33, in a posh 19-story Seventh Avenue building, where rents range from $4,000 to $25,000 a month and celebs secure under-the-radar homes.

“I’ve seen her every day for three weeks. It’s been almost a month now,” said one building source.

Her new nest is just a few train stops from the couple’s West Village townhouse and East 13th Street apartment.

PHOTOS: TOM CRUISE AND KATIE HOLMES

HOW KATIE WAS CAST TO PLAY TOM’S WIFE

Holmes, 33, should feel at home here: The new apartment near West 25th Street is a refuge for other celebrity tenants, including Christina Ricci, who lived there many years. Lady Gaga recently tried to snag a pad there, sources said.

The “Dawson’s Creek” actress quietly filed divorce papers in New York on Thursday as Cruise, 49, was in Iceland filming the flick “Oblivion.” She’s requesting sole custody of the couple’s 6-year-old daughter.

Cruise, who was blind-sided by the split, is reportedly preparing for a bitter custody war and will try to move the proceedings to California, sources said.

Just two weeks earlier, the couple and Suri played the part of happy family, dining out in Reykjavik, Iceland and lavishing their daughter with attention.

But sources say that under the surface, the marriage was frosty. In fact, one Hollywood insider said the marriage and child was all part of a rumored $20 million contract.

“The deal was they’d have an ‘heir and a spare.’ But she’s walking away before they had a second child.”

The source said that Holmes was “smart enough” to receive a substantial amount of cash up front before marrying the “Mission: Impossible” star.

By marrying Cruise, the source added, “Katie thought that it would really help with her career. And that she’d be Nicole Kidman. But then she was locked down at home, just playing baby mama.”

Holmes certainly won’t be hurting for money: She’s reportedly set to gain $3 million for each year of their union.