I finally had a chance to process the data that the College Board sent me from 2021. In 2021 113,443 people took the AP CSP exam and 67, 632 took AP CSA. That was a drop for AP CSP from 2020 when 114,188 people took that exam and a small increase for AP CSA from 65,000.

The data broken down by race and gender and state for 2021 is at:
CSP: https://drive.google.com/file/d/1FJ1R3L3i3hjJI3AaTEGFWL1UsS9WCPfS/view?usp=sharing
CSA: https://drive.google.com/file/d/1gBg23O9W6j7GpCIPRS4BDC22RnNYL2Qk/view?usp=sharing
There was an error in the following two documents before. I fixed them. The College Board removed the Other category in 2021 and added a No Response (NR). To keep the columns the same I put the NR in the Other column.
A summary for each state from 2017 to 2021 for CSP: https://docs.google.com/spreadsheets/d/14_fgjhMgvfGKAnVag406ybjxqeiIuwRm/edit?usp=sharing&ouid=114366167398593852141&rtpof=true&sd=true
A summary for each state from 2010 to 2021 for CSA: https://docs.google.com/spreadsheets/d/1QBfxI-QgRpLbxLN68yYk7wZv73MGA9iy/edit?usp=sharing&ouid=114366167398593852141&rtpof=true&sd=true
Here is the log(Female/Male) for 2021. As you can see the AP CSA exam is still the second worst in terms of the log ratio of females to males and the AP CSP exam is still the 5th worst. Most AP exams have a higher percentage of females than males taking them as shown below (all exams to the right of 0.0 have a higher percentage of females than males) and all exams to the left have a higher percentage of males than females. Note that calculus ab is close to even.

The percent of exam takers who identified as female in 2021 for AP CSA was 25.4% and for AP CSP was 33.7%. This is a slight increase for AP CSA from 25% in 2020 and a slight decrease for AP CSP from 33.9% in 2020. The percentage of females taking AP CSA has increased every year since 2013 when it was 18.6%.
There is still a great deal of disparity in pass rates by race/ethnicity. On the AP CSA exam Black students had a pass rate of 29.7%, Hispanic students 40.1%, White students 65.3%, and Asian students 73.6%. On the AP CSP exam Black students had a pass rate of 33.7%, Hispanic 45.8%, White 72.3%, and Asian 80.7%.
For AP CSA in 2021 only 4.2% of exam takers identified as Black, 11.8% identified as Hispanic, 38.7% identified as White and 35.4% identified as Asian. For AP CSP in 2021 7.2% of exam takers identified as Black, 18.2% identified as Hispanic, 42.4% identified as White, and 23% identified as Asian.