Completed units, as reported by the NYC planning department. 33,974 units were built in 2024.
Data: https://www.nyc.gov/content/planning/pages/resources?search=housingdatabase#datasets
A nice summary: https://storymaps.arcgis.com/stories/1c9138dc24064b2e8142ff156345a719
People are also trading
@EvanDaniel The number of 2025 is 38,682 from the linked source https://storymaps.arcgis.com/stories/1c9138dc24064b2e8142ff156345a719, should resolve 35,000-39,999.

BTW, I think the slight discrepancy between the storymap summary and 2024's 33974 number is probably because of revisions or something? I'm not entirely sure.
But, if you go to the other linked resolution source -> DCP Housing Database: Project-Level Files View Dataset -> Previous Release Archives (Scroll Down) -> Download Housing Database - CSV 24Q4 Release -> Open HousingDB_post2010.csv -> Use =SUMIFS(J:J,E:E,"5. Completed Construction",F:F,2024,B:B,"New Building"), you get the 33,974 number for 2024, the same as listed in the description.
Doing the same thing for 2025/Most Recent Release's HousingDB_post2010.csv, with =SUMIFS(J:J,E:E,"5. Completed Construction",F:F,2025,B:B,"New Building"), you get 38691 for 2025, which is 9 more than the summary states for some reason but is still easily within the 35k-40k range.
Not sure what happened in H2 2025 for the number to be so much lower than H1 2025. Gemini says H1 numbers were inflated by an old 421-a tax abatement that expired in June 2022, leading to all the 3-year constructions being finished in H1 2025, while the replacement 485-x program has been slow on the uptake. Sounds reasonable to me, but I don't know anything about real estate.
Report from the state comptroller has some other useful stats and graphs: https://www.osc.ny.gov/files/reports/pdf/report-24-2025.pdf