Stoic Rebuttal’s metalcraft ability functions while Stoic Rebuttal is on the stack.

Artwork
Loading artwork…
Stoic Rebuttal
Modern Masters 2015 · #59 · EN
Nonfoil—Foil—
Card rules
Metalcraft — This spell costs 1 less to cast if you control three or more artifacts.
Counter target spell.
Obsessed with the pursuit of knowledge above all else, vedalken can appear to be cold and emotionless.
Common · Illustrated by Chris Rahn
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
For the purpose of determining whether the cost reduction applies, the number of artifacts you control is checked as you cast Stoic Rebuttal, before your last chance to activate mana abilities to pay for it. For example, if you control three artifacts, you could determine that Stoic Rebuttal costs 
to cast, then sacrifice one of those artifacts to activate a mana ability.