Here are some large-$n$ results from order-of-magnitude arguments.
Theorem 1. There is an ineffective constant $N_3$ such that all $n\geq N_3$ with $n\equiv 3\pmod{8}$ satisfy
$n=a^2+b^2+c^2$ for some distinct odd integers $a,b,c>11.$
Theorem 2. There is an effective constant $N_4$ such that all $n\geq N_4$ with $n\equiv 4\pmod{8}$ satisfy
$n=a^2+b^2+c^2+d^2$ for some distinct odd integers $a,b,c,d>9.$
"Effective" means that in principle you could work out a value by going through
all required proofs and replacing all "there exists $c$..." by explicit values.
Non-effective constants come from non-constructive arguments, in this case by results affected by Siegel zeroes. Unfortunately ineffective constants aren't directly useful.
For $k\in\{2,3,4\},$ define $r_k(n)$ to be the number of tuples $a\in\mathbb Z^k$ such that $n=\sum_{j=1}^k a_j^2.$
Define $r_2'(n)$ to be the number of pairs $(a,b)\in\mathbb Z^2$ such that $a^2+2b^2=n.$
Denote the divisor function by $d(n).$
Lemma 3.
(a) $r_2(n)\leq 4d(n)$
(b) $r_2'(n)\leq 2d(n)$
(c) $d(n)=n^{o(1)}$
(d) $r_3(n)\geq n^{1/2+o(1)}$ for $n\equiv 3\pmod{8},$ but the implicit constants are ineffective
(e) $r_4(n)=8\sum_{m|n\\4\not|m}m$
(a) follows from "Jacobi's two-square theorem", see Wikipedia's article, "k=2" section.
(b) can be shown by a similar argument as (a), using prime factorization in $\mathbb Z[\sqrt{-2}]$ instead of $\mathbb Z[\sqrt{-1}].$ The factor of $2$ comes from the fact that there are only two units instead of four.
For (c) see Wikipedia.
(d) needs a bit of work to deal with the fact that $n$ might not be square free. let $n=m^2 N$ with $N$ square-free. Then Hirschhorn and Sellers "On representations of a number as a sum of three squares" equation (3) implies $r_3(n)\geq r_3(N) m$ - the factor for each prime $p$ in their equation (3) is $\geq p^{\lambda_p}$ where $p^{\lambda_p}$ is the biggest power of $p$ dividing $m.$ And in our case all prime factors are odd. We can then apply the equation $r_3(N)=24h(-N),$ on Wikipedia's article, "k=3" section where $h(-N)$ is the class number of $\mathbb Q(\sqrt{-N}).$ The estimate $h(-N)=N^{1/2+o(1)}$ is given by the Brauer–Siegel theorem. This gives $r_3(n)/n^{1/2}\geq N^{o(1)}$ where the $o(1)$ tends to zero as $N\to \infty.$ That's also $n^{o(1)}$ as $n\to\infty.$
(e) is "Jacobi's four-square theorem", see Wikipedia's article, "k=4" section.$\square$
Proof of Theorem 1.
By Lemma 3(a,b,c,d), for sufficiently large $n$ we have $r_3(8n+3) > 6\sum_{m\in\{1,3,5,7,9,11\}}r_2(8n+3-m^2) + 6r_2'(8n+3).$ So there is some representation $8n+3=a^2+b^2+c^2$ even after excluding representations with $\{a,b,c\}\cap\{1,3,5,7,9,11\}\neq\emptyset$ or $a=b$ or $b=c$ or $a=c.$
(The factors of $6$ comes from having three options $a,b,c,$ plus an extra choice of sign.)
The condition $a^2+b^2+c^2\equiv 3\pmod{8}$ forces $a,b,c$ to be odd.
Proof of Theorem 2.
For any representation $a^2+b^2+c^2+d^2=n$ with $n\equiv 4\pmod{8},$ we either have $a,b,c,d$ all even, or $a,b,c,d$ all odd. Write $r_4(n)=r^{\mathrm{even}}_4(n)+r^{\mathrm{odd}}_4(n)$
where the first term is the number of representations with $a,b,c,d,$ even,
and the second term is the number with $a,b,c,d$ odd.
By dividing each of $a,b,c,d$ by two we have $r^{\mathrm{even}}_4(n)=r_4(n/4).$
Lemma 3(e) implies $r_4(n)=3r_4(n/4).$
Note $r_4(n/4)\geq n/4.$
Therefore $r^{\mathrm{odd}}_4(n)$ is at least $n/2.$
By considering the "$a$" term of a representation $a^2+b^2+c^2=n$ we have $r_3(n)=\sum_{a^2 \leq n}r_2(n-a^2)$ (with $a$ allowed to be negative). Combining this with Lemma 3(a,c) gives $r_3(n)\leq n^{1/2+o(1)}.$
So there are $\leq n^{1/2+o(1)}$ representations $a^2+b^2+c^2+d^2=n$ with $\min\{a,b,c,d\}\leq 9.$
Using Lemma 3(a,c) again, there are at most $6\sum_{2m^2\leq n}r_2(n-2m^2)\leq n^{1/2+o(1)}$ representations $a^2+b^2+c^2+d^2=n$ with $a,b,c,d$ not all distinct. Here $m$ is allowed to be negative. The factor of $6$ comes from the six choices of a two element subset of four.
For sufficiently large $n\equiv 4\pmod 8,$ the quantity $n/2$ is larger than the sum of these $n^{1/2+o(1)}$ terms. Since $r^{\mathrm{odd}}_4(n)\geq n/2,$ there is a representation $a^2+b^2+c^2+d^2=n$ with $a,b,c,d$ distinct and odd and greater than $9.$
$$ (k_1+k_2+k_3+k_4)^2 = 2(k_1^2 + k_2^2 + k_3^2 + k_4^2) $$
So, representing a square as sum of 8 non-distinct squares follows.
– vvg Dec 31 '23 at 17:28