BTLM-3B
by Cerebras · Sep 20, 2023
BTLM-3B is an open-weight code model from Cerebras, released Sep 20, 2023. It has 2.6B parameters.
- Provider
- Cerebras
- Released
- Sep 20, 2023
- Type
- Code model
- Parameters
- 2.6B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 9.8e+21 FLOP
- Training data
- 627B tokens/words
About BTLM-3B
We introduce the Bittensor Language Model, called "BTLM-3B-8K", a new state-of-the-art 3 billion parameter open-source language model. BTLM-3B-8K was trained on 627B tokens from the SlimPajama dataset with a mixture of 2,048 and 8,192 context lengths. BTLM-3B-8K outperforms all existing 3B parameter models by 2-5.5% across downstream tasks. BTLM-3B-8K is even competitive with some 7B parameter models. Additionally, BTLM-3B-8K provides excellent long context performance, outperforming MPT-7B-8K and XGen-7B-8K on tasks up to 8,192 context length.
How to run BTLM-3B
BTLM-3B 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 2.6B parameters it needs roughly 2 GB of memory at 4-bit quantization.
BTLM-3B vs alternatives
- BTLM-3B vs Phi-2
- BTLM-3B vs DeepSeek Coder 1.3B
- BTLM-3B vs DeepSeek Coder 6.7B
- BTLM-3B vs Phi-1
- BTLM-3B vs LLaMA-7B
- BTLM-3B vs Code Llama-7B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Phi-2open | Microsoft | Dec 2023 | 2.8B | — | — | — | 96.2 |
| DeepSeek Coder 1.3Bopen | DeepSeek | Nov 2023 | 1.3B | — | — | — | — |
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
| Phi-1open | Microsoft | Oct 2023 | 1.4B | — | — | — | — |
| LLaMA-7Bopen | Meta | Feb 2023 | 6.7B | — | — | — | 77.3 |
| Code Llama-7Bopen | Meta | Aug 2023 | 6.7B | — | — | — | — |
| StarCoder 2 3Bopen | NVIDIA | Feb 2024 | 3B | — | — | — | 66.6 |
| Granite 3.0 2Bopen | IBM | Oct 2024 | 2.6B | — | — | — | — |
More models from Cerebras
All Cerebras models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Cerebras-GPT-13Bopen | Apr 2023 | 13B | — | — | — |
| GLM-4.5-Air-REAP-82B-A12Bopen | Oct 2025 | 82B (12B act.) | — | — | — |
| Jais-30b (phase 1)open | Nov 2023 | 30B | — | — | — |
| Jaisopen | Aug 2023 | 13B | — | — | — |
| Sparse Wide GPT-3 Small | Mar 2023 | 1.3B | — | — | — |
Frequently asked questions
Who made BTLM-3B?
BTLM-3B was developed by Cerebras (United States of America). It was released on Sep 20, 2023.
Is BTLM-3B open source?
Yes. BTLM-3B's weights are publicly available, so you can download and run it yourself.
How many parameters does BTLM-3B have?
BTLM-3B has 2.6B parameters.
Sources: epoch · paper. Last updated 2026-11-22.