Our research

Pushing the frontier for small models

Nenya is our open base model: a mixture-of-experts language model with 0.5B active parameters.

Base modelApache 2.0October 2026

Nenya-2.5B-A0.5B

Nenya is a general purpose 0.5B active, 2.5B total parameter mixture-of-experts (MoE) base model. Nenya rivals Qwen3.5 2B on pretraining benchmarks with 500× lower training compute and 3.4× fewer active FLOPs/token.

Total parameters
2.59B
Active per token
553M
Layers
32
Context length
16,384 tokens
Experts
120 routed, 6 per token, plus 2 shared
Attention
23 GDN-2 + 9 MLA layers
Vocabulary
100,278
Modality
Text

Run it

Nenya loads through transformers on any device. On a Mac, the Metal engine is the fastest way to run it.

python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
repo = "contrastivelabs/Nenya-2.5B-A0.5B-Base"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16).to(device)

inputs = tok("The mitochondrion is the organelle responsible for", return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=40)     # samples: temperature 0.9, top-k 20 (the default)
print(tok.decode(out[0], skip_special_tokens=True))

Results

More accuracy per unit of compute

Nenya is compared with five open models of a similar class, on the same benchmarks and settings. All of it is reproducible from the model card.

Nenya Other open models Best score for the compute

Mean accuracy, 12 benchmarks (%)

52566064681234567Compute per token (billion FLOPs): further left is cheaper to run3.4× less compute, same scoreQwen3.5 0.8BOLMo-2 1BQwen3.5 2BGemma 4 E2BSmolLM3 3BNenya
Mean accuracy on 12 pretraining benchmarks against compute per token, for Nenya and five other open models
Modelmean accuracyFLOPs per tokenActive parametersTraining tokens
Nenya58.31.1B0.55B0.06T
Qwen3.5 0.8B52.81.5B0.75B>10T (est.)
OLMo-2 1B61.12.6B1.28B4.05T
Qwen3.5 2B58.13.8B1.88B>10T (est.)
Gemma 4 E2B64.84.6B2.30B>10T (est.)
SmolLM3 3B64.96.2B3.08B11.2T
ModelActiveFLOPs / tokenMean accuracy
Nenya0.55B1.1B58.3
Qwen3.5 0.8B0.75B1.5B52.8
OLMo-2 1B1.28B2.6B61.1
Qwen3.5 2B1.88B3.8B58.1
Gemma 4 E2B2.30B4.6B64.8
SmolLM3 3B3.08B6.2B64.9
Full results in the report

Mean accuracy on 12 pretraining benchmarks, scored with lm-eval. FLOPs per token is one forward pass: two per active parameter. Source: Nenya technical report.

On a laptop

Fast on the Mac you already have

Apple M4 (base)
127.1tok/s
At 16K context
92.5 tok/s
Peak memory at 1K
4.10 GB
Apple M1 (base)
74.3tok/s
At 16K context
55.5 tok/s
Peak memory at 1K
4.07 GB

Source: Nenya technical report, Table 4.

Speed as the context fills

A full 16K context costs about a quarter of the speed: the model keeps a fixed-size state for most of its layers, so there is little more to read as the text grows.

Tokens generated per second, Metal engine

Decoding speed on Apple silicon by context length
Tokens already in the contextM4 (tok/s)M1 (tok/s)
Empty127.174.3
1K123.972.5
4K114.167.6
16K92.555.5

On a GPU server

And quick behind an API, through vLLM

Our engine for vLLM serves Nenya behind an OpenAI-compatible API. On one RTX 5090 a single request generates 620 tokens a second, about twice the speed of Qwen3.5 2B, and it slows by 14% with 16,000 tokens of context where Qwen3-0.6B slows by 40%.

Nenya Reference models

One request, short context

Tokens a second · 128 tokens of context

  1. Nenya620
  2. Qwen3-0.6B618
  3. Qwen3.5 2B322

One request, long context

Tokens a second · 16,000 tokens of context

  1. Nenya531
  2. Qwen3-0.6B368
  3. Qwen3.5 2B311

256 requests at once

Tokens a second in total, generating

  1. Nenya20,503
  2. Qwen3-0.6B16,379
  3. Qwen3.5 2B16,928

Served: 256 chats at once

Tokens a second out · 1,024 in, 256 out

  1. Nenya10,001
  2. Qwen3-0.6B7,348
  3. Qwen3.5 2B8,036

Put this research to work on your task

Nenya 1 is this research, trained to call tools, extract structured data and classify text.