
Language models are no longer autocomplete with a bigger vocabulary. By 2026 they are systems with different training stages, architectures, input modes, specializations, and deployment profiles. Two models can share the same transformer backbone and still behave like different products.
This guide maps that stack for people who have to make engineering decisions. Model names and version numbers move quickly, so treat the examples as representative rather than permanent. The examples below reflect the market as of October 2026.
Updated October 23, 2026: added decision models (Jev and its rivals), diffusion language models, time-series foundation models, and byte-level models. See the update section at the end.
1. Training stage: what the model was built to do
The first distinction is not architecture. It is training stage.
| Stage | What it means | Typical behavior |
|---|---|---|
| Base model | Next-token prediction on a large text corpus | Strong completion, weak instruction following |
| Instruct or chat model | Supervised fine-tuning plus preference optimization | Follows requests and safety policy |
| Ablated or uncensored model | Safety alignment removed or weakened | Fewer refusals, less predictable guardrails |
A base model is a statistical engine. It has broad world knowledge, but it has not been taught to answer a question. Ask it a list of questions and it may simply continue the list.
An instruct model has gone through supervised fine-tuning and some form of preference optimization, usually RLHF or DPO. That is what turns a text predictor into something that can follow an instruction, hold a persona, and respect a policy.
Ablated models sit at the other end. The term “abliteration” is industry shorthand for weakening or removing refusal behavior. These models are useful for security research and red-teaming, but they are a poor default for production. The guardrails were part of the product.
The practical lesson: architecture tells you how a model computes. Training stage tells you how it behaves.
2. Architecture: dense, sparse, and linear
The standard transformer still dominates, but the design space has widened. The reason is cost. Self-attention scales quadratically with sequence length, which becomes painful as context windows grow.
2.1 Dense models and sparse mixture of experts
A dense model activates every parameter for every token. Gemma 4 12B Unified is a familiar dense example. This is predictable and easy to optimize, but it is expensive at scale because the compute bill tracks the full parameter count.
A sparse mixture-of-experts model, or MoE, replaces dense feed-forward layers with several expert networks and a router. The router sends each token to a small subset of experts. DeepSeek-V3 remains a useful example: 671B total parameters, about 37B active per token. For new work, benchmark DeepSeek V4.1-Flash-1017.
That distinction matters:
| Design | Compute per token | Memory requirement | Trade-off |
|---|---|---|---|
| Dense | All parameters | Full model size | Simple, expensive to serve |
| Sparse MoE | Active experts only | Full model size or close to it | More capacity per active FLOP, harder to tune |
A sparse model does not need 671B worth of compute for every token, but it still needs enough memory to hold the weights. That is why MoE improves throughput more reliably than it improves minimum hardware requirements.
2.2 Decoder-only, encoder-decoder, and encoder-only
These labels describe attention masks and training objectives, not quality.
- Decoder-only: Causal, autoregressive generation. GPT-5.5 and the Llama 4 family are the canonical examples. This is the default for chat and general-purpose generation.
- Encoder-decoder: The encoder reads the full input and the decoder generates the output. T5Gemma 2 and BART follow this pattern. It remains a good fit for translation, summarization, and other sequence-to-sequence tasks.
- Encoder-only: Built for representations rather than generation. ModernBERT is the current encoder-only example. BERT remains the classic reference. These models are still useful for classification, retrieval, and reranking.
2.3 State space models and recurrent hybrids
Long context exposed the cost of attention. Sub-quadratic architectures attack that cost directly.
State space models (SSMs) treat sequence modeling as a linear dynamical system. Mamba-3 is the usual reference point. The appeal is linear scaling and constant-memory streaming, which is attractive for very long inputs.
Recurrent variants such as RWKV-7 aim for the best of both worlds: parallel training like a transformer, and linear-time inference like a recurrent network.
In practice, many long-context systems are hybrids. They mix attention layers with SSM or recurrent layers so that the model keeps precise recall where it matters and pays less for the rest. Pure replacement is less common than careful mixing.
3. Multimodal intelligence: perception and fusion
Modern systems such as Gemini 4 Argon and GPT-5.5 are marketed as multimodal, but the exact input modes vary by model and API. The interesting engineering question is not whether a model accepts an image. It is how the modalities are combined.
3.1 Fusion strategies
| Strategy | How it works | Strength | Weakness |
|---|---|---|---|
| Early fusion | Modalities are combined at the input stage | Captures low-level interactions | Requires tight synchronization |
| Intermediate fusion | Separate encoders feed cross-attention layers | Strong visual question answering | More complex to train |
| Late fusion | Independent models make predictions that are aggregated | Modular and easy to swap | Misses cross-modal nuance |
Early fusion is conceptually simple, but it puts a lot of pressure on data alignment. Intermediate fusion is the common choice for visual question answering because it lets a vision encoder and a text model exchange information at the representation level. Late fusion is useful when you already have strong single-modality models and want a modular pipeline.
“Native multimodal” usually means the model was trained jointly across modalities. It does not guarantee better results for every task. A specialized OCR pipeline can still beat a general vision-language model on a messy scanned document.
3.2 Perception, documents, and speech
OCR and document parsing: Models such as PaddleOCR-VL-1.6 and olmOCR 2 use vision encoders to turn document images into structured Markdown or LaTeX. This is useful for retrieval over PDFs, contracts, and technical manuals, where layout matters as much as the text.
Speech and TTS: Whisper large-v3-turbo is a common open choice for speech recognition. GPT-4o Transcribe is the hosted API option. Eleven v3 is the current ElevenLabs synthesis line. Measure latency inside your own network and application stack rather than relying on a vendor headline.
Video and audio: The hard problems are token budget, timestamp alignment, and long-sequence memory. Supporting a modality is not the same as handling it well at scale.
4. Functional specialization: coding, domains, and translation
General-purpose models are versatile. Specialized models win when the task has a clear distribution and a high cost of error.
Coding specialists: Qwen3.6-35B-A3B is a strong open-weight option, and DeepSeek V4.1-Flash-1017 is the current DeepSeek model to benchmark. Both are trained on large code corpora and tuned for multi-step software work: refactoring, test generation, repository navigation, and agentic debugging. On the hosted side, Qwen3.8-Max and Qwen3.8-Flash-Next are the current Qwen API models. The useful comparison is not a generic chat benchmark. It is whether the model can use tools, read a codebase, and recover from a failing test.
Domain adaptations: MedGemma 1.5 and BioMistral 7B target medicine. FinBERT remains the standard encoder for financial sentiment, while FinGPT covers generative finance. Harvey Tenet targets legal work. These systems are usually fine-tuned or retrieval-augmented on specialized corpora to reduce terminology errors. Domain specialization lowers the rate of obvious mistakes, but it does not remove the need for evaluation and human review.
Translation: Large general models such as Claude Sonnet 5.5 have narrowed the gap with dedicated neural machine translation systems. Dedicated models such as NLLB-200 still matter for low-resource text pairs, and SeamlessM4T v2 covers speech translation. The right choice depends on language pair, domain, latency, and whether you need terminology control.
Specialization is a product decision. A general model with good tools and retrieval often beats a narrowly tuned model that has no access to the right context.
5. Reasoning and agentic workflows
The frontier moved from predicting the next token to spending tokens on reasoning.
Reasoning models: GPT-5.5 Thinking is the current explicit reasoning line from OpenAI. Claude Opus 5.5 is the high-end Anthropic option. On the open side, DeepSeek V4.1-Flash-1017 is the model to benchmark, although DeepSeek has not shipped a formal successor to R1. These systems spend tokens on internal reasoning before producing an answer. That improves performance on math, STEM, and multi-step logic, at the cost of latency and token spend. It is usually the wrong trade for a simple classification or extraction task.
Tool use and function calling: Models can emit structured JSON to call APIs, search the web, query a database, or run code. This is what turns a model into a component inside a larger system rather than a standalone chat product.
Large action models: LAM (large action model) is the common label for an LLM combined with memory, planning, and tools to execute multi-step tasks. The model is one part of the system. Reliability comes from the surrounding architecture: schemas, retries, sandboxes, evaluations, and human checkpoints.
A useful rule: if the workflow has side effects, the model should not be the only line of defense.
6. Deployment and optimization: quantization and distillation
Running a capable model on your own hardware is an exercise in trade-offs.
6.1 Quantization and GGUF suffixes
Quantization reduces the bit precision of model weights. That lowers memory use and can improve throughput, but it also changes quality. GGUF filenames encode the trade-off.
| Suffix | Meaning | Practical effect |
|---|---|---|
| Q4, Q5, Q8 | Base bit depth | Lower bit depth saves memory, higher bit depth preserves quality |
| K | Grouped K-quants | Separate scales per group, usually better than older legacy quants |
| S, M, L | Size and quality profile | S favors small files, M is the common balance, L favors quality |
Q4_K_M is a common default for local inference because it balances size and quality. It is not universal. A code model, a math model, and a chat model can tolerate different levels of compression. Measure on your own evaluation set.
6.2 Knowledge distillation
Distillation trains a smaller student model to mimic the probability distribution of a larger teacher model. The student learns from soft targets, not only from hard labels. Reported retention varies widely by task and training setup. Some distilled models keep most of the teacher’s quality at a fraction of the size, but you should verify that claim on your workload rather than assume it.
Other deployment levers matter too: KV-cache management, continuous batching, speculative decoding, and context-length limits. Quantization gets the attention, but serving efficiency is usually a stack of small decisions.
7. Hardware and openness
Apple Silicon and MLX: MLX is Apple’s array framework for Apple Silicon. Its advantage is unified memory, which lets the CPU and GPU work with the same data without an explicit copy. On a Mac with enough memory, this makes local inference of 30B+ parameter models practical. Memory bandwidth is usually the limiting factor, not raw compute.
The broader hardware market: NVIDIA CUDA remains the default for data-center training and serving. AMD’s ROCm stack is a real alternative, but software support still varies by model and framework.
Proprietary versus open weights: Closed models such as GPT-5.5 and Claude Sonnet 5.5 are accessed through APIs. Open-weight models such as Llama 4 Scout and Maverick can be downloaded and self-hosted, which helps with data sovereignty and cost control. Llama 4 Behemoth remains a preview and is not generally available. Mistral Large 4 is published as open-weight, but as of October 2026 it is a public preview and the downloadable weights are scheduled for the end of the month. Treat it as an API preview until those weights actually ship. Open weights is not the same as open source. Read the license before you build a product around it.
8. Summary of model categories
| Category | Examples | Best for | Typical deployment |
|---|---|---|---|
| General frontier | GPT-5.5, Claude Sonnet 5.5, Gemini 4 Argon | Chat, analysis, tool use | API |
| Reasoning | GPT-5.5 Thinking, Claude Opus 5.5, DeepSeek V4.1-Flash-1017 | Math, STEM, complex logic | Cloud or data center |
| Coding | Qwen3.6-35B-A3B, DeepSeek V4.1-Flash-1017 | Software engineering, refactoring, agentic debugging | Local or managed |
| Multimodal | Gemini 4 Argon, GPT-5.5, Molmo 2 | Vision-language reasoning, pointing, document QA | Proprietary API or hosted |
| Small language models | Phi-4 14B, Gemma 4 12B Unified | Edge devices, mobile, low latency | Local or edge |
| OCR and documents | PaddleOCR-VL-1.6, olmOCR 2 | PDF parsing, structured extraction | Local or hosted |
| Speech | Whisper large-v3-turbo, Eleven v3 | Transcription, synthesis | Local or API |
| Embedding | gemini-embedding-2, Voyage 4 | RAG, semantic search | Vector database or embedding service |
| Decision | Jev, OpenAI Decisions (gpt-6-luna), Strands Decider 2B, Laya | Routing, classification, guardrails, agent next-step choices | API, or local for the open models |
| Text diffusion | DiffusionGemma 26B-A4B | High-throughput drafting, infilling | Local or hosted |
| Time series | Timestral 1.0, TimesFM-3 | Zero-shot forecasting | CPU or small GPU |
9. How to choose a model without chasing benchmarks
Start with the task and a small evaluation set that represents your real inputs. Then work through the constraints:
- Does the model need tools, retrieval, or a long context window?
- What latency and throughput does the product actually require?
- How much memory and compute can you afford per request?
- Does the license allow your deployment and data handling model?
- What happens when the model is wrong, and who catches it?
Measure time to first token, decode speed, peak memory, and cost per successful task. A model that wins a public benchmark can still lose on your workload once context length, quantization, and concurrency are real.
Prefer the smallest model that passes your evaluation. Keep a larger model as a fallback for hard cases. That pattern is easier to operate than routing every request to the biggest model you can afford.
10. Bottom line
The architecture of intelligence is less about one model and more about the stack. Training stage sets behavior. Architecture sets the cost curve. Modality sets the inputs. Specialization sets domain fit. Reasoning strategy sets latency. Deployment sets the economics.
The useful question is not “which model is best.” It is “which combination of model, context, tools, and serving setup passes my evaluation at a cost I can defend.”
Update, October 23, 2026: decision models and other types we missed
The original version of this guide treated every model as something that generates text. A few categories have broken out since, and one of them is moving faster than anything else in the market.
Decision models
A decision model does not write prose. You send it a state (text or structured data) plus a set of typed questions, and it returns a choice from a fixed list, a score on a scale, or a yes/no probability, each with a confidence value. Your code acts when confidence clears a threshold and escalates when it does not.
- Jev (TypeSafe AI): The model that started the category, released in limited access on September 15, 2026. TypeSafe quotes 70 to 500 ms end-to-end latency and $0.042 per million input tokens, with output not billed. It answers all questions in one parallel pass. According to TechCrunch, Vercel reported that 35% of paid teams on its AI Gateway used Jev within two weeks, which Vercel calls the fastest adoption it has measured. Weights are not public.
- OpenAI Decisions API: Public beta since October 6, 2026, at
POST /v1/decisions, running on gpt-6-luna. It returns predicates, choices, and scores, accepts text and inline images, and bills $0.10 per million input tokens with no output charge. - Strands Decider 2B (AWS): Released October 1, 2026 by AWS Strands Labs as an open-source model built on Qwen3.5-2B and small enough to run locally. It scores the options you supply instead of generating the next word.
- Laya (Convai Innovations): An open-weight, Apache 2.0 decision model on a ModernBERT-large backbone (about 421M parameters, 512-token input on the main English checkpoint). Treat its specs as provisional until you check the model card yourself.
Where they fit: routing, intent and safety classification, screening agent tool calls, and choosing an agent’s next step. Teams report large cost and latency wins when a decision model replaces a general LLM in a classification step. Most of the bigger speedup figures are vendor claims, and independent reports are more modest.
Where they do not: A decision model cannot return an invalid type, but it can still return a confidently wrong valid answer. As Armin Ronacher put it, the design “delegates the hallucination problem a little bit to the user.” TypeSafe’s own documentation flags counting, arithmetic, and date comparison as weak spots, and accuracy drops on large, noisy inputs. Keep math and hard rules in code, calibrate your thresholds on your own labeled data, and log the low-confidence cases.
Benchmarks: The community Decision Index leaderboard on Hugging Face compares typed decision models with chance-corrected scores. It is unofficial, and vendor-published numbers built on it have not always matched the board. Use it to build a shortlist, then test on your own data.
Diffusion language models
Instead of producing one token at a time, a diffusion language model starts from noise and refines a whole block of text in parallel. Google DeepMind’s DiffusionGemma (June 2026, Apache 2.0, Gemma 4 26B-A4B backbone) denoises 256-token blocks, and Google claims up to 4x faster generation than comparable autoregressive models. Quality still trails standard Gemma 4, and local runtime support lagged at launch. It is worth testing for high-throughput drafting and infilling, but it is not yet a drop-in replacement for your main model.
Time-series foundation models
These models forecast numbers, not words. They are trained on large collections of time series and forecast new series zero-shot. Mistral released Timestral on October 15, 2026, in 5M, 28M, 123M, and 209M sizes, with probabilistic (quantile) output and CPU-friendly inference. Google’s TimesFM-3 (330M, August 2026) is the main comparison. The benchmark leadership claims come from Mistral, and the license terms for large commercial users should be checked on the model card before you build on it.
Byte-level models
Byte-level models read raw bytes instead of a fixed tokenizer vocabulary. That helps with rare languages, code, typos, and odd formats where tokenizers struggle. Ai2’s Bolmo 1B and 7B convert existing Olmo 3 models to byte-level rather than training from scratch, and research such as hierarchical autoregressive transformers has pushed the idea to 70B parameters. This is still early. Expect it to show up first in multilingual and robustness-sensitive workloads.
What changes in practice
The stack now has a cheap, fast layer that does not generate text at all. A sensible 2026 architecture uses a decision model to route and gate, a general or reasoning model to generate, and plain code for anything that must be exact. The rule from section 9 still applies: prefer the smallest model that passes your evaluation. For many classification steps, that is now a decision model rather than a chat model.
Get the next one in your inbox
Enjoyed this? I write about local AI, self-hosting, and cloud cost ninjutsu. Join the Ninja Dispatch for occasional, high-signal notes. No fluff.

