Model reference · open weights
olmicro-base is an open-weight language model from allenai. olmicro-450m-base (BF16) weighs 908 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the allenai/olmicro-2.7b-base model card, 2026-12-01. The estimate below is for another build of the family.
What it is
| Released by | allenai |
|---|---|
| Released | 2026-11-15 |
| Parameters | 2.7B |
| VRAM | 908 MB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 88 | 24 | all 64K | 11.6 GB |
| RTX 4060 Ti 16 GB | 122 | 33 | all 64K | 15.4 GB |
| RTX 3090 24 GB | 192 | 52 | all 64K | 23.4 GB |
| RTX 4090 24 GB | 191 | 52 | all 64K | 23.4 GB |
| RTX 5090 32 GB | 259 | 70 | all 64K | 31.0 GB |
| L40S 48 GB | 372 | 102 | all 64K | 44.0 GB |
| A100 80 GB | 673 | 184 | all 64K | 78.2 GB |
| H100 80 GB | 642 | 175 | all 64K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 780 | 213 | all 64K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 899 | 246 | all 64K | 107 GB |
| H200 141 GB | 1000+ | 319 | all 64K | 138 GB |
| B200 180 GB | 1000+ | 411 | all 64K | 176 GB |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 1.6 GB | 1.9 GB |
| 5 | 2.1 GB | 3.6 GB |
| 8 | 2.4 GB | 4.8 GB |
| 16 | 3.3 GB | 8.2 GB |
| 32 | 5.1 GB | 14.8 GB |
| 64 | 8.8 GB | 28.1 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| olmicro-2.7b-base ↗ | 2.7B | BF16 | 5.4 GB | RTX 3060 12 GB |
| olmicro-1.4b-base ↗ | 1.4B | BF16 | 2.8 GB | RTX 3060 12 GB |
| olmicro-810m-base ↗ | 810M | BF16 | 1.6 GB | RTX 3060 12 GB |
| olmicro-450m-base (above) ↗ | 454M | BF16 | 908 MB | RTX 3060 12 GB |
| olmicro-275m-base ↗ | 275M | BF16 | 551 MB | RTX 3060 12 GB |
From the model card
Olmicro is a fully open, controlled suite of five base language models from Ai2, from 275M to 2.7B parameters, built as a modern, accessible testbed for language modeling research. All five share one architecture, one data mix and one recipe. The architecture is a hybrid that interleaves Gated DeltaNet and full-attention layers at a 4:1 ratio, with no positional encoding. Each model is pretrained on 2,000 tokens per non-embedding parameter, about 100 times the Chinchilla-optimal count, and then trained on a further 100B tokens of mid-training and 100B tokens of long-context extension to 64k tokens. Across sizes, Olmicro performs competitively with similarly sized open models while using less training compute than most of them. Every model comes with intermediate checkpoints from all of training, both as Hugging Face weights and as Olmo-core checkpoints with optimizer state, along with the code to reproduce pretraining.
This repository houses Olmicro 2.7B Base, the largest model in the suite, with the final model on main and every intermediate checkpoint from pretraining, mid-training and long-context extension as a branch.
Paper · Code · Collection · Training checkpoints · Evaluations
All five sizes have a head dimension of 128 and a context length of 65,536 tokens.
| 275M | 450M | 810M | 1.4B | 2.7B | |
|---|---|---|---|---|---|
| Layers (Gated DeltaNet + attention) | 10 (8 + 2) | 15 (12 + 3) | 15 (12 + 3) | 20 (16 + 4) | 30 (24 + 6) |
| Hidden size | 640 | 768 | 1,024 | 1,280 | 1,536 |
| Query / key-value heads | 8 / 8 | 8 / 8 | 16 / 8 | 16 / 8 | 16 / 8 |
| Feed-forward hidden size | 5,120 | 6,144 | 8,192 | 10,240 | 12,288 |
| 275M | 450M | 810M | 1.4B | 2.7B | |
|---|---|---|---|---|---|
| Parameters | 275.5M | 454.2M | 810.4M | 1.42B | 2.69B |
| Non-embedding parameters | 211.3M | 377.1M | 707.6M | 1.29B | 2.53B |
| KV cache per token (16-bit) | 8 KiB | 12 KiB | 12 KiB | 16 KiB | 24 KiB |
| Training tokens, all stages | 623B | 954B | 1.62T | 2.79T | 5.27T |
| Training compute (6ND, FLOPs) | 7.9 × 1020 | 2.2 × 1021 | 6.9 × 1021 | 2.2 × 1022 | 8.0 × 1022 |
| Stage | Data | Tokens | Sequence length |
|---|---|---|---|
| Pretraining | Dolma 3 | 5.07T | 8,192 |
| Midtraining | Dolma 3 Dolmino | 100B | 8,192 |
| Long-context extension | Dolma 3 Longmino | 100B | 65,536 |
pip install "torch==2.11.0" "transformers>=5.12,<5.16" "flash-linear-attention==0.5.2"
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "allenai/olmicro-2.7b-base"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16).to("cuda")
inputs = tok("The capital of France is", return_tensors="pt").to("cuda")
print(tok.decode(model.generate(**inputs, max_new_tokens=20)[0]))
flash-linear-attention provides the fast Gated DeltaNet kernels; without it, the model falls back to a much
slower PyTorch path. For vLLM, and to load the model without trust_remote_code, install the Olmicro plugins
from the code repository.
main is the final model (stage3-step0023842). The 638 intermediate checkpoints are branches named
stage-step; load one with revision=, e.g. revision="stage1-step0303000".
| Stage | Branches | Steps |
|---|---|---|
| 1, pretraining | 606 | 0 to 604,266 |
| 2, midtraining | 12 | 1,000 to 11,921 |
| 3, long-context extension | 20 | 4,000 to 23,842 |
The full training state of every checkpoint (weights, optimizer and data-loader state), for resuming training, is in the bucket allenai/olmicro-2.7b-base. See the code repository to resume training.
Safety evaluations of the final model (main) of each size, on a subset of the Olmo 3 safety suite. Every
score is 0 to 100, and higher is better. BBQ measures social bias; Do-Anything-Now, HarmBench, StrongReject,
WildJailbreak (harmful) and WildGuard measure refusal of harmful requests; WildJailbreak (benign) and XSTest
also reward answering safe prompts, so they penalize over-refusal; WMDP is 100 minus the accuracy on questions
about hazardous knowledge. These are base models with no safety tuning, so the scores are a baseline for later
safety work rather than a sign that the models are safe to deploy. See the paper for the setup and
for comparisons with other open models.
| Benchmark | 275M | 450M | 810M | 1.4B | 2.7B |
|---|---|---|---|---|---|
| BBQ | 35.4 | 43.2 | 35.2 | 41.0 | 47.1 |
| Do-Anything-Now | 30.7 | 34.0 | 34.0 | 23.0 | 27.3 |
| HarmBench | 29.7 | 32.8 | 28.7 | 26.9 | 22.8 |
| StrongReject | 95.6 | 93.2 | 91.3 | 87.0 | 81.7 |
| WildJailbreak, harmful | 9.9 | 7.7 | 5.9 | 4.1 | 3.7 |
| WildJailbreak, benign | 83.2 | 89.6 | 90.4 | 93 |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.