
Feed a local language model a long conversation or a folder full of documents and you can spend more time waiting for the answer to start than reading it. China’s SpikingBrain project tackles that delay by changing how models process and store long prompts. Its researchers have processed millions of tokens in inference tests and trained models at scale on Chinese MetaX GPUs.
The original project drew attention with a 100× speed claim. The April 24, 2026 SpikingBrain 2.0 paper gives us a better benchmark to work from. The gains could help local AI handle longer documents and sessions, but the biggest tests still ran on clusters of data center GPUs.
What is SpikingBrain?
SpikingBrain is a family of language models led by researchers at the Chinese Academy of Sciences’ Institute of Automation. Their September 2025 paper introduced a 7-billion-parameter model and a 76-billion-parameter mixture-of-experts model. The larger model uses 12 billion parameters per token, so only part of the network does the work for any given token.
The team replaced costly attention operations, adapted pretrained models to the new architecture, and encoded some internal signals as sparse, brain-inspired spikes. Reusing a pretrained model reduces the amount of training needed to try a different architecture.
The second generation includes a 5B language model and a 5B vision-language model, with inference code for both. The goal is to keep more of a conventional transformer’s accuracy while cutting the cost of working through a long prompt.
How SpikingBrain differs from conventional transformers
When a full-attention transformer processes a prompt, each token can attend to all earlier tokens. Doubling the prompt length can quadruple the attention work. The key-value (KV) cache also grows as the model processes and generates tokens. If you’ve had Ollama slow down as a conversation grows, you’ve seen what can happen when the cache starts to crowd GPU memory.
Linear attention summarizes earlier tokens in a fixed-size state. Updating that state costs less than comparing every new token with the whole history, but the model can lose details it needs later. SpikingBrain 2.0 combines sparse linear attention with layers that consult selected blocks of the uncompressed KV cache. The model still has a cache that grows with the prompt. The compressed layers do more of the work, leaving fewer layers to carry the full history.
Spike encoding addresses a different cost. Biological neurons pass signals through electrical impulses. SpikingBrain represents some of its activations as sparse, quantized signals. Compatible hardware can skip inactive operations. The original W8ASpike implementation approximates spikes in tensors. True asynchronous spiking needs specialized hardware and operators.
More on context and KV cache:
Is SpikingBrain really 100 times faster?
On NVIDIA H100 GPUs, SpikingBrain-7B produced its first token 26.5× sooner than Qwen2.5-7B with a 1-million-token prompt. Time to first token (TTFT) measures the wait for an answer to start. Once the answer starts, a different metric tracks how quickly the model writes it.
At 4 million tokens, the team estimated a first-token speedup of more than 100× by extrapolating Qwen2.5’s results from shorter prompts. A measured comparison arrived with SpikingBrain 2.0. On 32 NVIDIA H100 GPUs, it took 46.5 seconds to produce its first token, versus 470.5 seconds for Qwen3-4B. That’s a 10.13× speedup using the unrounded times. The advantage widened across the same test series. At 250K tokens on two H100s, the times were 15.7 versus 28.9 seconds. At 500K on four GPUs, they were 18.3 versus 57.3. At 1 million on eight GPUs, they were 23.0 versus 115.1. At 2 million on 16 GPUs, they were 33.1 versus 236.3.

The vLLM benchmark on eight 80GB A100 GPUs shows how much the result depends on prompt length. At 512,000 tokens, SpikingBrain 2.0 cut the first-token wait from 67.5 seconds to 15. At 128,000 tokens, it still started sooner but took longer to produce each subsequent token. It also fit a 10-million-token prompt that Qwen3 couldn’t fit. The first token arrived nearly 110 minutes later.
The memory benchmark leaves open how reliably the model finds details inside a huge prompt. In the developers’ RULER-32K long-context tests, SpikingBrain 2.0 scored 50.87, up from 17.21 for its predecessor. Qwen3-4B Base scored 62.28. If you’re trying to find one clause in a contract or trace a call through a large codebase, a shorter prompt with the right material may still give you a better answer.
Does SpikingBrain need NVIDIA GPUs?
The developers adapted distributed training software and communication routines to train on hundreds of MetaX C550 GPUs. Converting the Qwen2.5 checkpoint into SpikingBrain-7B took about 150 billion additional training tokens. That’s roughly 2% of the authors’ reference budget for training from scratch, and it leaves out the work that went into the original Qwen model.
Getting a large training job to run on another supplier’s hardware gives researchers more choice. The inference benchmarks above used NVIDIA GPUs. Comparing the two suppliers’ chips would require testing the same model and workload on both.
Can you download and run SpikingBrain locally?
The SpikingBrain 1.0 downloads include 7B base, chat, vision-language, and INT8-weight checkpoints on ModelScope. The project has published results for the 76B model, but its repository lists no checkpoint for it. The SpikingBrain 2.0 downloads include base checkpoints trained for contexts from 8K to 512K tokens, plus instruction-tuned, reasoning, and vision-language versions.
At BF16 precision, the weights alone take about 10GB for 5B parameters and 14GB for 7B. These are estimates based on two bytes per parameter. The rest of the memory budget goes toward the cache, attention states, and runtime buffers. A 12GB GPU may fit the 5B weights and still run out of memory well before 512K tokens.
Both versions offer Hugging Face-compatible implementations and custom vLLM integrations. SpikingBrain 2.0 also requires specialized attention dependencies. As of November 26, 2026, we couldn’t verify maintained, ready-to-use support for the released checkpoints in Ollama or standard llama.cpp.
Both code repositories use the MIT license. The weights have separate distribution pages, and we couldn’t independently confirm their terms. Check the checkpoint’s terms before redistributing it or integrating it into a commercial product.
A fully local setup can keep prompts on your machine if the inference software makes no external requests. Review custom model code before running it. We found no verified hosted API pricing, retention terms, or service guarantees.
More on VRAM for local AI:
What SpikingBrain means for local AI users
Private document analysis, long-running coding sessions, and memory-constrained devices stand to benefit if the architecture scales down. The original team’s CPU test of a compressed 1B model found a 15.39× decoding speedup over Llama 3.2 1B at a sequence length of 256K on an Intel Core i5-12600KF. Both models used 4-bit weights. The published 5B and 7B checkpoints are different models and need their own desktop benchmarks.
If you’re experimenting with attention architectures, start with the SpikingBrain 2.0 instruction-tuned checkpoint. For everyday local chat, Qwen3 through Ollama is easier to set up and gives you a baseline. Hold off on buying hardware for SpikingBrain. The test worth watching is whether a model that runs on the machine you already own can retrieve the right details from a long document without making you wait.
Explore more from Popular AI:
Start here | Local AI | Builds & gear | Autonomy & policy | Fixes & guides | Popular AI podcast
















Do you think brain-inspired AI models like SpikingBrain could eventually outperform traditional transformer-based LLMs, or will transformers remain dominant?