I'm writing software and I need to know what command to issue so my software can determine the model of modem.

Here are the responses to the commands AT+GMM, AT+WGMM:

AT+GMM<CR>
+GMM: Model 100

OK


AT+WGMM<CR>
+WGMM: 800 1900

OK