For a specific example here, the F-35, which costs more than the F-18, is still cheaper than the Gripen, which is still in contention for this bid.
In fact of the three planes remaining, the F-18 was the cheapest. The only remaining planes are substantially more expensive.