Split editorial banner for The LLM Landscape showing a Transformer root branching into MoE and edge trees
LLMs
Intermediate
16 min read Updated

The LLM Landscape: Complete Model Family Tree (2026)

Map the 2026 LLM family tree across GPT-6.2, Claude 5.5, Gemini 4, Llama 4, DeepSeek-V4, Qwen 3.8, and Inkling 2. Architecture, pricing, and routing.

LLM AI Models OpenAI Anthropic Gemini 4 DeepSeek Llama 4 Inkling 2

The modern LLM family tree branches from Vaswani’s Transformer root into four distinct architectural lineages: unified proprietary reasoning models (GPT-6.2, Claude 5.5, Gemini 4), sparse open-weight Mixture-of-Experts (DeepSeek-V4, GLM-5.2, Kimi K3, Llama 4, Inkling 2 Small), looped transformers (Inkling 2 Mini), and edge Small Language Models (Gemma 4, Phi-4).

Selecting the right model family for production requires mapping these lineages to hardware constraints and billing mechanics. Across frontier APIs, generated output tokens cost 5x to 6x more than input tokens while prompt caching reduces repeated prefix spend by 80% to 90%, making multi-model portfolio routing essential for enterprise reliability.

Key Takeaways

  • Every modern large language model lineage traces back to decoder-only Transformer scaling before splitting into sparse Mixture-of-Experts (MoE), unified test-time reasoning, and looped weight-sharing topologies.
  • Proprietary frontier providers folded separate reasoning tiers into unified releases: OpenAI ships GPT-6.2 (Astra, Sol, Luna), Anthropic ships Claude 5.5 and Fable 5.2, and Google ships Gemini 4 (Argon, Carbon, Neon, Hydrogen).
  • Open-weight parity is led by DeepSeek-V4 (1.6T V4-Pro, 552B V4.1-Flash with CSA2), Zhipu GLM-5.2, Moonshot Kimi K3, Alibaba Qwen 3.8, Meta Llama 4 (up to 10M context), and Thinking Machines Lab’s Inkling 2 Small and Mini.
  • Production engineering teams route requests through OpenAI-compatible gateways across families to combine 80% to 90% prompt caching savings with zero-egress open weights while avoiding 272K context price cliffs.

Architectural Genesis: How Transformers Split Into Dense, Sparse MoE, and Looped Lineages

Every major branch of the LLM landscape descends from the Attention Is All You Need paper on arXiv, which replaced sequential Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) cells with parallelized multi-head self-attention. From that shared root, language model evolution diverged into dense autoregressive scaling, sparse Mixture-of-Experts routing, and recursive looped computation.

Five-column LLM evolutionary family tree from Transformer root to proprietary frontier, sparse MoE, and looped edge SLMs Figure 1: Complete architectural lineage showing how Transformer self-attention diverged into proprietary frontier, open-weight MoE, and looped edge model families.

From RNN Bottlenecks to Encoder-Only, Seq2Seq, and Decoder-Only Roots

Early Transformer research split into three distinct topologies: encoder-only models (BERT, RoBERTa) for bidirectional classification, sequence-to-sequence encoder-decoders (T5, BART) for translation, and decoder-only autoregressive generators. Decoder-only models proved easiest to scale across tens of trillions of web and code tokens, becoming the universal foundation for GPT, Claude, Gemini, and Llama.

Teams inspecting how self-attention projections and causal masks compute next-token probabilities can review our walkthrough of transformer attention mechanics. That uniform decoder loop unlocked in-context learning and tool use without task-specific architectural rewrites.

Dense Scaling Limits, Sparse MoE Routing, and Looped Latent Pondering

Once dense models crossed 100 billion parameters, executing 100% of weights per generated token hit severe memory-bandwidth and thermal walls. Dense vs sparse MoE models diverge cleanly here: sparse Mixture-of-Experts layers partition feed-forward networks into hundreds of routed experts, activating only 13B to 49B parameters per token despite 284B to 2.8T total weights.

