The hard X-ray power law, prominent in the hard state in black hole X-ray binaries, is generally due to thermal Comptonization in the corona. Optically thin synchrotron emission from compact jets is commonly seen at infrared wavelengths in the hard state. The extent of this spectrum to higher energies remains uncertain. Here, a multi-wavelength study of GX 339-4 is presented.The infrared (IR) to X-ray spectral index is measured and compared to the X-ray spectral index fitted separately. On some dates in which the jet dominates the IR emission, the X-ray power law and the IR to X-ray power-law spectral indices are both in the range 𝛼 = −0.7 ± 0.2 (where F 𝜈 ∼ 𝜈 𝛼 ), that is, photon index, Γ = 1.7 ± 0.2. This suggests they could be the same power law with the same origin, or that this is a coincidence. On other dates in the hard state, 𝛼 IR−X < 𝛼 X , ruling out a common origin. It is likely that Comptonization dominates on most dates, as expected. However, the X-ray power law never appears to be fainter than the jet power law extrapolated from IR to X-ray, implying that the jet contribution imposes a lower limit to the X-ray flux. If confirmed, this would imply the cooling break in the synchrotron spectrum probably resides at X-ray or higher energies. It is suggested that X-ray spectral fitting should include an extra power law with a break (ideally fit to IR too).