When an SI prefix is affixed to a root word, the prefix carries the stress, while the root drops its stress but retains a full vowel in the syllable that is stressed when the root word stands alone.
The LaTeX typesetting system features an SIunitx package, in which the units of measurement are spelled out, for example, \SI{3}{\tera\hertz} formats as "3 THz".