Dyadrine’s second ability cares about the amount of mana that was actually paid to cast Dyadrine. Any effects that increase or decrease the cost to cast it (including the “commander tax” in a Commander game) will also be taken into account.