RetNet
by Zhipu AI (Z.ai) · Jul 17, 2023
RetNet is an unreleased chat llm from Zhipu AI (Z.ai), released Jul 17, 2023. It has 6.7B parameters.
- Provider
- Zhipu AI (Z.ai)
- Released
- Jul 17, 2023
- Type
- Chat LLM
- Parameters
- 6.7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Closed
- License
- Unreleased
- Knowledge cutoff
- —
- Status
- Not publicly released
- Training compute
- 4.0e+21 FLOP
- Training data
- 100B tokens/words
About RetNet
In this work, we propose Retentive Network (RetNet) as a foundation architecture for large language models, simultaneously achieving training parallelism, low-cost inference, and good performance. We theoretically derive the connection between recurrence and attention. Then we propose the retention mechanism for sequence modeling, which supports three computation paradigms, i.e., parallel, recurrent, and chunkwise recurrent. Specifically, the parallel representation allows for training parallelism.
RetNet vs alternatives
- RetNet vs GPT-4 Turbo (Nov 2023)
- RetNet vs Claude 2
- RetNet vs Claude Instant
- RetNet vs GPT-4 Turbo
- RetNet vs MedLM
- RetNet vs Mistral Medium
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| GPT-4 Turbo (Nov 2023) | OpenAI | Nov 2023 | — | — | — | — | 124.8 |
| Claude 2 | Anthropic | Jul 2023 | — | — | — | — | 117.2 |
| Claude Instant | Anthropic | Aug 2023 | — | — | — | — | 114.0 |
| GPT-4 Turbo | OpenAI | Nov 2023 | — | 125K | $10 | $30 | — |
| MedLM | Google DeepMind | Dec 2023 | — | — | — | — | — |
| Mistral Medium | Mistral AI | Dec 2023 | — | 256K | $1.50 | $7.50 | — |
| Tongyi Qianwen 2.0 | Alibaba (Qwen) | Oct 2023 | — | — | — | — | — |
| PaLM-2 Bison | Google DeepMind | May 2023 | — | — | — | — | — |
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 RetNet?
RetNet was developed by Zhipu AI (Z.ai) (United States of America,China). It was released on Jul 17, 2023.
Is RetNet open source?
No. RetNet is not publicly released.
How many parameters does RetNet have?
RetNet has 6.7B parameters.
Sources: epoch · paper. Last updated 2026-11-22.