Model reference · open weights

olmicro-base

LLMs allenai Text gen 5 builds Open weights 2k dl/mo

olmicro-base is an open-weight language model from allenai. olmicro-2.7b-base (BF16) weighs 5.4 GB; 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.

  • Olmicro 2.7B Base is a 2.7 billion parameter base language model developed by Allen Institute for AI for text generation research.
  • It features a 65,536 token context length and is trained primarily on English data.
  • The model is released under the Apache 2.0 license.

Summary of the allenai/olmicro-2.7b-base model card, 2026-12-01

What it is

Released byallenai
Released2026-11-15
Parameters2.7B
VRAM5.4 GB for the weights

What it runs on

Memory and cards for olmicro-2.7b-base (BF16)

5.4 GBweights, file size
25 MBcache per 1K tokens
53 MBfixed state per request
658 MBruntime overhead, at least
65,536 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB216all 64K11.6 GB
RTX 4060 Ti 16 GB3610all 64K15.4 GB
RTX 3090 24 GB6820all 64K23.4 GB
RTX 4090 24 GB6820all 64K23.4 GB
RTX 5090 32 GB9829all 64K31.0 GB
L40S 48 GB14944all 64K44.0 GB
A100 80 GB28484all 64K78.2 GB
H100 80 GB26979all 64K78.1 GB
RTX PRO 6000 Blackwell 96 GB33198all 64K93.8 GB
DGX Spark (GB10) 128 GB unified384113all 64K107 GB
H200 141 GB505149all 64K138 GB
B200 180 GB653193all 64K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
16.3 GB6.9 GB
57.3 GB10.3 GB
88.1 GB12.9 GB
1610.1 GB19.8 GB
3214.2 GB33.5 GB
6422.3 GB60.9 GB

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

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
olmicro-2.7b-base (above) ↗ 2.7BBF16 5.4 GBRTX 3060 12 GB
olmicro-1.4b-base ↗ 1.4BBF16 2.8 GBRTX 3060 12 GB
olmicro-810m-base ↗ 810MBF16 1.6 GBRTX 3060 12 GB
olmicro-450m-base ↗ 454MBF16 908 MBRTX 3060 12 GB
olmicro-275m-base ↗ 275MBF16 551 MBRTX 3060 12 GB

From the model card

What allenai says about olmicro-base

Read 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

Models

Architecture

All five sizes have a head dimension of 128 and a context length of 65,536 tokens.

275M450M810M1.4B2.7B
Layers (Gated DeltaNet + attention)10 (8 + 2)15 (12 + 3)15 (12 + 3)20 (16 + 4)30 (24 + 6)
Hidden size6407681,0241,2801,536
Query / key-value heads8 / 88 / 816 / 816 / 816 / 8
Feed-forward hidden size5,1206,1448,19210,24012,288

Size and cost

275M450M810M1.4B2.7B
Parameters275.5M454.2M810.4M1.42B2.69B
Non-embedding parameters211.3M377.1M707.6M1.29B2.53B
KV cache per token (16-bit)8 KiB12 KiB12 KiB16 KiB24 KiB
Training tokens, all stages623B954B1.62T2.79T5.27T
Training compute (6ND, FLOPs)7.9 × 10202.2 × 10216.9 × 10212.2 × 10228.0 × 1022

Training

StageDataTokensSequence length
PretrainingDolma 35.07T8,192
MidtrainingDolma 3 Dolmino100B8,192
Long-context extensionDolma 3 Longmino100B65,536

Usage

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.

Checkpoints

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".

StageBranchesSteps
1, pretraining6060 to 604,266
2, midtraining121,000 to 11,921
3, long-context extension204,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 evaluation

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.

Benchmark275M450M810M1.4B2.7B
BBQ35.443.235.241.047.1
Do-Anything-Now30.734.034.023.027.3
HarmBench29.732.828.726.922.8
StrongReject95.693.291.387.081.7
WildJailbreak, harmful9.97.75.94.13.7
WildJailbreak, benign83.289.690.493

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

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms