In this paper, Chameleon Swarm Algorithm, which is a new metaheuristic algorithm, is used to design a speed reducer gearbox. The gearbox is used in an autonomous vehicle, and it is supposed to take in consideration the total weight of the gear sets along with other contains that include the stresses; including the bending and surface stresses for the gears and the stresses of the shaft, and he deflections of the shafts, beside other contains. The algorithm must find the optimal solution while satisfying the eleven constraints, which makes it a multi-objective optimization problem. The algorithm minimizes the energy dissipation in the gears as the design is optimal. The algorithm will be tested in Monte Carlo simulation to show its stability and robustness in such an application. The computer resources are examined, and the results are compared to the particle swarm optimization. The proposed method shows better results and better performance compared to the PSO.