The converted cost will also be 4. Because x is replaced by the number you choose when you announce the spell, overall on the card.
In the rules its written under x in the glossary:
While the spell or ability is on the stack, the

in its mana cost equals the amount announced as part of playing the spell or ability.