Resource-efficient Inference with Foundation Model Programs. - Lunyiu Nie; Zhimin Ding; Kevin Yu; Marco Cheung; Chris Jermaine; Swarat Chaudhuri (CoRR, 2025)