Robust Batch-Level Query Routing for Large Language Models under Cost and Capacity Constraints