Also you need to buy the Pixel directly from Google. If you buy from carrier you can opt too the Pixel
Examples: https://forum.xda-developers.com/t/unlocking-pixel-5-for-ver...
https://support.google.com/pixelphone/thread/156939637/pixel...
https://www.reddit.com/r/GooglePixel/comments/bmdtlu/tmobile...