Al‐Si alloys are widely used in automotive casting components while microporosity has always been a detrimental defect that leads to property degradation. In this study, a coupled three‐dimensional cellular automata (CA) model has been used to predict the hydrogen porosity as functions of cooling rate and initial hydrogen concentration. By quantifying the pore characteristics, it has been found that the average equivalent pore diameter decreases from 40.43 to 23.98 μm and the pore number density increases from 10.3 to 26.6 mm−3 as the cooling rate changes from 2.6 to 19.4°C/s at the initial hydrogen concentration of 0.25 mL/100 g. It is also notable that the pore size increases as the initial hydrogen concentration changes from 0.15 to 0.25 mL/100 g while the pore number remains stable. In addition, the linear regression between secondary dendrite arm spacing and the equivalent pore diameter has been studied for the first time, matching well with experiments. This work exhibits the application of CA model in future process optimization and robust condition design for advanced automotive parts made of Al‐Si alloys.