For hydrogen-like atoms (an electron and a nucleus with atomic number $Z$)
the difference between the solutions of the Dirac equation
and of the Klein-Gordon equation is quite subtle.
So we need to look at them in more detail.
Dirac equation
Solving the Dirac equation gives the following exact energy levels
(see Wikipedia - Hydrogen-like atom - Solution to Dirac equation):
$$E_{nj}=mc^2\left[1+\left(\frac{Z\alpha}{n-j-\frac 12+\sqrt{\left(j+\frac 12\right)^2-Z^2\alpha^2}}\right)^2\right]^{-1/2}$$
with the quantum numbers
- $n=1,2,...$
- $l=0,1,2,...,n-1$
- $j=l+\frac 12, |l-\frac 12|$
and the fine-structrure constant $\alpha=\frac{1}{137.06}$.
Taylor-expansion for small $\alpha$ gives:
$$E_{nj}\approx mc^2\left[1-\frac{Z^2\alpha^2}{2n^2}-\frac{Z^4\alpha^4}{2n^3}\left(\frac{1}{j+\frac 12}-\frac{3}{4n}\right)+\cdots\right]$$
The first few energy levels calculated from this are:
$$\begin{array}{c|ccc|c}
& n & l & j & E_{nj} \\
\hline
1S_{1/2} & 1 & 0 & \frac 12 & mc^2\left(1 - \frac 12 Z^2\alpha^2 - \frac 18 Z^4\alpha^4 + \cdots \right) \\
2S_{1/2} & 2 & 0 & \frac 12 & mc^2\left(1 - \frac 18 Z^2\alpha^2 - \frac{5}{128}Z^4\alpha^4 + \cdots \right) \\
2P_{1/2} & 2 & 1 & \frac 12 & mc^2\left(1 - \frac 18 Z^2\alpha^2 - \frac{5}{128}Z^4\alpha^4 + \cdots \right) \\
2P_{3/2} & 2 & 1 & \frac 32 & mc^2\left(1 - \frac 18 Z^2\alpha^2 - \frac{1}{128}Z^4\alpha^4 + \cdots \right)
\end{array} \tag{1}$$
Klein-Gordon equation
Solving the Klein-Gordon equation gives the following exact energy levels
(see for example Bound state solutions of the Klein-Gordon equation by Fleischer and Soff, equation (3.2)):
$$E_{nl}=mc^2\left[1+\left(\frac{Z\alpha}{n-l-\frac 12+\sqrt{\left(l+\frac 12\right)^2-Z^2\alpha^2}}\right)^2\right]^{-1/2}$$
with the quantum numbers
- $n=1,2,...$
- $l=0,1,2,...,n-1$
(This looks quite similar to the Dirac solution above, except here we have $l$ instead of $j$.)
Taylor-expansion for small $\alpha$ gives:
$$E_{nl}\approx mc^2\left[1-\frac{Z^2\alpha^2}{2n^2}-\frac{Z^4\alpha^4}{2n^3}\left(\frac{1}{l+\frac 12}-\frac{3}{4n}\right)+\cdots\right]$$
The first few energy levels calculated from this are:
$$\begin{array}{c|cc|c}
& n & l & E_{nl} \\
\hline
1s & 1 & 0 & mc^2\left(1 - \frac 12 Z^2\alpha^2 - \frac 58 Z^4\alpha^4 + \cdots \right) \\
2s & 2 & 0 & mc^2\left(1 - \frac 18 Z^2\alpha^2 - \frac{13}{128}Z^4\alpha^4 + \cdots \right) \\
2p & 2 & 1 & mc^2\left(1 - \frac 18 Z^2\alpha^2 - \frac{7}{384}Z^4\alpha^4 + \cdots \right)
\end{array} \tag{2}$$
Comparison with experiment
From tables (1) and (2) you see, the predicted energy levels are slightly different.
Look at the fine-structure terms $\propto Z^4\alpha^4$.
Of course the correct energy levels (or more precisely: the differences between energy levels) were known with high precision long before the
theories, from experimental spectroscopy of the hydrogen spectrum.
So it turned out, that the Klein-Gordon results are wrong, and the Dirac results are correct.