Your 1099-R will have your cost basis for this year's distribution in box 5. The box 5 amount is your tax free portion for TY25. You may see your total contributions in box 9b. Some states will pull in from the federal amount.
Your box 1 minus box 5 = box 2 taxable portion.