Optimal Prompt Length Before AI Performance Degrades