LaMemo
by Zhipu AI (Z.ai) · Apr 15, 2022
LaMemo is an open-weight chat llm from Zhipu AI (Z.ai), released Apr 15, 2022. It has 151M parameters.
- Provider
- Zhipu AI (Z.ai)
- Released
- Apr 15, 2022
- Type
- Chat LLM
- Parameters
- 151M
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training data
- 103.2M tokens/words
About LaMemo
Although Transformers with fully connected self-attentions are powerful to model long-term dependencies, they are struggling to scale to long texts with thousands of words in language modeling. One of the solutions is to equip the model with a recurrence memory. However, existing approaches directly reuse hidden states from the previous segment that encodes contexts in a uni-directional way. As a result, this prohibits the memory to dynamically interact with the current context that provides up-to-date information for token prediction.
How to run LaMemo
LaMemo is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 151M parameters it needs roughly 1 GB of memory at 4-bit quantization.
LaMemo vs alternatives
- LaMemo vs opt-125m
- LaMemo vs reformer-crime-and-punishment
- LaMemo vs xglm-564M
- LaMemo vs reformer-enwik8
- LaMemo vs DialoGPT-medium
- LaMemo vs codegen-350M-mono
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| opt-125mopen | Meta | May 2022 | — | — | — | — | — |
| reformer-crime-and-punishmentopen | Google DeepMind | Mar 2022 | — | — | — | — | — |
| xglm-564Mopen | Meta | Mar 2022 | — | — | — | — | — |
| reformer-enwik8open | Google DeepMind | Mar 2022 | — | — | — | — | — |
| DialoGPT-mediumopen | Microsoft | Mar 2022 | — | — | — | — | — |
| codegen-350M-monoopen | Salesforce | Apr 2022 | — | — | — | — | — |
| biogptopen | Microsoft | Nov 2022 | — | — | — | — | — |
| ctrlopen | Salesforce | Mar 2022 | — | — | — | — | — |
More models from Zhipu AI (Z.ai)
All Zhipu AI (Z.ai) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GLM-5.3-Flashopen | Aug 2026 | 321B | 1M | $0.12 | $0.418 |
| GLM-5.3open | Aug 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.2open | Jun 2026 | 753B | 1M | $1.20 | $4.18 |
| GLM-5.1open | Apr 2026 | 754B | 200K | $0.896 | $3.59 |
| GLM-5open | Feb 2026 | 754B | 200K | $0.598 | $2.69 |
| GLM-4.7open | Dec 2025 | 358B | 200K | $0.448 | $2.09 |
| GLM-4.7-Flashopen | Jan 2026 | 31B | 200K | Free | Free |
| GLM-4.5-Airopen | Jul 2025 | 110B | 128K | $0.12 | $0.896 |
Frequently asked questions
Who made LaMemo?
LaMemo was developed by Zhipu AI (Z.ai) (China,China,China). It was released on Apr 15, 2022.
Is LaMemo open source?
Yes. LaMemo's weights are publicly available, so you can download and run it yourself.
How many parameters does LaMemo have?
LaMemo has 151M parameters.
Sources: epoch · paper. Last updated 2026-11-22.