MPT
Open-source LLM by MosaicML trained for commercial use with 65K context.
About
MPT, short for MosaicML Pretrained Transformer, is a family of open decoder-only language models released in 7B and 30B parameter sizes and trained from scratch with commercial use in mind. The 7B base model was trained on 1 trillion tokens of text and code, swaps learned positional embeddings for ALiBi attention biases, and uses FlashAttention for faster training and inference. ALiBi is what enables the long-context variants: MPT-7B-StoryWriter-65k+ was fine-tuned at a 65,000 token context and can extrapolate beyond it. Other variants include MPT-7B-Instruct for instruction following and MPT-7B-Chat for dialogue; the base and StoryWriter models carry the Apache 2.0 license, while the chat model is non-commercial. MosaicML, later acquired by Databricks, positioned the family as a commercially usable alternative at a time when Llama weights were research-only, and teams commonly paired the models with the MosaicML training stack to fine-tune on their own data.
Should you use MPT?
Pick it when
Pick this when you are studying ALiBi positional biases and length extrapolation, or maintaining a pipeline already built on MPT-7B or StoryWriter-65k+, where the base and StoryWriter weights remain Apache-2.0.
Look elsewhere when
Skip it for new deployments: it dates from when Llama weights were research-only, and current Apache-2.0 families like Qwen, Gemma 4, or OLMo are far more capable. Note MPT-7B-Chat is non-commercial even though the base is not.
Alternatives to MPT
- OLMo
Also Apache-2.0 and built for openness, adding released data recipes, intermediate checkpoints, and sizes up to 32B.
- Falcon
Apache-2.0 7B and 40B from the same early open-model era, a comparable legacy baseline without a 65K StoryWriter variant.
- DBRX
Databricks' later in-house model after buying MosaicML: a 132B MoE needing serious hardware, under a custom license.
- Qwen 2.5 / Qwen 3
Current Apache-2.0 family with 256K context expandable to 1M, far beyond StoryWriter's 65K, plus sizes from 0.5B to 235B.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Large Language Models (LLMs)
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- Apache-2.0
- Minimum VRAM
- 8 GB
- Added
- Apr 3, 2026