Its easier to compare them using this table:
https://eylenburg.github.io/android_comparison.htm
Note: DON'T buy a pixel device just to get GrapheneOS. It would be like paying Google "protection money" to not abuse your data and you have to do all the work to ensure they don't abuse you. Wait until GrapheneOS is ported to other devices and in the mean time use something else.