Two newer architectural twists refine compute efficiency even further. DeepSeek-V4.1-Flash pairs its 552B MoE backbone with 196B Engram O(1) lookup tables, whereas looped transformer test time compute (exemplified by Inkling 2 Mini) recycles middle decoder layers three times per token to ponder in latent space without inflating physical RAM.

Proprietary Frontier Lineages: OpenAI GPT-6, Anthropic Claude 5.5, Google Gemini 4, and xAI Grok

Proprietary commercial APIs remain the fastest path to multimodal reasoning and multi-file agent orchestration without managing 500GB+ GPU clusters. By November 2026, OpenAI, Anthropic, and Google DeepMind each unified standalone reasoning tracks directly into tiered flagship families with configurable thinking budgets.

OpenAI GPT Lineage: From GPT-4 and o3 to Unified GPT-6.2 Astra, Sol, and Luna

OpenAI retired standalone o3 and o4-mini reasoning tracks into the unified OpenAI GPT-6 family, culminating in the mid-November 2026 rollout of GPT-6.2 Astra and GPT-6.2 Sol. Instead of routing developers to separate reasoning endpoints, the OpenAI Models Documentation exposes configurable reasoning effort directly inside a single API schema.

  • GPT-6.2 Astra: Flagship frontier tier tuned for deep autonomous agents, multi-step verification, and high-stakes systems engineering.
  • GPT-6.2 Sol: Primary coding and professional workhorse balancing strong tool-use fidelity with interactive latency.
  • GPT-6 Terra & Luna: Terra specializes in high-speed vision and computer-use actions, while Luna optimizes ultra-low-cost classification and extraction.

Anthropic Claude Lineage: Constitutional AI to Claude 5.5 and Fable 5.2

Anthropic built its Claude lineage around Constitutional AI, training models to critique drafts against explicit principles so safety guardrails avoid false-positive refusals on benign engineering tasks. The Anthropic Claude 5.5 lineage spans Claude Opus 5.5, Claude Sonnet 5.5, and Claude Haiku 5.5, complemented in November 2026 by Claude Fable 5.2 (broad enterprise API via Amazon Web Services, Google Vertex, and Microsoft Foundry) and Claude Mythos 5.2 (restricted research environments).

Engineering teams favor Sonnet 5.5 and Fable 5.2 for minimal prose verbosity, strict system-prompt adherence, and multi-file repository refactoring. Check our GPT vs Claude vs Gemini comparison to evaluate speed, steerability, and extended-thinking trade-offs across workloads.

Google Gemini Lineage: Native Multimodality to Gemini 4 Argon, Neon, and Hydrogen

Google DeepMind merged earlier Brain and PaLM lines into a natively multimodal architecture where text, image, audio, and video tokens share one unified latent space, as outlined in the Google DeepMind Gemini Architecture overview. By November 2026, the Google Gemini 4 models organize around elemental tiers spanning 1M to 2M context windows.

  • Gemini 4 Argon & Carbon: Heavyweight deep-reasoning flagships engineered for cross-repository refactoring and doctoral STEM synthesis.
  • Gemini 4 Neon: Mid-November 2026 tier matching deep reasoning quality at flash-grade latency and reduced token pricing.
  • Gemini 4 Hydrogen: Fast, cost-efficient worker built for high-frequency subagents and rapid code edits.

xAI Grok Lineage: Real-Time Coding and IDE Tooling Integration

xAI evolved its Grok lineage alongside developer IDE integrations and live workspace search pools. Recent iterations emphasize long-context repository navigation, real-time voice synthesis, and native image pipelines (grok-imagine-image-2.0) embedded directly inside developer coding environments.

Open-Weight Vanguard: DeepSeek-V4, Meta Llama 4, Qwen 3.8, GLM-5, Kimi K3, Mistral 3, and Inkling 2

