About 1,000 aircraft were produced, 600 of them being the updated Q-5A. A small number, perhaps a few dozen, Q-5As were modified to carry nuclear weapons; these are believed to retain their internal weapons bay. A long-range Q-5I, introduced in 1983, added a fuel tank instead of the internal weapons bay, compensating for that with the provision of two additional underwing pylons. Some of these aircraft serve with the PLA Navy, and have apparently been equipped with radar to guide anti-ship missiles. Subsequent minor upgrades include the Q-5IA, with a new gun/bomb sighting system and avionics, and the Q-5II, with radar warning receiver (RWR).