We perform a study of system-scale to gyro-radius scale electromagnetic modes in a pedestal-like equilibrium using a gyrokinetic code ORB5, along with a comparison to the results of wimulations in a local gyrokinetic code, GS2, and an MHD energy principle code, MISHKA. In the relevant large-system, short wavelength regime, good agreement between the gyrokinetic codes is found. For global-scale modes, reasonable agreement between MHD and the global gyrokinetic code is observed. There are various formulational and implementational issues with using standard gyrokinetic codes in this limit, so even this level of agreement is promising. In order to correctly model the physics it is important to keep the effect of magnetic field strength fluctuations (which are not directly included in ORB5) in this case, where the gradient of β is large. The pressure stability threshold does not change substantially between the MHD and global gyrokinetic simulations, for the conditions present in this paper. It is also noted that the main stabilising mechanism at short wavelength is the diamagnetic drift, for which a two-fluid (rather than gyrokinetic) formulation would be sufficient.