You can find out the chip's version number using the AT command at+cgmr, which returns a string with the number, where characters 6 to 8 are the chip's version. How to send an AT command.