LongNet
by Microsoft · Jul 5, 2023
LongNet is an unreleased chat llm from Microsoft, released Jul 5, 2023. It has 2.7B parameters.
- Provider
- Microsoft
- Released
- Jul 5, 2023
- Type
- Chat LLM
- Parameters
- 2.7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Closed
- License
- Unreleased
- Knowledge cutoff
- —
- Status
- Not publicly released
- Training compute
- 4.9e+21 FLOP
- Training data
- 300B tokens/words
About LongNet
Scaling sequence length has become a critical demand in the era of large language models. However, existing methods struggle with either computational complexity or model expressivity, rendering the maximum sequence length restricted. To address this issue, we introduce LongNet, a Transformer variant that can scale sequence length to more than 1 billion tokens, without sacrificing the performance on shorter sequences. Specifically, we propose dilated attention, which expands the attentive field exponentially as the distance grows.
LongNet vs alternatives
- LongNet vs GPT-4 Turbo (Nov 2023)
- LongNet vs Claude 2
- LongNet vs Claude Instant
- LongNet vs GPT-4 Turbo
- LongNet vs MedLM
- LongNet 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 Microsoft
All Microsoft models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Phi 4open | Dec 2024 | 15B | 16K | $0.07 | $0.14 |
| Phi-2open | Dec 2023 | 2.8B | — | — | — |
| phi-3-small 7.4Bopen | Apr 2024 | 7.4B | — | — | — |
| phi-3-medium 14Bopen | Apr 2024 | 14B | — | — | — |
| phi-3-mini 3.8Bopen | Apr 2024 | 3.8B | — | — | — |
| Phi-1.5open | Sep 2023 | 1.4B | — | — | — |
| Phi 4 Miniopen | Feb 2025 | 3.8B | 8K | $0.17 | $0.68 |
| Florence-2-baseopen | Jun 2024 | 232M | — | — | — |
Frequently asked questions
Who made LongNet?
LongNet was developed by Microsoft (United States of America,China). It was released on Jul 5, 2023.
Is LongNet open source?
No. LongNet is not publicly released.
How many parameters does LongNet have?
LongNet has 2.7B parameters.
Sources: epoch · paper. Last updated 2026-11-22.