Model reference · open weights

stablelm-zephyr

LLMs stabilityai Text gen 1 build Its own licence terms 15k dl/mo

stablelm-zephyr is an open-weight language model from Stability AI. stablelm-zephyr-3b (BF16) weighs 5.6 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • StableLM Zephyr 3B is a 2.8 billion parameter instruction-tuned language model developed by Stability AI for text generation tasks.
  • The model supports English and is based on the transformer decoder architecture.
  • It is released under the StabilityAI Community License, with commercial use requiring a separate agreement.

Summary of the stabilityai/stablelm-zephyr-3b model card, 2026-10-01

What it is

Released byStability AI
Released2023-11-21
Parameters2.8B
VRAM5.6 GB for the weights

What it runs on

Memory and cards for stablelm-zephyr-3b (BF16)

5.6 GBweights, file size
328 MBcache per 1K tokens
580 MBruntime overhead, at least
4,096 tokenscontext max
CardRequests at onceContext maxMemory
4K each
RTX 3060 12 GB4all 4K11.6 GB
RTX 4060 Ti 16 GB6all 4K15.4 GB
RTX 3090 24 GB12all 4K23.4 GB
RTX 4090 24 GB12all 4K23.4 GB
RTX 5090 32 GB18all 4K31.0 GB
L40S 48 GB28all 4K44.0 GB
A100 80 GB53all 4K78.2 GB
H100 80 GB51all 4K78.1 GB
RTX PRO 6000 Blackwell 96 GB63all 4K93.8 GB
DGX Spark (GB10) 128 GB unified73all 4K107 GB
H200 141 GB95all 4K138 GB
B200 180 GB124all 4K176 GB
2× RTX 3060 12 GB
tensor parallel
12all 4K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
17all 4K15.4 GB a card
Memory needed at each load
Requests at once4K tokens each
17.5 GB
512.9 GB
816.9 GB
1627.6 GB
3249.1 GB
6492.1 GB

One card, with vLLM's small-card settings.

From the model card

What Stability AI says about stablelm-zephyr

Read the model card

Please note: For commercial use, please refer to https://stability.ai/license.

Model Description

StableLM Zephyr 3B is a 3 billion parameter instruction tuned inspired by HugginFaceH4's Zephyr 7B training pipeline this model was trained on a mix of publicly available datasets, synthetic datasets using Direct Preference Optimization (DPO), evaluation for this model based on MT Bench and Alpaca Benchmark

Usage

StableLM Zephyr 3B uses the following instruction format:

List 3 synonyms for the word "tiny"
1. Dwarf
2. Little
3. Petite

This format is also available through the tokenizer's apply_chat_template method:

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('stabilityai/stablelm-zephyr-3b')
model = AutoModelForCausalLM.from_pretrained(
    'stabilityai/stablelm-zephyr-3b',
    device_map="auto"
)

prompt = [{'role': 'user', 'content': 'List 3 synonyms for the word "tiny"'}]
inputs = tokenizer.apply_chat_template(
    prompt,
    add_generation_prompt=True,
    return_tensors='pt'
)

tokens = model.generate(
    inputs.to(model.device),
    max_new_tokens=1024,
    temperature=0.8,
    do_sample=True
)

print(tokenizer.decode(tokens[0], skip_special_tokens=False))

You can also see how to run a performance optimized version of this model here using OpenVINO from Intel.

Model Details

  • Developed by: Stability AI
  • Model type: StableLM Zephyr 3B model is an auto-regressive language model based on the transformer decoder architecture.
  • Language(s): English
  • Library: Alignment Handbook
  • Finetuned from model: stabilityai/stablelm-3b-4e1t
  • License: StabilityAI Community License.
  • Commercial License: to use this model commercially, please refer to https://stability.ai/license
  • Contact: For questions and comments about the model, please email lm@stability.ai

Training Dataset

