Generated title card reading BerryLM-OS, with the subtitle RWB's open-weight model, seen only through a draft pull request, four fact chips reading 18.3B total / 3.2B active, 256k context, 128 experts, top-8, and Weights not public, a banner reading Draft SGLang PR #55435, opened 4 December 2026 — unreleased, and a footer stating the architecture figures come from the draft pull request and no checkpoint is downloadable.
Engineering & Research

BerryLM-OS: RWB's Open-Weight Model Is Taking Shape

Author

Rowan Sterling

Date Published

Models in this article · 1View all models →
Back to all posts

The most revealing line in the new BerryLM-OS pull request is not in the 1,321-line model file. It is in the test registration: test/registered/e2e/models/test_berrylm.py ships with its end-to-end test registered disabled, and the PR explains why in four words: it waits "until the release checkpoint is public." That single flag is the whole story of BerryLM-OS as of 5 December 2026 — a serving stack built, tested and documented for a model whose weights nobody outside RWB can download yet.

RWB is the merged Wildberries–Russ group, and BerryLM is its in-house language model family, already running inside a marketplace that serves millions of shoppers. The family has been closed since it first appeared: no weights, no public API, only benchmark claims in Russian tech press. What changed this week is that a draft pull request to SGLang — the inference engine, not the vendor — describes an open release in enough mechanical detail that the architecture, the deployment recipe and even the draft model's Hugging Face repo name are now public, while the weights themselves are not.

What the pull request actually shows

Pull request #55435 in sgl-project/sglang, titled "[Feat] berrylm: Add BerryLM with DFlash2 support", was opened on 4 December 2026 by GitHub user DanilSmorchkov and is still a draft: 20 files, roughly 2,900 lines of diff, not merged and not reviewed to completion. It adds a self-contained BerryLMForCausalLM implementation (a 1,321-line models/berrylm.py), a config class, a 494-line tool-call detector, two parser names on the CLI, three documentation rows, two MoE kernel autotune configs for H200, and a small change to the shared KDA attention backend.

