Phase transition of the two- and three-state quantum Potts models on the Sierpiński pyramid are studied by means of a tensor network framework, the higher-order tensor renormalization group method. Critical values of the transverse magnetic field and the magnetic exponent β are evaluated. Despite the fact that the Hausdorff dimension of the Sierpiński pyramid is exactly two (=log24), the obtained critical properties show that the effective dimension is lower than two.