Cost-Aware Contrastive Routing for LLMs