what matters is the distance from the consumer unit to the shower and the voltage drop along the cable. if the distance is short enough , quite easy in modern apartments but not in houses ,for the lower rated showers (7.5kw )then 6mm might do, but not for 9.5kw
the reality of it is that 10mm costs more but when ,not if your shower fails and you wish to replace it with one that is more powerful than 9.5kw you will save a lot of work by having used 10mm in the first instance