[step:Use the model law of cosines to make the opposite side monotone in the included angle]
For fixed adjacent side lengths $a,b$, define the model opposite-side function $s:I\to [0,\infty)$ as follows. If $k\le 0$, set $I:=[0,\pi]$. If $k>0$, set $\lambda:=\sqrt{k}$ and let $I\subset[0,\pi]$ be the set of angles $\theta$ for which the hinge in $M_k^2$ with adjacent side lengths $a,b$ and included angle $\theta$ has a uniquely determined opposite side $s(\theta)<\pi/\lambda$ and perimeter $a+b+s(\theta)<2\pi/\lambda$. For every $\theta\in I$, let $s(\theta)$ denote that opposite side length. The hypotheses ensure that both $\alpha$ and $\beta$ lie in $I$ when $k>0$. We verify that $s$ is nondecreasing on this comparison interval.
If $k=0$, the Euclidean law of cosines gives
\begin{align*}
s(\theta)^2 = a^2+b^2-2ab\cos\theta,
\end{align*}
so $s(\theta)^2$ is nondecreasing in $\theta$ because $\cos\theta$ is nonincreasing on $[0,\pi]$.
If $k<0$, put $\lambda := \sqrt{-k}$. The hyperbolic law of cosines gives
\begin{align*}
\cosh(\lambda s(\theta))
= \cosh(\lambda a)\cosh(\lambda b)-\sinh(\lambda a)\sinh(\lambda b)\cos\theta.
\end{align*}
The right-hand side is nondecreasing in $\theta$, and $r\mapsto \cosh(\lambda r)$ is strictly increasing for $r\ge 0$, so $s$ is nondecreasing.
If $k>0$, use the already defined $\lambda=\sqrt{k}$. For $\theta\in I$, the spherical law of cosines on the chosen comparison branch gives
\begin{align*}
\cos(\lambda s(\theta))
= \cos(\lambda a)\cos(\lambda b)+\sin(\lambda a)\sin(\lambda b)\cos\theta.
\end{align*}
By the definition of $I$, the model opposite side satisfies $s(\theta)<\pi/\lambda$, so $r\mapsto \cos(\lambda r)$ is strictly decreasing on the entire branch used by $s$. Since $a,b\in (0,\pi/\lambda)$, we have $\sin(\lambda a)\sin(\lambda b)>0$, so the right-hand side is nonincreasing in $\theta$. Therefore $s$ is nondecreasing on $I$.
[/step]