The total cost to cast a spell is locked in before you pay that cost. For example, if you control three artifacts, including one you can sacrifice to add , Saheeli's second ability will reduce the cost of a spell you cast by . Then you can sacrifice the artifact when you activate mana abilities just before paying the cost, and it remains reduced by .