Optimizations for token usage and context handling in various cases like image analysis.