AI Coding Agent Token Optimization Guide: Prompt Caching, Session Management, and the Hidden Economics of Context Windows