The objective of a defensive system isn’t to shoot down opposing aircraft. The objective is to protect your valuable targets. Therefore, the best cost comparison is whether your protected target is worth the cost of the missile used to protect it.
That’s kind of the point. Ukraine does not have that many high value targets worth defending