Frontier models are mostly Mixture-of-Experts. Instead of running one giant feed-forward network for every token, a router sends each token to a few specialist experts — so the model can hold far more knowledge while each token costs about the same to run.
A Mixture-of-Experts layer is a pile of small feed-forward networks — the experts — plus a router that picks which few to run for each token.
Left to itself, the router plays favourites — a few experts get swamped while others sit idle and never learn.
Some knowledge — grammar, punctuation, the most common words — every token needs. Routing that to a specialist wastes the router's picks.
Every layer so far shapes the numbers that become the next-token scores. Next, constrained decoding: forcing those scores to obey a grammar so the model can only emit valid JSON, SQL, or whatever schema you demand.