Context Packing, Budgets, and Caching