How much space GTA 6 takes on PS5 and Xbox: installation and M.2 drive

The values may change after updates.
Size
On PS5 you need at least 212 GB of free space (Rockstar gives this as a device-dependent value). According to the Polish Microsoft Store, the maximum package on Xbox is about 225.34 GB (209.86 GiB).
How much is left
After subtracting about 212 GB: a PS5 825 GB leaves about 455 GB, a PS5 1 TB about 636 GB, a PS5 Pro 2 TB about 1678 GB. Without other games, photos and updates.
M.2 drive
An NVMe PCIe Gen4 x4 with cooling is required, with read speed of at least 5500 MB/s, capacity from 250 GB to 8 TB, and the whole thing must fit in the bay. An example from the text: a Samsung 990 PRO with a heatsink, 1 TB or 2 TB.
Release-week data, unofficial, written in my own words. It may change after patches and Rockstar announcements.
Frequently asked questions
How many GB on PS5?
At least 212 GB.
Which M.2 drive?
NVMe Gen4 x4, min. 5500 MB/s.