# State space models (SSMs)

Source: https://stateofthefuture.io/ai-software/ai-models/state-space-models/
Checked: 25 Nov 2026

Language model layers that read text with a fixed-size memory, not growing attention.

Potential 36. Readiness 69. Position: Challenger.

## What it is

A transformer compares every word with every earlier word, so work grows with the square of the text length and the memory it keeps per conversation grows with every word. A state space model passes a fixed-size summary forward instead, so work grows in a straight line with length. Mamba made the summary depend on the input, which made these models competitive on language ([Gu and Dao, 2023](https://arxiv.org/abs/2312.00752)).

The number: IBM's hybrid Granite 4.0 models, nine Mamba-2 layers to each attention layer, use over 70% less memory than plain transformers on long inputs and many users at once ([IBM, Oct 2025](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models)).

Cost: No public price per token that separates the architecture from the model.

What counts: state space and similar fixed-memory layers, almost always mixed with some attention layers. Shrinking a transformer's growing memory is on [KV cache](https://stateofthefuture.io/ai-software/ai-inference/kv-cache/).

## The read

Ready and spreading, with moderate potential: hybrids cut the cost of long inputs by a few times, not by ten. Attention stays in every leading design, so it is a component, not a replacement.

The catch: Fixed memory forgets. Pure state space models recall exact details from long text less well, which is why labs keep some attention layers ([arXiv](https://arxiv.org/abs/2406.07887)).

## How it scores

- **Impact 2/5.** Lower serving cost for long inputs shows on the price per token.. Users of long documents and agents would see cheaper or faster answers from the same kind of product. It does not alone halve the cost of compute. Close to 3. Judgement
- **Novelty 3/5.** About three to five times more throughput than comparable transformers.. The measure is throughput at long context. Reported cases: 5 times for Mamba ([arXiv](https://arxiv.org/abs/2312.00752)); up to 3 times for NVIDIA's Nemotron-H against Qwen-2.5 and Llama-3.1 ([arXiv](https://arxiv.org/abs/2504.03624)). Middle of the cases. Close to 2 against transformers with a compressed memory. Judgement
- **Viability 4/5.** In paid use, with results others can test on open weights.. IBM sells Granite 4.0 on watsonx and releases the weights under Apache 2.0 ([IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models)). Nemotron-H claims accuracy equal to or better than similar transformers ([arXiv](https://arxiv.org/abs/2504.03624)). Close to 5. Maker's claim
- **Drivers 3/5.** Paid deployments of free hybrid models through cloud platforms.. Granite 4.0 runs on watsonx, NVIDIA NIM and other platforms ([IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models)). No source shows buyers committing ahead. Judgement
- **Ease of adoption 3/5.** Serving teams swap models, but need new kernels and testing.. Making the recurrence fast on GPUs took a purpose-built, hardware-aware algorithm ([arXiv](https://arxiv.org/abs/2312.00752)). Judgement
- **Supply 5/5.** Open models and code from several labs.. Mamba, Granite 4.0, Nemotron-H and Qwen3-Next weights are public ([IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models); [Hugging Face](https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct)). Independent

The brake: Engineering. Chips and serving software are built for attention.

## What changed

- 1 Dec 2023: Mamba paper: 5 times the throughput; a 3B model matches transformers twice its size. Made the approach competitive on language [arXiv](https://arxiv.org/abs/2312.00752)
- 4 Apr 2025: NVIDIA's Nemotron-H replaces most attention layers; up to 3 times faster. A chip maker ships a hybrid [arXiv](https://arxiv.org/abs/2504.03624)
- Sep 2025 [unverified]: Alibaba's Qwen3-Next: three linear layers to one attention layer, 10 times throughput past 32,000 tokens. A leading open-model lab adopts the pattern [Hugging Face](https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct)
- 2 Oct 2025: IBM ships Granite 4.0 hybrids for paid enterprise use. First paid enterprise line built on it [IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models)

## Who captures the value

The firms serving models keep the saving or pass it to buyers as lower prices. The architecture is open, so nobody charges for it. Chip makers may gain if they build hardware suited to the recurrence. Judgement.

## What would change this

- 2027: A leading closed model is confirmed to use state space layers. Would move drivers to 4.
- 2027 to 2028: A pure state space model matches transformers on long-text recall. Would move novelty to 4.

Prediction: by 31 December 2027, at least two more of the largest open-weight model families ship a hybrid with fixed-memory layers. Probability 70%. NVIDIA, IBM and Alibaba already have ([arXiv](https://arxiv.org/abs/2504.03624); [IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models); [Hugging Face](https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct)).

## Against the alternatives

| Way of doing it | What it gives you | What it costs you | Where it is now |
| --- | --- | --- | --- |
| **State space models, in hybrids (this page)** | Fixed memory per conversation; a few times the throughput | Weaker exact recall; new kernels | In paid use, growing |
| [KV cache](https://stateofthefuture.io/ai-software/ai-inference/kv-cache/) compression and reuse | Keeps plain transformers; less memory | Some accuracy loss at high compression [unverified] | Routine |
| Sparse or windowed attention | Less work per word | Can miss distant text [unverified] | In paid use [unverified] |
| Retrieval instead of long context | Short prompts | Misses what retrieval does not fetch | Routine |
| Plain transformers on larger memory | No model change | Cost grows with length | Routine |

## Who is involved

| Name (country, listing) | Role | Money | Stage |
| --- | --- | --- | --- |
| IBM (US, NYSE) | makes, provides as a service | part of IBM | In paid use ([IBM](https://www.ibm.com/new/announcements/ibm-granite-4-0-hyper-efficient-high-performance-hybrid-models)) |
| NVIDIA (US, Nasdaq) | makes | part of NVIDIA | Released ([arXiv](https://arxiv.org/abs/2504.03624)) |
| Alibaba Qwen (China, NYSE and Hong Kong) | makes | part of Alibaba | Released ([Hugging Face](https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct)) |
| Cartesia (US, private) | makes models for voice and devices | not disclosed | In paid use [unverified] |

Works with: Mixture-of-experts layers; attention layers in the same model.
Needs: GPU kernels for the recurrence; serving software that supports them.
Feeds: Long-document tools, agents, on-device assistants.

Author: Lawrence Lundy-Bryan, State of the Future (https://stateofthefuture.io/)
