A very small fraction of what just developing a replacement would cost.
Say, did that congressionally called for demo of the F-35 vs. A-10 CAS capability ever happen?
Yes! Turns out that among other problems, the F-35 *cannot* provide enough sorties to replace the A-10.