The Complete Guide to LLM Optimization in 2025