
0GM-2.0 keeps up to 120 million tokens of memory inside the model, per account, and it is live today on pc.0g.ai.
Every AI model has a point where it starts to forget. The context window fills up, the oldest messages fall out, and you paste the backstory in again.
The usual fix is retrieval. A separate system stores your history, searches it and hands the model a few passages it hopes are the right ones. That works when the answer sits in one place. It breaks when the answer depends on two details that were mentioned months apart, or when the search never surfaces the passage that mattered.
0GM-2.0 takes a different route. It is a 35-billion-parameter model from 0G Labs with long-term memory built in: it keeps up to 120 million tokens of memory per account inside the model itself, and decides on its own when to look back. It follows 0GM-1.0, which launched in May.
"Every AI model today has a point where it starts to forget, and people end up repeating themselves and recreating much needed context from scratch," said Michael Heinrich, Co-Founder and CEO of 0G Labs. "With 0GM-2.0, we've pushed the current normal limit by 120x, even at 35 billion parameters." He is comparing it with the 1 million-token context windows of today's leading models.
What's launching
0GM-2.0 is available from today at pc.0g.ai, through the chat playground and through an OpenAI-compatible API. For the first week it is only available there.
| Specification | Value |
|---|---|
| Model | 0GM-2.0 (memory system: 0GM-CMSA) |
| Architecture | Mixture of Experts, built on Qwen3.6-35B-A3B |
| Total parameters | 35 billion |
| Active per token | About 3 billion |
| Context window | 262,144 tokens per request |
| Max output | 65,535 tokens per request |
| Memory | Up to 120 million tokens per account |
| Memory lifetime | Renews each time you use the model, expires after 30 days without use |
| Training | Recursive self-improvement (RSI), about 20,000 GPU hours of post-training |
| Access | pc.0g.ai only for the first week |
| Weights | Hugging Face, after the first week |
Two numbers in that table get mixed up, so here they are side by side. The context window is what one request can hold: 262,144 tokens. The memory is what the model can keep across all your requests and sessions: up to 120 million tokens. Nobody sends 120 million tokens in one go. The memory builds up as long conversations are saved.
Memory that lives in the model
The technique is called Conversational Memory Sparse Attention (CMSA). Instead of relying only on an external search system, CMSA gives the model a built-in memory it can read from selectively. As a conversation grows, earlier turns are saved into that memory. When a later question needs something from them, the model decides to look back and pulls in the relevant pieces. On your side there is no vector database to host and no index to build.

