From Tokens to Features: Architecting Cost Attribution for AI-Assisted Engineering