Automatic Transmission for LLM Tiers: Optimizing Cost and Accuracy in Large Language Models