The open-weight branch of the LLM family tree now achieves parity with closed commercial APIs on SWE-bench Verified coding, GPQA Diamond science, and multi-turn tool calling. Enterprises deploy these checkpoints under permissive Apache 2.0, MIT, or community licenses when compliance demands zero external data egress or custom RL fine-tuning.

To inspect per-model benchmarks and hardware tiers across every downloadable checkpoint, review our updated ranking of the best open-source LLMs. Comparing the proprietary vs open weight LLM family tree highlights how specialized architectural innovations now originate directly in open research labs.

DeepSeek & Thinking Machines Lab: CSA2/Engram MoEs vs 384-Expert NVFP4

In the DeepSeek-AI Hugging Face Organization, DeepSeek expanded from V2’s Multi-Head Latent Attention (MLA) and DeepSeek-R1’s pure-RL reasoning into the DeepSeek-V4 architecture generation. DeepSeek-V4-Pro (1.6T total, 49B active, 1M context, MIT) and DeepSeek-V4.1-Flash (552B Causal Encoder-Decoder + 196B Engram lookup tables, 16B decode active) use Compressed Sparse Attention 2 (CSA2) and FP4 KV caching to deliver roughly a 90% KV cache reduction (~890 bytes/token).

From Thinking Machines Lab, the Thinking Machines Inkling-2-Small Repository introduces an Apache 2.0 multimodal MoE with 594B total and 17B active parameters (top-8 of 384 experts, 1M context) scoring 90.9% to 93.0% on GPQA Diamond. Its companion Inkling 2 Mini brings 26.4B looped inference to 32GB local machines.

Meta Llama 4 & Mistral 3: Western Open Weights and 10M Contexts

Tracked in the Meta Llama Models GitHub Repository, Meta Llama 4 open weights transitioned Meta from dense Llama 3.3 baselines to sparse Mixture-of-Experts designs. Llama 4 Maverick (400B total, 17B active) targets multimodal instruction following, while Llama 4 Scout (109B total, 17B active) expands context windows to 10 million tokens for single-pass repository ingestion.

From Paris, Mistral AI anchors European enterprise sovereignty with Mistral Large 3 (675B MoE, 41B active), Mistral Small 4 (24B multimodal), and Codestral (22B IDE completion). Organizations in strict regulatory zones pair Mistral and Inkling 2 checkpoints when data residency rules restrict vendor selection.

Qwen 3.8, GLM-5.2, and Kimi K3: Coding and Multilingual Open Flagships

Across Asia’s open-weight ecosystem, three families drive rapid benchmark gains across multilingual reasoning and software engineering:

  • Alibaba Qwen 3.8: Spans the 2.4T/95B-active Qwen3.8-Max flagship down to the Apache 2.0 Qwen3.8-27B workstation favorite, building on Qwen 2.5-Coder 32B and QwQ-32B reasoning lines.
  • Zhipu GLM-5.2 / GLM-5.3: ~740B-753B MIT-licensed MoE models leading open-weight SWE-bench Pro and Code Arena evaluations for multi-step terminal agents.
  • Moonshot Kimi K3: ~2.8T MoE (~104B active) powerhouse recognized for long-horizon agentic execution and frontend engineering suites.

On-Device & Looped SLMs: Gemma 4, Phi-4, and Inkling 2 Mini

Small Language Models (SLMs) and looped edge checkpoints execute complex classification, local code completion, and tool routing inside 4GB to 24GB memory envelopes with zero cloud network hops. Rather than shrinking dense models indiscriminately, labs use synthetic textbook curation and recursive layer looping to pack deep reasoning into portable weights.

Synthetic Curated SLMs vs Weight-Sharing Looped Transformers

Google’s Gemma 4 family (31B dense, 26B MoE, 12B unified multimodal vision/audio, plus E4B and E2B edge tiers) and Microsoft’s Phi-4 (14B, MIT) rely on high-signal synthetic curriculum data to rival much larger legacy dense checkpoints. Thinking Machines’ Inkling 2 Mini (26.4B physical, 3.4B unique active) takes a complementary path, looping middle layers 6 through 17 three times per token to match 48-layer reasoning quality inside a ~20GB footprint.

