The ground state energy of finite-size quantum spin systems depends on the boundary conditions. For example, the energy of the ground state of a ferromagnetic one-dimensional XXX chain of $N$ spins $1/2$ is equal to $E^{(o)}_0(N) = -\frac{J}{4}(N-1)$ for open boundary conditions and $E^{(p)}_0(N) = -\frac{J}{4}N$ for periodic boundary conditions.
But this question is probably about the ground state energy per spin in the $N\to\infty$ limit. An exact solution is not required to prove the following equality
$$
\lim_{N\to\infty} \frac{E_0^{(o)}(N)}{N} = \lim_{N\to\infty} \frac{E_0^{(p)}(N)} {N} \tag{*}
$$
for a system with a finite interaction radius and a finite number of states. Suppose that $\hat{A}$, $\hat{B}$, $\hat{C} = \hat{A} +\hat{B}$ are Hermitian operators and $a$, $b$, $c $ are their smallest eigenvalues, and $b'$ is the largest eigenvalue of $\hat{B}$. It is not difficult to proof the following inequalities
$$
a+b \leq c \leq a+b'\tag{**}
$$
In the case of one-dimensional spin $1/2$ XXX model we have
$$
\hat{A} = -J\sum_{i=1}^{N-1}\hat{\vec{S}}_i\hat{\vec{S}}_{i+1}, \quad
\hat{B} = -J\hat{\vec{S}}_N\hat{\vec{S}}_1,\quad
\hat{C} = -J\sum_{i=1}^{N}\hat{\vec{S}}_i\hat{\vec{S}}_{i+1},
$$
$$
a = E_0^{(o)}(N),\quad c = E_0^{(p)}(N), \quad b = \mbox{min}\left(-\frac{J}4,\frac{3J}{4}\right), \quad b'= \mbox{max}\left(-\frac{J}4,\frac{3J}{4}\right)
$$
and
$$
E_0^{(o)}(N) + \mbox{min}\left(-\frac{J}4,\frac{3J}{4}\right) \leq E_0^{(p)}(N) \leq E_0^{(o)}(N) + \mbox{max}\left(-\frac{J}4,\frac{3J}{4}\right).
$$
From the last inequalities it obviously follows (*).
Update on TobiasFunke's comment. To obtain $(**)$, it is sufficient to take the corresponding eigenvector $|\psi\rangle$ of the operator $\hat{C}$ and consider the matrix elements. Let $\hat{C}|\psi\rangle = c|\psi\rangle$ and $\langle\psi|\psi\rangle = 1$, then we have
$$
c = \langle\psi|\hat{C}|\psi\rangle = \langle\psi|\hat{A}|\psi\rangle + \langle\psi|\hat{B}|\psi\rangle \geq a + b
$$
The last inequality is due to the well known fact that for any $|\phi\rangle$, $\langle\phi|\phi\rangle = 1$ the following inequalities are valid $\langle\phi|\hat{A}|\phi\rangle \geq a$, $\langle\phi|\hat{B}|\phi\rangle \geq b$. To obtain the second inequality in (**), it is enough to write the first one with $\hat{A}_1 = \hat{C}$, $\hat{B}_1 = -\hat{B}$, $\hat{C}_1 = \hat{A} = \hat{A}_1 + \hat{B}_1$,