It also names the artifacts, which is the part that matters for anyone tracking the release. The model is rwb-ai/BerryLM-OS. The speculative-decoding drafter is rwb-ai/BerryLM-OS-DFlash2. The PR says it "continues #39972 from commit 5eca54f9", which reads like an earlier internal or since-removed branch — that parent PR does not resolve publicly today, and neither do the transformers (huggingface/transformers#48901) and vLLM (vllm-project/vllm#57384) changes it cites as the model's upstream support. Treat the version history as unverified; treat the code in front of you as real.

Screenshot of GitHub pull request 55435 in sgl-project/sglang, titled [Feat] berrylm: Add BerryLM with DFlash2 support, showing the Draft badge, the author DanilSmorchkov, a +2,679 −2 diff across 20 changed files, the Motivation text describing BerryLM as a hybrid linear/full-attention MoE released as rwb-ai/BerryLM-OS with ~3.2B active / ~18.3B total, 40 layers and 256k context, the Modifications list including the KDA per-channel gate kernel fix, and a reviewer panel stating at least one approving review is required to merge.

The shape of the model: 18.3B total, 3.2B active

The PR describes BerryLM-OS as a text-only hybrid linear/full-attention MoE decoder with a thinking mode. The config defaults in the added configs/berrylm.py are more specific than the prose, and they are the closest thing to a spec sheet that exists right now:

• Size — ~18.3B total parameters, ~3.2B active per token, 40 decoder layers.

• Sparsity — 128 experts per layer, top-8 routing, plus one shared expert; expert intermediate size 512 against a 2,048 hidden width.

• Attention mix — one full-attention layer for every three linear-attention layers (full_attention_interval = 4), so 10 full and 30 linear layers.

• Full attention — 16 query heads, 2 KV heads, head dim 256, output sigmoid gate, partial rotary at 0.25 of each head.

• Linear attention — gated delta rule in the Kimi Delta Attention family, 16 key heads over 32 value heads at dim 128, 4-wide causal conv, rank-128 gate bottleneck.

• Depth mixing — "Gated Block AttnRes" with block size 8: every layer reads a softmax mixture of residual streams committed at block boundaries, gated toward the identity by a per-layer scalar.

• Vocabulary and context — 180,224-token text-only vocabulary, untied embeddings, 262,144-token maximum position, RoPE theta 1e7.

Nothing in that list is a benchmark. It is the architecture as someone typing it into a serving engine understood it, which is a different and in some ways better source than a marketing page: the config has to compile.

Generated single-column scoreboard headed BerryLM-OS — the scoreboard, with six rows reading Total / active params 18.3B / 3.2B, Layers 40 (10 full, 30 linear), Experts 128, top-8 plus shared, Context 262,144 tokens, Vocabulary 180,224, text only, and Weights not public as of 5 Dec 2026, with a footer stating the architecture figures come from the draft SGLang PR #55435 and that no benchmark scores exist for this checkpoint.

One kernel fix tells you the gates are extreme

The least glamorous hunk in the diff is also the most informative. BerryLM's per-channel forget gates — a rank-128 projection of each layer input producing one log-decay per key channel per head — can reach values that the existing KDA prefill kernel cannot represent. The fused intra-chunk path clamps exp2(g_i - g_n) to ±126, and inside a 16-token block that collapses any decay past 2⁻¹²⁶ to zero. The PR tracks it to issue #39971 and adds a per-layer opt-out (kda_fused_intra = False) that routes those layers through the unfused path. The default for every other model is unchanged.

That is a useful signal about the design intent. Per-channel, per-head decay is the mechanism that lets a linear-attention model hold or drop state at different rates across a very long context. BerryLM-OS is configured for 256k tokens, and its gates apparently push into numerical territory where an existing Kimi-Linear-derived kernel needs a slower path. Whether that costs prefill throughput is not something a draft PR establishes — no numbers for it appear in the diff.

DFlash2 is the part RWB already runs

Speculative decoding is why this PR is titled the way it is, and it is the one claim with an independent trail. RWB's own engineering blog published a production write-up on 13 November 2026 comparing seven speculative-decoding approaches inside the Wildberries buyer assistant and settling on DFlash 2, reporting ×2.1 at one concurrent user, ×1.37 at 128, a positional acceptance curve from 0.75 down to 0.36, and τ = 4.57. Median server-side message time fell from 10.9 s to 3.6 s and p90 from 15.3 s to 5.3 s, with the authors noting that was not a clean ablation because serving configuration changed too.

That post describes the production model only as an FP8-quantized MoE with hybrid attention and "several billion active parameters per token" — no model name, no size. Read next to the SGLang config, which specifies 3.2B active on hybrid attention with 10 full layers, the two descriptions are consistent. It is a reasonable inference, not a statement by RWB, that the open release is the same architecture the production assistant serves.

The PR's own DFlash2 numbers are modest and self-reported: on one H200 with BF16 weights and TP=1, the server accepted 919 draft tokens across 215 verification steps, a mean of 5.27 decoded tokens per step including the target token — about 4.3 accepted draft tokens per step, in the same neighbourhood as the 4.57 τ the RWB team reported in production. The draft model requests residual streams after decoder layers 3, 11, 20, 28 and 37, which is what the block-structured AttnRes mixer makes convenient. The serving command in the PR is a single line: --speculative-algorithm DFLASH --speculative-draft-model-path rwb-ai/BerryLM-OS-DFlash2 --speculative-num-draft-tokens 8.

The rest of the accuracy section is a smoke test, not an evaluation: 17 × 23 returned 391 with thinking on and off, a Python function was generated, and a weather tool call parsed correctly. There is no MMLU, no GSM8K score, no MERA number for this checkpoint anywhere in the diff.

Why a marketplace would open weights now

RWB has never shipped weights. Its public numbers are benchmark placements, not downloads: on 25 June 2026 the company reported BerryLM-XL at 0.835 on MERA — third overall and second among AI models, behind a human reference of 0.852 — with BerryLM-v2 at 0.810 in fifth. Russian market surveys have listed the family as closed-weight. Earlier checkpoints sit on a personal Hugging Face account whose cards describe them as "BerryLM Wildberries & Russ", several under a proprietary licence.

An "OS" suffix, an org account, and a mergeable serving implementation point the same direction: this is the first time the family is being prepared for download. The motivation is not stated anywhere, but the shape of the work is suggestive. RWB runs BerryLM on its own traffic at marketplace scale, quantized to FP8, tuned for latency. Publishing weights for a 3.2B-active model with a matched DFlash2 drafter costs them little competitively — the moat is the marketplace data, not the checkpoint — and it buys something they cannot get from MERA points: outside users, outside bug reports, and a Russian-language model that other people's tooling supports by default.

The support work is already being done by contributors rather than by RWB. SGLang's implementation registers a reasoning parser for <think> blocks and an XML <tool_call> parser with typed JSON arguments, both streaming and non-streaming, and both names added to the CLI lists. Someone outside the vendor cared enough to write 494 lines of detector and 253 lines of tests for them.

What is confirmed, and what is not

Confirmed: the PR exists, is a draft, is unmerged, and was opened 4 December. The config defaults above are in the diff. The rwb-ai organization exists on Hugging Face — six members, unverified status — and as of 5 December its model count is zero. The model page returns 401. The end-to-end test is registered disabled pending a public checkpoint. No announcement of BerryLM-OS has been found from RWB in Russian or English.

Screenshot of the Hugging Face organization page for rwb-ai, showing the RWB logo, the rwb.ru website link, a Non-Profit organisation label, Models 0 with the text None public yet, Datasets 0, and six team member avatars.

Not confirmed: that any weights will be released, on what licence, at what size beyond the stated 18.3B/3.2B, with what context length in practice rather than in config, how it performs on anything, whether it speaks English at all given a 180k text-only vocabulary aimed at the Russian market, and whether the cited transformers and vLLM changes will land. A contributor's draft PR is not a vendor statement, and this one has no vendor comment attached.

The honest summary for a reader deciding anything today is that there is nothing to decide yet. What exists is a recipe: an architecture detailed enough to reason about, a serving configuration, and a named drafter. If the checkpoint appears, the first thing worth watching is not a benchmark — it is whether the two-H200-class memory footprint of an 18.3B model with a 256k KV budget survives contact with a real deployment, and whether the KDA opt-out costs enough prefill throughput to matter.

How this model would actually get used

The practical question for most teams outside Russia is not whether BerryLM-OS beats a frontier model — it will not, and it is not aimed there. It is whether a 3.2B-active multilingual MoE with 256k context is cheap enough to serve for document and marketplace-style workloads where the incumbent is a 30B-class dense model. That is a routing question before it is a quality question: a model this unproven belongs behind something that can send a request to it, measure the result, and fall back to a known-good model when it underperforms.

That is the layer OrcaRouter sits in — one API across 200+ models, automatic failover per request, and 0% markup on provider list price, so a vendor's own pricing is what you pay rather than a reseller's. BerryLM-OS is not among those models today and there is no indication of a hosted endpoint; if that changes, a per-request routing rule is the low-risk way to put an unverified open model in front of real traffic without betting a production path on it.

What to watch next

Three checkpoints, in order of how much they would tell you. First, the PR leaving draft: a merged SGLang implementation means the model is servable, not that it is downloadable, but a maintainer review would surface spec errors the author's smoke tests cannot. Second, the Hugging Face org gaining a model — that is the release, and its card will answer the licence and language questions this article cannot. Third, an RWB statement in Russian, which is where this company communicates; the MERA results in June arrived that way, not through an English blog post.

Until at least one of those happens, BerryLM-OS is a well-documented maybe. The code says the model is real and nearly ready to serve. The disabled test says the authors know you cannot run it yet.