Edge Hardware Fitment Across Laptops, Phones, and Microcontrollers

Quantized to 4-bit GGUF or native NVFP4/MXFP8 formats, Gemma 4 E2B/E4B and Phi-4 Mini run comfortably on 8GB laptops, smartphones, and single-board hardware. Stepping up to 24GB GPUs or 32GB Apple Silicon MacBooks unlocks Gemma 4 31B, Qwen 3.8-27B, and Inkling 2 Mini; explore our guide on edge AI inference principles for thermal and SIMD deployment limits.

2026 LLM Family Tree Comparison Matrix

Comparing model families side by side requires inspecting active parameters, native context windows, and licensing together rather than headline parameter counts alone. The master matrix below maps the primary lineages active in late 2026 across proprietary and open-weight ecosystems.

Model Family & Flagship Lab & License Architecture Type Active / Total Params Context Window Primary Production Fit
GPT-6.2 Astra / Sol OpenAI / Proprietary Unified Multimodal Reasoning Undisclosed 200K+ tokens Autonomous agents, complex orchestration
Claude 5.5 & Fable 5.2 Anthropic / Proprietary Constitutional Hybrid Undisclosed 200K - 1M+ Multi-file refactoring, steerability
Gemini 4 Argon / Neon Google / Proprietary Native Multimodal Undisclosed 1M - 2M tokens Long-context video/codebase synthesis
Grok (Latest) xAI / Proprietary Multimodal Transformer Undisclosed Long Context Real-time IDE workflows & voice
DeepSeek-V4.1-Flash / Pro DeepSeek / MIT CED + Engram / Sparse MoE 16B (552B) / 49B (1.6T) 1M tokens High-throughput coding, low KV cost
Inkling 2 Small / Mini Thinking Machines / Apache 2.0 Sparse MoE / 3x Looped 17B (594B) / 3.4B (26.4B) 1M tokens GPQA vision agents (Small) & local (Mini)
Llama 4 Maverick / Scout Meta / Llama 4 License Sparse MoE 17B (400B) / 17B (109B) Up to 10M (Scout) Private VPC RAG & enterprise fine-tunes
GLM-5.2 / Kimi K3 Zhipu (MIT) / Moonshot Massive Sparse MoE ~40B (740B) / ~104B (2.8T) 128K - 1M tokens SWE-bench agents & frontend engineering
Qwen 3.8 Max / 27B Alibaba / Custom & Apache 2.0 MoE / Dense 95B (2.4T) / 27B Dense 128K - 1M tokens Multilingual coding & 24GB workstations
Gemma 4 / Phi-4 Google / Microsoft (MIT) Dense / Edge MoE 2B-31B / 14B Dense 16K - 128K tokens On-device offline assistants & triage

Architectural Topology, Active Parameters, and Context Limits Compared

Notice how context scaling and token budgets govern real-world cost across every row in this matrix. Before finalizing model selection, calculate exact input/output ratios using our primer on how LLM tokenization works so code indentation and JSON payloads do not quietly double projected token bills.

Enterprise Model Selection, Portfolio Routing Code & TCO Pitfalls

Production AI architectures avoid single-model lock-in by adopting portfolio routing: dispatching sensitive workloads to private open weights, routing massive multi-file reads to cached long-context tiers, and delegating high-frequency classification to lightweight models like Gemini 4 Hydrogen, GPT-6 Luna, or Claude Haiku 5.5.

Five-tier enterprise LLM routing stack for data sovereignty, 1M context, frontier reasoning, and LiteLLM caching Figure 2: Enterprise portfolio routing decision stack balancing privacy boundaries, long-context cliffs, and multi-provider gateway failover.

