Perovskite quantum dots (PQDs) become a kind of competitive material for fabricating high-performance solar cells due to their solution processability and outstanding optoelectronic properties. However, the current synthesis method of PQDs is mostly based on the binary-precursor method, which results in a large deviation of the I/Pb input ratio in the reaction system from the stoichiometric ratio of PQDs. Herein, a ternary-precursor method with an iodide source self-filling ability is reported for the synthesis of the CsPbI3 PQDs with high optoelectronic properties. Systematically experimental characterizations and theoretical calculations are conducted to fundamentally understand the effects of the I/Pb input molar ratio on the crystallographic and optoelectronic properties of PQDs. The results reveal that increasing the I/Pb input molar ratio can obtain ideal cubic structure PQDs with iodine-rich surfaces, which can significantly reduce the surface defects of PQDs and realize high orientation of PQD solids, facilitating charge carrier transport in the PQD solids with diminished nonradiative recombination. Consequently, the PQD solar cells exhibit an impressive efficiency of 15.16%, which is largely improved compared with that of 12.83% for the control solar cell. This work provides a feasible strategy for synthesizing high-quality PQDs for high-performance optoelectronic devices.