To eliminate the pesky $(-1)^k$ term, I have rewritten this as
$ S = -\sum\limits_{k=0}^{15} \cos^{560} (k\pi/16) + 2\sum\limits_{k=0}^{7} \cos^{560} (k\pi/8).$
However, neither of these sums are easy to evaluate. I think that the next step would be finding the minimal polynomial of $1, \cos(\pi/8), \dots, \cos(7\pi/8).$ However, this is just a factor of $T_{16}(x)-1$ where $T_n(x)$ is the $n$th degree Chebyshev Polynomial. This route is clearly messy before we even start factoring. The other sum would be even worse to handle.
I'm wondering if there are any other approaches for computing $S.$