We start by noting that \( \cos^{-1} \left( \frac{2024}{2025} \right) \) gives an angle \( \theta \) such that:
\[
\cos \theta = \frac{2024}{2025}
\]
Using the identity \( \sec \theta = \frac{1}{\cos \theta} \), we get:
\[
\sec \theta = \frac{1}{\frac{2024}{2025}} = \frac{2025}{2024}
\]
Thus, the value of the expression is \( 2025 \).