The ABJM model is a superconformal Chern–Simons theory with supersymmetry which is believed to be integrable in the planar limit. However, there is a coupling-dependent function that appears in the magnon dispersion relation and the asymptotic Bethe ansatz that is only known to leading order at strong and weak coupling. We compute this function to four loops in perturbation theory by an explicit Feynman diagram calculation for both the ABJM model and the ABJ extension. The ABJM four-loop correction has mixed transcendentality, while the ABJ extension adds a term to the ABJM correction with highest transcendentality. We then compute the four-loop wrapping correction for a scalar operator in the 20 representation of SU(4) and find that it agrees with a recent prediction of the ABJM Y-system by Gromov, Kazakov and Vieira. We also propose a limit of the ABJ model that might be perturbatively integrable at all loop orders but has a short range Hamiltonian.