The cementing quality is directly related to the normal operation of the gas well, therefore, the evaluation of cementing quality is key to the correctly use the gas well as well as to take measures to protect the gas well. In this paper, four first wave amplitudes at the same depth point when using the borehole compensated sonic logger with double transceiver technique to carry out the acoustic amplitude log operation are served as the discriminant factors to evaluate the cementing quality. Taking the engineering actual measured data as the learning samples and using the particle swarm optimization to optimize the parameters of support vector machine, this paper established the intelligent evaluation model for cementing quality based on particle swarm optimization (PSO) and support vector machine (SVM). The model employs the excellent characteristic of SVM which has high speed of solving and could describe nonlinear relation as well as the characteristic of PSO which has global optimization. Through test of engineering samples, the research result showed that this model has fast astringency and high precision, providing a new method and approach for the fast and accurate evaluation of the well cementing quality.