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
- LLM fundamentals & architecture
- Tokens, tokenization & context windows
- Prompt engineering
- Reasoning models & test-time compute
- Multimodal AI: vision, audio, video
- RAG & retrieval
- Embeddings & vector search
- AI agents & tool use
- Structured output & function calling
- Fine-tuning & post-training
- Local inference errors, string by string
- Running local models day to day
- Testing code that calls an LLM
- Snapshot and property testing for model output
- Regression suites for prompts
- Eval gates in CI
- Flaky tests against a model
- Determinism and the cost of testing
- Contract and streaming tests
- Testing tool calls and retrieval
- Inference, serving & latency
- Rolling out a prompt change
- Testing AI systems in practice
- Forecasting a time series
- Machine learning on tabular data
- Geospatial data and models
- Understanding audio that is not speech
- Understanding video
- Core computer vision tasks
- Machine learning on graphs
- Point clouds and 3D
- Evaluation, benchmarks & LLM-as-judge
- Sensor and IoT data
- Logs and event streams
- Models over biological sequences
- Machine learning on molecules
- Embedding and searching code
- Extracting invoices and purchase orders
- Receipts, statements and tax forms
- Insurance policies and contracts
- Deeds, court filings and patents
- Extracting from medical records
- Observability & LLMOps
- CVs, certificates and identity documents
- Shipping, customs and technical documents
- Meetings, email, chat and filled-in forms
- Building an extraction pipeline
- Business, property and inspection documents
- Contract clauses and insurance claims
- Regulated and compliance documents
- Consumer, travel and closing documents
- Mapping one chat API onto another
- SDK and framework migrations
- Hallucination & failure modes
- Re-embedding and model deprecation
- Cutting over between providers
- Parity gaps, shims and legacy endpoints
- Moving between model versions
- Migrating vector stores and caches
- Mapping capabilities and parameters
- Migrating pipelines and agents
- Contracts, runbooks and rollback
- Auditing a codebase before a cutover
- Compliance and fine-tune migration
- LLM cost engineering
- Routing, cost tracking and multi-tenancy
- What a migration does to your prompts
- AI security & prompt injection
- Privacy, compliance & data residency
- AI governance, policy & society
- Building reliable AI applications
- AI hardware, GPUs & compute
- Open-weight models & local inference
- AI for developers & coding agents
- AI in industry: vertical playbooks
- AGI, superintelligence, alignment & the long future
- Machine learning foundations
- NLP fundamentals & classical tasks
- Data engineering for AI
- Synthetic data & dataset curation
- AI product design & UX
- Search, ranking & recommendation
- Enterprise adoption & change management
- AI careers, skills & teams
- Reading AI research
- AI in science & discovery
- Robotics & embodied AI
- AI economics, markets & business models
- AI myths, hype & media literacy
- Context engineering
- Shipping AI features: patterns & anti-patterns
- Build it: end-to-end AI tutorials
- Python for AI: hands-on recipes
- TypeScript, React and the web
- Frameworks and SDKs
- Errors and troubleshooting
- AI facts, numbers and statistics
- The history of AI
- The maths behind AI
- Architectures beyond the transformer
- Reinforcement learning
- Diffusion and generative media
- Speech, audio and voice engineering
- Benchmarks, one at a time
- AI search visibility
- Infrastructure and operations
- Databases and storage for AI
- Knowledge graphs and structured knowledge
- Classical ML in production
- Regulation, jurisdiction by jurisdiction
- Prompt recipes and pattern library
- AI for people who do not write code
- Writing, media and creative work
- Edge and on-device AI
- Interpretability and model internals
- Field notes
- OpenAI model behaviour
- Claude model behaviour
- Gemini model behaviour
- Llama model behaviour
- Mistral model behaviour
- Qwen model behaviour
- DeepSeek model behaviour
- Cohere model behaviour
- Grok model behaviour
- Small model behaviour
- Token cost by language and script
- Transliteration, romanization and script handling
- Locale-correct output
- Multilingual generation quality
- Multilingual pipelines
- The EU AI Act, article by article
- AI under the GDPR and EU data law
- US AI regulation, state and sector
- International AI governance and standards
- AI litigation and enforcement
- Running AI workloads on AWS
- Running AI workloads on Google Cloud
- Running AI workloads on Azure
- AI at the edge: Workers, Vercel and Netlify
- Serving models on Kubernetes
- Operating AI infrastructure
- Quantization formats and what they cost
- llama.cpp, flag by flag
- Ollama and the desktop local-model runtimes
- Local models on Apple Silicon
- Hardware for local inference
- Running speech and embedding models locally
- Model files, adapters and conversion
- VRAM arithmetic for local models