CMSA builds on Memory Sparse Attention (MSA), a method published by EverMind researchers in March 2026 and tested there at 4 billion parameters. 0G Labs rebuilt it at 35 billion parameters, nearly nine times larger, and adapted it for conversations: memory grows as you talk, and the model decides when to look back.
Scaling was not a given. The original MSA model, at 4 billion parameters, scored 2.69 out of 5 on MuSiQue, a test where each answer needs two to four separate facts connected. 0GM-2.0 scores 4.48. Scores went up on all ten tests, and MuSiQue moved the most.
"Scaling an attention mechanism rarely comes for free. What surprised us is that at 35 billion parameters, Conversational Memory Sparse Attention didn't just hold up, it got sharper on exactly the questions that are hardest for any model to get right, the ones that require stringing several facts together rather than finding one answer in isolation," said Ming Wu, Co-Founder and CTO of 0G Labs.
0GM-2.0 was trained with recursive self-improvement (RSI). Post-training took about 20,000 GPU hours, roughly $85K of compute.
How it compares
0G Labs tested 0GM-2.0 and nine other models on ten long-memory tests, on data sets from about 300,000 tokens to 120 million tokens. Answers are scored from 0 to 5. The other models used the same retrieval setup to search each data set. 0GM-2.0 used its own memory. These are internal 0G Labs evaluations, not third-party results, and the tables combine several evaluation runs, so read small gaps as indications.
Start with the hardest comparison: the three flagship models.
| Test (data set size) | 0GM-2.0 | Claude Fable 5.2 | Claude Opus 5.5 | GPT-6 Astra |
|---|---|---|---|---|
| 2WikiMultiHopQA (0.8M) | 4.90 | 4.74 | 4.62 | 4.63 |
| Natural Questions (1.6M) | 4.86 | 4.53 | 4.45 | 4.35 |
| DuReader (0.3M) | 4.83 | 4.61 | 4.43 | 4.51 |
| HotpotQA (1.48M) | 4.80 | 4.75 | 4.72 | 4.69 |
| MS MARCO-0G (120M) | 4.66 | 4.26 | 4.28 | 4.20 |
| MuSiQue (1.57M) | 4.48 | 4.00 | 3.81 | 3.69 |
| MS-MARCO-2.1 (100M) | 4.43 | 3.83 | 3.89 | 3.80 |
| TriviaQA (10M) | 4.80 | 4.97 | 4.93 | 4.95 |
| NarrativeQA (0.59M) | 4.11 | 4.52 | 4.21 | 4.11 |
| PopQA (1.29M) | 4.09 | 4.48 | 4.44 | 4.21 |
| Average of the eight tests up to 10M | 4.61 | 4.58 | 4.45 | 4.39 |
Source: internal 0G Labs evaluations, full-set runs, 0-5 scale. The average leaves out the 100M and 120M tests.
0GM-2.0 has the top score on seven of the ten tests, ahead of all three flagship models on each one. It also has the highest average of the four across the eight tests up to 10 million tokens: 4.61, against 4.58 for Claude Fable 5.2, 4.45 for Claude Opus 5.5 and 4.39 for GPT-6 Astra. The seven are the three tests that connect facts across documents (2WikiMultiHopQA, HotpotQA and MuSiQue), two open-domain question sets (Natural Questions and DuReader), and the two largest data sets.

Against Claude Sonnet 5.5 and GPT-6.1 Terra, 0GM-2.0 is ahead on nine of ten tests. The widest gap is MuSiQue, at 4.48 against 3.80 and 3.63. The one miss is TriviaQA.
Against Claude Haiku 5.5, DeepSeek V4.1 Flash, GLM 5.3 Flash and MiMo 2.6 Flash it is ahead on all ten, including 4.48 against 3.30 for DeepSeek V4.1 Flash on MuSiQue. Three of those four models are much larger, from about 9 times to more than 15 times its parameter count.
The 120M-token test
One test deserves its own paragraph. MS MARCO-0G (120M) puts ten models in front of the same document set, nominally 120 million tokens, and asks 192 questions about it. 0GM-2.0 scored 4.66. Claude Fable 5.2, Claude Opus 5.5 and GPT-6 Astra scored between 4.20 and 4.28. The other six models, scored in separate runs on the same set, landed between 4.39 and 4.54, with Claude Sonnet 5.5 the closest.

