Skip to content

Hybrid model architectures

Models that are not plain transformers — Mamba hybrids, sliding-window attention, mixture-of-experts routing — and the behaviour those choices produce at inference time.

For about five years the answer to “what architecture is this model” was the same for everything worth calling: a decoder-only transformer with full causal attention, and the only interesting numbers were the parameter count and the context length. That has stopped being true. The models in this cluster replace some of the attention layers with state-space blocks, or restrict most layers to a fixed local window, or route each token through a fraction of the feed-forward weights — and in each case they do it for a reason you can observe from outside, in memory footprint, in how the cost of a long prompt grows, or in the gap between the size on the model card and the price on the invoice.

These pages work from the published artefact outward: what the model card or the licence actually says, and then what that choice does to you when you serve or call the thing. Architecture that has no consequence you can measure is left out. Architecture that explains why a 400-billion-parameter model is quoted at a small model’s price, or why a 256K window fits on hardware that could not hold a transformer’s KV cache at a quarter of it, is the whole subject.

Falcon’s Context Window and License Terms Across Versions

What TII's model cards state for context length in each Falcon generation, and which licence each one shipped under.

9 min read

OLMo’s Fully Open Training Data, and What “Open” Means Beyond Weights

The list of artefacts AI2 publishes with OLMo — corpus, code, checkpoints, logs, evaluations — and what an open-weight release omits by comparison.

9 min read

Jamba’s Context Window: A Hybrid Mamba-Transformer Architecture

The context length AI21 documents for Jamba, and what the mixed Mamba-and-attention layer stack changes about the cost of using it.

9 min read

Nemotron’s Context Window and Function-Calling Support

Why Nemotron has no single context length, how the figure differs by line, and what tool-calling format each family expects.

9 min read

DBRX’s Mixture-of-Experts Architecture and Context Window

The context length, total and active parameter counts Databricks documents for DBRX, and what fine-grained expert routing changes about them.

8 min read

Yi Models’ Context Window and License Terms

Context lengths across 01.AI's Yi releases, including the 200K variants, and how the licence moved from registration-gated to Apache 2.0.

8 min read

MPT’s ALiBi Context Extension: No Position Fine-Tuning Needed

How Attention with Linear Biases replaces position embeddings with a distance penalty, and why that lets MPT run past its trained sequence length.

9 min read

StableLM’s Context Window and Stability AI’s Licensing Terms

Context lengths across the StableLM releases and how Stability AI's licence moved from CC BY-SA to a revenue-threshold community licence.

8 min read

GPT-4o’s Stop Parameter Fails on Multi-Token Sequences

Why a stop string that spans several tokens can pass straight through, and the four causes that produce that symptom.

9 min read

Claude Has No Default max_tokens: The Ceiling by Model Version

Why the Messages API requires max_tokens rather than defaulting it, and how the maximum accepted value has risen across Claude model versions.

8 min read

Gemini’s responseMimeType Options Beyond JSON

The MIME types Gemini's generation config accepts for constrained output, with a worked request for each and the fields it is confused with.

8 min read

Command R’s Grounded and Ungrounded Generation Modes

How Cohere's Chat API switches into citation-producing grounded generation, and what the response gains when it does.

9 min read

Other topics