Blog
llm

The Architecture of Intelligence: LLMs, 2024 → 2026

2026-06-19

Between mid-2024 and mid-2026 the frontier large language model stopped being a single dense transformer that got bigger every year. It became a sparse, reasoning-trained, inference-optimized object wrapped in tooling: a Mixture-of-Experts core with latent or sparse attention, trained partly by verifiable-reward reinforcement learning, served through speculative decoding and aggressive caching, and judged less by its benchmark score than by what it can do inside an agent loop.

This is a field report across five lenses — architecture, reasoning, training, production, and multimodality/agents — researched with a STORM-style multi-perspective methodology, every claim tied to a source in the references at the end.

The two-year rebuild, in one paragraph

DeepSeek-V3 [1] proved a frontier-class MoE could train for about $5.6M; R1 [10] proved reasoning could emerge from reinforcement learning alone; Llama 4 [5] and Gemini 3 [33] made multimodality native and context windows absurd; and GLM-5.2 [2] compressed all of it into an open-weights model built for long-horizon agents. The economics inverted with it: a roughly 600-fold fall in token price since 2020 [14], an open-versus-closed output-price spread of around 640× [15], and a growing consensus that the harness, not the model, is now the leverage [27].

The headline of the period is not “models got smarter.” It is compute moved: from one giant pretraining run, into sparse parameters, into test-time thinking, into the agent harness around the model — and the price collapsed as each layer got engineered.

01 · Architecture: make it sparse, then make the attention forget on purpose

The dense transformer did not die, but it stopped being the shape of the frontier. Four mechanisms define the 2024–2026 architecture: MoE (most parameters dormant per token), latent/sparse attention (the KV cache stops scaling with context), SSM–attention hybrids (a small dose of attention recovers what state-space models lose), and multi-token prediction baked into training so inference can speculate.

Schematic of a modern MoE language model stack: tokens flow through alternating latent/sparse attention and sparse MoE FFN blocks, an MTP head turns the model into its own speculative decoder, and the whole thing is embedded in an agent harness.

Figure 1 — The modern MoE stack: latent/sparse attention and sparse MoE FFN blocks, an MTP head as built-in speculative decoder, and the agent harness that increasingly carries the gains.

02 · Reasoning: reinvented as an RL problem

OpenAI’s o1 [20] made “think longer at inference” a product. DeepSeek-R1 [10] then showed the thinking could be trained with verifiable rewards and no neural reward model, and open-sourced the recipe. By 2026 the field had also learned the limits: longer chains are not always better, and “thinking harder” is not “thinking longer.”

03 · Training: train cheaply, distill downward, and let RL finish the job

Pretraining data has crossed 30T tokens as a floor, FP8 mixed precision is standard at frontier scale, and the post-training pipeline has become a multi-stage RL-plus-distillation assembly line. The most counterintuitive result of the period: for small models, distilling from a big reasoner beats doing RL on the small model directly.

04 · Production: the price collapsed; the routing layer became the asset

Inference economics are the headline story of the period. A March-2026 dataset of 318 models documents a ~600× decline in token price since GPT-3, with a structural break in May 2024 — the DeepSeek price war — after which competition, not technology, drove the curve [14]. By June 2026 there is a ~640× spread between the cheapest and priciest output token [15].

05 · Multimodality and agents: native multimodality, and the harness that ate the model

Two converging moves: models became natively multimodal (text, image, audio, video fused from pretraining, not bolted on), and the system around the model became the thing that’s actually optimized. Agentic Harness Engineering studies show tools, middleware, and memory carry the gains — system-prompt-only edits actively regress.

06 · Twenty-four months on a single line

DateEventWho
Mar 2024Jamba: first SSM–Transformer hybridAI21
Sep 2024o1 — test-time compute as productOpenAI
Dec 2024DeepSeek-V3: 671B MoE, MLA, MTP, ~$5.6MDeepSeek
Jan 2025DeepSeek-R1: reasoning from RLVRDeepSeek
Apr 2025Llama 4 herd: native multimodal MoE, iRoPE, 10M ctxMeta
May 2025Qwen3: fused thinking mode, 36T tokensAlibaba
Aug 2025Speculative decoding at production scaleMeta
Nov 2025Gemini 3 Pro: native any-to-any, 1M ctx, Deep ThinkGoogle
May 2026Claude Opus 4.8: dynamic workflows, codebase-scale agentsAnthropic
Jun 2026GLM-5.2: open 1M-ctx MoE with IndexShare; then Fable/Mythos suspendedZ.ai / Anthropic

07 · The spec sheet and the price sheet

Frontier architecture, mid-2026

ModelTotal / ActiveAttentionContextWeightsSource
DeepSeek-V3 (Dec 2024)671B / 37BMLA128KMIT[1]
Llama 4 Maverick (Apr 2025)400B / 17BiRoPE1MLlama 4[5]
Llama 4 Scout (Apr 2025)109B / 17BiRoPE10MLlama 4[5]
Qwen3-235B-A22B (May 2025)235B / 22BGQA + QK-Norm256K→1MApache-2.0[8]
Gemini 3 Pro (Nov 2025)dense / undisclosednative any-to-any1M in / 64K outclosed[33]
Gemini 3.1 Pro (early 2026)MoE / ~tens-of-Bhierarchical cascaded2M–10Mclosed[34]
Claude Opus 4.8 (May 2026)undisclosedadaptive thinking1Mclosed[31]
GLM-5.2 (Jun 2026)~753B / 40BDSA + IndexShare1,048,576MIT[2]