0G Labs built this test set by extending EverMind's 100M-token benchmark with 20 million more tokens. The documents and the questions are public on Hugging Face, so anyone can inspect what was asked. Twelve of the 192 questions are about 0G.
Where it falls short
A model built around memory is not the best model at everything, and the same table shows it.
Three of the ten tests go to Claude Fable 5.2. On TriviaQA, a trivia lookup, all three flagship models are ahead of it, and so are Claude Sonnet 5.5 and GPT-6.1 Terra. PopQA and NarrativeQA show the widest gaps. Those two lean on what a model already learned in training more than on connecting facts across a document, and a 35-billion-parameter model does not out-know a flagship model there.
The lead is narrow in places. The eight-test average is 4.61 against 4.58 for Fable 5.2, and HotpotQA is 4.80 against 4.75.
External memory layers hold their own, especially on shorter histories. On BEAM, a long-conversation benchmark, 0GM-2.0 and Mem0 paired with GPT-5 scored close to each other at 10 million tokens, and Mem0 was slightly ahead at 1 million.
Two practical limits matter if you build on it:
- Memory belongs to one account. It is tied to your account's wallet, and everything saved under it can show up in any answer from it. Use one account per project. If your app serves many users from a single account, their memories would mix. 0GM-2.0 does not separate users inside one account today.
- Recall is strong, not perfect. A score of 4.66 out of 5 on the 120M test still leaves questions it gets wrong. Ask one specific question at a time and check anything that matters.
How to use it
Chat with it in the playground at pc.0g.ai, or call it through the API. The endpoint follows the OpenAI format, so existing code needs a new base URL, a key and the model name:
curl "https://router-api.0g.ai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-d '{"model": "0GM-2.0", "messages": [{"role": "user", "content": "Hello!"}]}'A few things are worth knowing before you build on it. Memory is saved from long conversations: as a conversation grows, the model saves the earlier turns into your account's memory, and later sessions can draw on them. A two-line chat stays in its own session. Each time you use the model, your memory is renewed for another 30 days, and after 30 days without use it expires.
To wipe it yourself, send <<MSA_CLEAR_MEMORY>> as the entire message. The model deletes everything saved under that account.
For coding agents
Coding agents start every session blank. The reason a port was moved or an approach was dropped lives in a session that is gone.
The 0GM-2.0 memory plugin fixes that without changing which model your agent runs on. It saves finished Claude Code, Codex, OpenCode and Hermes sessions into your account's memory, and adds an ask_memory tool that returns the relevant past messages word for word, with their dates. Your agent keeps its own model and reasons over the quotes. Cursor, Cline and other MCP clients can ask the memory too.
Install it from github.com/0gfoundation/0gm-memory.
Pricing
List prices, in USD:
| Item | Price | Terms |
|---|---|---|
| Input | $2.00 per 1M tokens | |
| Output | $12.00 per 1M tokens | |
| Cache read | $0.40 per 1M tokens | |
| Memory write | $3.00 per 1M new tokens | Charged once when saved, includes the first 30 days |
| Memory renewal | $3.00 per 1M tokens per 30 days | Prorated. Using the model renews memory to a full 30 days |
| Memory retrieval | Free | Included in inference |
The current prices are always on the model's page at pc.0g.ai.
What comes next
The model weights and the model card go up on Hugging Face after the first week. From there, 0G Labs plans to extend CMSA to larger foundation models and to test how far in-model memory can go on harder, longer tasks, the kind agents run into when work unfolds over weeks.
Frequently asked questions
Is the 120 million tokens a context window?
No. A single request to 0GM-2.0 takes up to 262,144 tokens. The 120 million tokens are the model's memory, which builds up across your requests and sessions. The model reads from that memory when a question needs it.
How is 0GM-2.0 different from RAG?
RAG stores your data in a separate system and searches it before each request. 0GM-2.0 keeps conversation history in a memory inside the model, and the model decides when to look back. On your side there is no vector database to host and no index to build.
Where can I use 0GM-2.0?
At pc.0g.ai, in the chat playground or through the OpenAI-compatible API. For the first week it is only available there. The model weights follow on Hugging Face after that.
How do I delete what 0GM-2.0 remembers?
Send <<MSA_CLEAR_MEMORY>> as the entire message. The model deletes all memory saved under that account. Memory also expires on its own after 30 days without use.
What is 0G?
0G is the frontier superintelligence lab solving AI privacy, safety, verifiability, and sovereignty.
Where can I get 0G?
get.0g.ai is the interactive guide on how and where to acquire 0G tokens, with options for developers, investors, and ecosystem participants.
Where can I build on 0G?
Start at build.0g.ai for docs, starter kits, and the latest SDK. Visit 0g.ai/partners to browse the projects already shipping on the network.
Try it
- Chat with 0GM-2.0: pc.0g.ai
- See the 120M test set: MS MARCO-0G (120M) on Hugging Face
- Read about the first model in the family: 0GM-1.0
- Follow @0G_labs for the weights release
Sources:
- Internal 0G Labs evaluations, ten long-memory tests, 0-5 scale (November 2026)
- MSA: Memory Sparse Attention for Efficient End-to-End Memory Model Scaling to 100M Tokens, EverMind (March 2026)
- MS MARCO-0G (120M) data set, 0G Labs
- pc.0g.ai (live deployment and pricing)