The dataset is comprised of a mixture of open datasets large-scale datasets available on the HuggingFace Hub:

  1. SFT Datasets
  • HuggingFaceH4/ultrachat_200k
  • meta-math/MetaMathQA
  • WizardLM/WizardLM_evol_instruct_V2_196k
  • Open-Orca/SlimOrca
  1. Preference Datasets:
  • HuggingFaceH4/ultrafeedback_binarized
  • Intel/orca_dpo_pairs

Performance

MT-Bench and Alpaca Bench

ModelSizeAlignmentMT-Bench (score)AlpacaEval (win rate %)
StableLM Zephyr 3B 🪁3BDPO6.6476.00
StableLM Zephyr (SFT only)3BSFT6.0471.15
Capybara v1.93BdSFT5.94-
MPT-Chat7BdSFT5.42-
Xwin-LM v0.17BdPPO6.1987.83
Mistral-Instruct v0.17B-6.84-
Zephyr-7b-α7BdDPO6.88-
Zephyr-7b-β7BdDPO7.3490.60
Falcon-Instruct40BdSFT5.1745.71
Guanaco65BSFT6.4171.80
Llama2-Chat70BRLHF6.8692.66
Vicuna v1.333BdSFT7.1288.99
WizardLM v1.070BdSFT7.71-
Xwin-LM v0.170BdPPO-95.57
GPT-3.5-turbo-RLHF7.9489.37
Claude 2-RLHF8.0691.36
GPT-4-RLHF8.9995.28

Other benchmarks:

TaskValue
ARC (25-shot)47.0
HellaSwag (10-shot)74.2
MMLU (5-shot)46.3
TruthfulQA (0-shot)46.5
Winogrande (5-shot)65.5
GSM8K (5-shot)42.3
BigBench (Avg)35.26
AGI Benchmark (Avg)33.23

Training Infrastructure

  • Hardware: StableLM Zephyr 3B was trained on the Stability AI cluster across 8 nodes with 8 A100 80GBs GPUs for each nodes.
  • Code Base: We use our internal script for SFT steps and used HuggingFace Alignment Handbook script for DPO training.

Commitment to Ethical AI

In line with our responsibility towards ethical AI development, StableLM Zephyr 3B is released with a focus on ensuring safety, reliability, and appropriateness in its applications. To this end, we have evaluated StableLM Zephyr 3B on 488 malicious prompts and used standard protocols to assess the harmfulness of its outputs. Compared to Zephyr-7b-β, StableLM Zephyr 3B reduces the number of harmful outputs as assessed by GPT-4 by 55. Additionally, we performed an internal red teaming event targeting the following abuse areas:

  • Self-Harm Methods: (Suicide Methods, Encouragement of Self-Harm, Methods and encouragement of Eating Disorders)
  • Misinformation: (Health, Conspiracy Theories, Social Unrest/Conflict, Political Misinformation, & Climate change)
  • Hate Speech: (Race, Stereotypes, Immigrants, Gender, Personally Identifiable Information such as Social security numbers, Full names, ID numbers, Email addresses, and telephone numbers)

We have incorporated the findings of our malicious prompts evaluation and red teaming event into our release. Users are encouraged to fine-tune and evaluate the model to suit their specific needs, considering the potential biases and limitations found in StableLM Zephyr 3B and inherent in other LLM models.

Use and Limitations

Intended Use

The model is intended to be used as a foundational base model for application-specific fine-tuning. Developers must evaluate and fine-tune th

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

Benchmarks

Reported results

As published on the model card: the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Text GenerationAI2 Reasoning Challenge (25-Shot)normalized accuracy46.080
Text GenerationHellaSwag (10-Shot)normalized accuracy74.160
Text GenerationMMLU (5-Shot)accuracy46.170
Text GenerationTruthfulQA (0-shot)mc246.490
Text GenerationWinogrande (5-shot)accuracy65.510
Text GenerationGSM8k (5-shot)accuracy42.150
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms