Skip to content
llmmodels
Code modelOpen weightsHistorical

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

Alternatives to BTLM-3B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Phi-2openMicrosoftDec 20232.8B———96.2
DeepSeek Coder 1.3BopenDeepSeekNov 20231.3B————
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
Phi-1openMicrosoftOct 20231.4B————
LLaMA-7BopenMetaFeb 20236.7B———77.3
Code Llama-7BopenMetaAug 20236.7B————
StarCoder 2 3BopenNVIDIAFeb 20243B———66.6
Granite 3.0 2BopenIBMOct 20242.6B————

More models from Cerebras

All Cerebras models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Cerebras-GPT-13BopenApr 202313B———
GLM-4.5-Air-REAP-82B-A12BopenOct 202582B (12B act.)———
Jais-30b (phase 1)openNov 202330B———
JaisopenAug 202313B———
Sparse Wide GPT-3 SmallMar 20231.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.