Question reagarding 1098T

The 1098-T form shows my education expenses as $8,110 in 2024. However, the billing statement we received in December 2023 shows tuition of $33,325 and a student activity fee of $315, totaling $33,640. We paid this amount in January 2024. Which amount—$8,110 or $33,640—should be used for my education expenses on my 2024 tax return?