Skip to content
llmmodels
Chat LLMNot publicly released

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

Alternatives to LongNet
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
GPT-4 Turbo (Nov 2023)OpenAINov 2023————124.8
Claude 2AnthropicJul 2023————117.2
Claude InstantAnthropicAug 2023————114.0
GPT-4 TurboOpenAINov 2023—125K$10$30—
MedLMGoogle DeepMindDec 2023—————
Mistral MediumMistral AIDec 2023—256K$1.50$7.50—
Tongyi Qianwen 2.0Alibaba (Qwen)Oct 2023—————
PaLM-2 BisonGoogle DeepMindMay 2023—————

More models from Microsoft

All Microsoft models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Phi 4openDec 202415B16K$0.07$0.14
Phi-2openDec 20232.8B———
phi-3-small 7.4BopenApr 20247.4B———
phi-3-medium 14BopenApr 202414B———
phi-3-mini 3.8BopenApr 20243.8B———
Phi-1.5openSep 20231.4B———
Phi 4 MiniopenFeb 20253.8B8K$0.17$0.68
Florence-2-baseopenJun 2024232M———

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.