Three billing mechanics dominate enterprise TCO when switching across LLM families:

  • 5x to 6x Output Token Multipliers: Frontier APIs charge 5x to 6x more for generated output tokens than input tokens. Constraining max_tokens and tuning reasoning effort (low vs max) prevents verbose chain-of-thought traces from multiplying spend.
  • 80% to 90% Prompt Caching Savings: Agentic loops repeatedly send identical system prompts, tool schemas, and repository prefixes. Structuring static prefixes first unlocks 80% to 90% cached-read discounts on Anthropic, OpenAI, Google, and Tinker endpoints.
  • 272K Context Price Cliffs & Lost-in-the-Middle Decay: Several commercial APIs step up the per-token base rate across an entire request once input crosses ~272K tokens, and stuffing raw logs triggers needle-retrieval decay. Pair slim RAG filtering with prompt caching rather than blindly flooding 1M-token windows.
  • Flat-Rate 1M-Context MoE Options: Models such as MiniMax-M4 eliminate 272K context price cliffs altogether at $0.80/$3.10 per million tokens; inspect our MiniMax M4 pricing and API guide for prefix-caching math and effort routing.

Multi-Model Abstraction Routing in Python (OpenAI SDK / LiteLLM Pattern)

Hardcoding vendor-specific SDKs traps engineering teams when pricing shifts or single-provider outages strike. The typed Python router below abstracts OpenAI-compatible gateways (such as LiteLLM or internal proxies) to dispatch tasks across private open-weight clusters, fast worker tiers, and frontier reasoning models with automatic failover.

import asyncio
from typing import Literal
from openai import AsyncOpenAI
from pydantic import BaseModel, Field

TaskTier = Literal["private_vpc", "fast_triage", "frontier_reasoning"]

class ModelRoute(BaseModel):
    """Configuration mapping a workload tier to a specific model family endpoint."""
    model_id: str
    base_url: str
    max_tokens: int = Field(gt=0, le=16384)
    temperature: float = Field(ge=0.0, le=1.0)

ROUTES: dict[TaskTier, ModelRoute] = {
    "private_vpc": ModelRoute(
        model_id="deepseek-v4.1-flash",
        base_url="http://vllm-internal.vpc.local:8000/v1",
        max_tokens=4096,
        temperature=0.2,
    ),
    "fast_triage": ModelRoute(
        model_id="gemini-4-hydrogen",
        base_url="https://gateway.internal.example/v1",
        max_tokens=1024,
        temperature=0.0,
    ),
    "frontier_reasoning": ModelRoute(
        model_id="claude-5-5-sonnet-20260928",
        base_url="https://gateway.internal.example/v1",
        max_tokens=8192,
        temperature=0.3,
    ),
}

async def dispatch_completion(tier: TaskTier, prompt: str, api_key: str) -> str:
    """Route a completion request across model families with automatic failover."""
    primary = ROUTES[tier]
    fallback = ROUTES["private_vpc"] if tier != "private_vpc" else ROUTES["fast_triage"]

    for target in (primary, fallback):
        client = AsyncOpenAI(base_url=target.base_url, api_key=api_key, timeout=45.0)
        try:
            response = await client.chat.completions.create(
                model=target.model_id,
                messages=[{"role": "user", "content": prompt}],
                max_tokens=target.max_tokens,
                temperature=target.temperature,
            )
            return response.choices[0].message.content or ""
        except Exception:
            continue
    raise RuntimeError(f"All model routes failed for tier={tier}")

if __name__ == "__main__":
    output = asyncio.run(
        dispatch_completion("fast_triage", "Classify this stack trace: OOMKilled exit 137.", "gw-key")
    )
    print(output)

Routing through an OpenAI-compatible proxy lets teams swap deepseek-v4.1-flash, inkling-2-small, gpt-6.2-sol, or gemini-4-neon via configuration without touching downstream application parsers.

Frequently Asked Questions About the LLM Family Tree

Which LLM family is best for coding and autonomous agents in late 2026?

