Tag llm optimization