1022 keV

The minimum energy needed to produce an electron-positron pair is twice the rest mass energy of an electron:

= 2 x mec2 keV

= 2 x 511 keV
= 1022 keV

This is the minimum value of energy of a gamma-ray that will allow pair-production events to occur.