Anthropic Claude Sonnet 5.5, Claude Fable 5.2, and OpenAI GPT-6.2 Sol lead multi-file repository refactoring and autonomous terminal engineering across proprietary APIs. For self-hosted private codebases, DeepSeek-V4.1-Flash, GLM-5.2, Qwen 3.8-27B, and Inkling 2 Mini deliver strong coding accuracy without external data egress.

What is the architectural difference between dense, sparse MoE, and looped transformers?

Dense models execute 100% of their weights on every token, whereas sparse Mixture-of-Experts (MoE) models route each token to a small subset of experts such as 17B active out of 594B total. Looped transformers recycle a shared middle block multiple times per token to simulate greater network depth without expanding physical RAM.

What is the difference between open-weights and true open-source AI?

True open-source AI releases training code, datasets, and weights under OSI-approved licenses like Apache 2.0 or MIT with zero commercial user restrictions. Open-weights models provide downloadable parameters under custom agreements such as Meta’s Llama 4 Community License, which limits companies above 700 million monthly active users.

How have OpenAI GPT-6, Anthropic Claude 5.5, and Google Gemini 4 changed reasoning tiers?

All three labs replaced standalone reasoning endpoints with unified model families that expose configurable reasoning effort budgets. OpenAI folds test-time compute into GPT-6.2 Astra and Sol, Anthropic pairs Claude 5.5 with Fable 5.2, and Google spans deep Argon/Carbon down to fast Neon and Hydrogen tiers.

Why do output tokens and long-context cliffs drive enterprise LLM bills?

Across frontier APIs, generated output tokens typically cost 5x to 6x more than input tokens, causing verbose reasoning loops to multiply monthly spend. Crossing vendor context cliffs such as ~272K tokens can also raise base rates across the entire request unless prompt caching or RAG trims payload depth.

How do teams avoid vendor lock-in across LLM model families?

Engineering teams route completions through an OpenAI-compatible abstraction layer or gateway like LiteLLM rather than hardcoding vendor-specific SDKs. Abstraction lets applications dynamically shift traffic between GPT-6.2, Claude 5.5, Gemini 4, and self-hosted vLLM or SGLang endpoints based on latency, privacy, and cost.

When should you deploy Small Language Models like Gemma 4, Phi-4, or Inkling 2 Mini?

Deploy Small Language Models when workloads demand zero-egress offline privacy, sub-200ms local latency, or execution inside 4GB to 24GB hardware budgets. Models like Gemma 4 (12B/E4B), Phi-4 (14B), and Inkling 2 Mini (26.4B looped) handle classification, local IDE autocomplete, and edge tool routing without datacenter GPUs.

Building a Resilient Multi-Model Portfolio

Stop treating model selection as a permanent single-vendor commitment. The late-2026 LLM landscape rewards architectures that pair frontier reasoning models (GPT-6.2 Astra, Claude Fable 5.2, Gemini 4 Argon) for complex planning with fast workers (Gemini 4 Hydrogen, GPT-6 Luna) and private open weights (DeepSeek-V4.1-Flash, Llama 4, Inkling 2) for high-volume or sensitive traffic.

Audit your token ratios first to catch 5x output multipliers and ~272K context cliffs early, then lock prefix caching and a unified OpenAI-compatible gateway behind strict Pydantic schemas. Keeping your model router decoupled ensures your team can adopt tomorrow’s checkpoints in minutes with zero application rewrites.

Establish an automated regression suite across golden coding, extraction, and tool-calling prompts before promoting any family upgrade, ensuring latency gains never silently erode schema accuracy.

LLM AI Models OpenAI Anthropic Gemini 4 DeepSeek Llama 4 Inkling 2

Found this helpful? Share it with others.

Raj, Founder, AI Agents Kit at AI Agents Kit

Raj

Founder, AI Agents Kit

Raj is the founder of AI Agents Kit, where he writes hands-on guides on AI agents, agent frameworks, Model Context Protocol (MCP), prompt engineering and developer tooling. He builds and tests the tools he covers and focuses on practical, working examples for developers and teams adopting agentic AI.

AI Agents LLMs Prompt Engineering Python TypeScript