Just for fun, with the experimental xcoffins package. Special alignment tasks like this formed some of the inspiration for this new package/feature.
The two text elements are set in separate "coffins". The smaller one is then scaled down. (Since I've already used the full gamut of design type sizes available: \tiny-\Huge.)
Finally, the coffins are joined by their right top (r,t) poles with an (optional) offset (0pt,-0.1em) before being typeset.
\documentclass[border=2pt]{standalone}
\usepackage{xcoffins}
\NewCoffin\BigText
\NewCoffin\SmallText
\begin{document}\sffamily
\SetHorizontalCoffin\BigText{\Huge Tex}%
\SetHorizontalCoffin\SmallText{\tiny Superscript}%
\ScaleCoffin\SmallText{0.75}{0.75}%
\JoinCoffins\BigText[r,t]\SmallText[r,t](0pt,-0.1em)%
\TypesetCoffin\BigText
\end{document}

The kerning was not the focus of the question, but since it has been mentioned in a comment: it is quite easy to add if desired.
\documentclass[border=2pt]{standalone}
\usepackage{xcoffins}
\NewCoffin\BigText
\NewCoffin\SmallText
\begin{document}\sffamily
\SetHorizontalCoffin\BigText{\Huge T\kern-0.175emex}%
\SetHorizontalCoffin\SmallText{\tiny Superscript}%
\ScaleCoffin\SmallText{0.65}{0.65}%
\JoinCoffins\BigText[r,t]\SmallText[r,t](0pt,-0.15em)%
\TypesetCoffin\BigText
\end{document}