Frontier API pricing, June 2026 (USD per 1M tokens)

ModelInput $/1MOutput $/1MNotesSource
GPT-5.5-pro$30.00$180.00long-ctx $60 / $270[15]
GPT-5.5$5.00$30.00long-ctx $10 / $45[15]
Claude Fable 5$10.00$50.00new tokenizer ≈ +30% tokens[15]
Claude Opus 4.8$5.00$25.00full 1M, no tiering[15]
Claude Sonnet 4.6$3.00$15.00full 1M, no tiering[15]
Gemini 3.5 Flash$1.50$9.00—[15]
DeepSeek V4 Pro$0.435$0.87flat, aggressive caching[15]
DeepSeek V4 Flash$0.14$0.28cache-hit input $0.0028[15]
GLM-5.2 (hosted)~$1.40~$4.40open weights also available[2]

The spread between the cheapest output (DeepSeek V4 Flash, $0.28) and the priciest (GPT-5.5-pro, $180) is about 643×. Pricing figures are aggregator-verified (June 11, 2026) and should be re-checked against provider pages before any procurement decision.

08 · Where the sources disagree

Does RLVR create reasoning? — Yue 2025 vs Wen 2025. One camp argues RLVR only improves sampling efficiency (base-model Pass@K catches up at large K); the other introduces CoT-Pass@K and shows the reasoning boundary genuinely extends. Reconciled read: RLVR extends reasoning when intermediate steps are verified; pure answer-correctness Pass@K can mask it [13].

Longer thinking equals better? — o1 marketing vs 2025 studies. OpenAI frames more thinking tokens as strictly better; three independent studies find accuracy declines with excessive reasoning tokens and that parallel sampling beats sequential self-revision [21][22][23]. Reconciled read: thinking helps up to a point and per-generation; scaling it sequentially past that hurts.

GLM-5.2 parameter count — blog vs community note. Z.ai’s blog and HuggingFace list ~753B total / 40B active; an earlier community digest cited 744B. Reconciled read: treat the exact count as unconfirmed until a peer-reviewed tech report; the 40B-active and MIT-license facts are consistent across sources [2][3].

Open versus closed frontier gap — aggregators disagree on size. One analysis says open weights “match proprietary mid-tiers but don’t reach the true frontier”; GLM-5.2’s own benchmarks trail only Opus 4.8 on several coding-agentic tasks [2][16]. Reconciled read: the gap is now task-dependent — effectively closed or reversed on coding-agentic work, still present on the broadest knowledge and reasoning suites.

09 · Devil’s advocate: the case that this report is overstated

Before you take any of this to a roadmap.

Colophon

References

  1. DeepSeek-V3 Technical Report (2024) — arxiv.org/2412.19437
  2. GLM-5.2: Built for Long-Horizon Tasks (2026) — z.ai/blog/glm-5.2
  3. zai-org/GLM-5.2 model card — huggingface.co/zai-org/GLM-5.2
  4. Raschka, GLM-5.2 IndexShare note (2026) — sebastianraschka.com
  5. Meta, The Llama 4 herd (2025) — ai.meta.com/blog/llama-4
  6. HuggingFace, Welcome Llama 4 (2025) — huggingface.co/blog/llama4-release
  7. Llama 4 model card — github.com/meta-llama
  8. Qwen3 Technical Report (2025) — arxiv.org/2505.09388
  9. Qwen3 blog — qwenlm.github.io/blog/qwen3
  10. DeepSeek-R1 (2025) — arxiv.org/2501.12948
  11. DeepSeek-R1, Nature (2025) — nature.com/s41586-025-09422-z
  12. Mroueh, GRPO dynamics (2025) — arxiv.org/2503.06639
  13. Wen et al., RLVR implicit reasoning (2025) — arxiv.org/2506.14245
  14. Tiered Super-Moore’s Law token pricing (2026) — arxiv.org/2603.28576
  15. Developers Digest, Frontier pricing June 2026 — developersdigest.tech
  16. TokenRate, Open vs Proprietary costs 2026 — tokenrate.dev
  17. Jamba: Hybrid Transformer-Mamba (2024) — arxiv.org/2403.19887
  18. AI21, Introducing Jamba — ai21.com/blog/jamba
  19. NVIDIA, Empirical Study of Mamba LMs (2024) — arxiv.org/2406.07887
  20. OpenAI, Learning to Reason with LLMs (o1) (2024) — openai.com
  21. Ballon et al., o3-mini Thinks Harder (2025) — arxiv.org/2502.15631
  22. MSR, Inference-Time Scaling (2025) — microsoft.com/research
  23. Zeng et al., Revisiting Test-Time Scaling (2025) — aclanthology.org
  24. EAGLE (2024) — arxiv.org/2401.15077
  25. Medusa (2024) — arxiv.org/2401.10774
  26. Meta, Speculative Decoding for Llama at Scale (2025) — ai.meta.com/research
  27. Agentic Harness Engineering (2026) — arxiv.org/2604.25850
  28. HarnessBridge (2026) — arxiv.org/2606.12882
  29. SWE-TRACE (2026) — arxiv.org/2604.14820
  30. SWE-Master (2026) — arxiv.org/2602.03411
  31. Anthropic, Introducing Claude Opus 4.8 (2026) — anthropic.com
  32. Anthropic, Claude Fable 5 & Mythos 5 (2026) — anthropic.com
  33. Gemini 3 Pro launch guide — llm-stats.com
  34. Gemini 3.1 Pro deep dive (2026) — explore.n1n.ai
  35. Gemini Embedding 2 (2026) — arxiv.org/2605.27295