The Pro and Ultra variants are the ones with the higher RAM amounts. They didn’t announce the M6 Pro yet.
"M6 also introduces a Dual 16-core Neural Engine, providing up to 2x the peak compute over previous generations to make on-device AI workflows run even faster" .