Artificial Intelligence Optimizing API Efficiency in 2025: How Perplexity AI’s Context Pruning Enhances Performance