Retirement tax questions

So if I do a" catch-up" for 2023 (i.e. contribute to my IRA) is my RMD based on what I had on 12/31/2023 OR is it the total I had at the end of 2023 PLUS what I just contributed as a catch-up? Thanks!