For instance, in the example below, the chip version is B05:

at+cgmr
+CGMR: A39C4B05A7600M7