Based on the optical system characteristics of coded aperture snapshot spectral imager (CASSI), an optimized optical system of shortwave infrared dual camera CASSI was designed based on improved Offner-Wynne imaging spectrometer. The operating wavelength of the optical system ranges from 900nm to 1700nm, and the focal length is 1200mm. It consists of two parts: the two dimensional imaging system and the multispectral CASSI imaging system. The key technical parameters of the two parts are the same and there is no visual axis difference. Therefore, the optimized optical system can effectively improve real-time performance, optical transmittance and compactness of the dual camera shortwave infrared CASSI, which is conducive to the application in optical measurement scenes in the shooting range.