Tenger Plugin: llm optimization