Model reference · open weights
JustRL-II-model is an open-weight language model from openbmb. JustRL-II-base-model (BF16) weighs 5.0 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.
Summary of the openbmb/JustRL-II-base-model model card, 2026-10-01
What it is
| Released by | openbmb |
|---|---|
| Released | 2026-09-07 |
| VRAM | 5.0 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 16 | 4 | all 64K | 11.6 GB |
| RTX 4060 Ti 16 GB | 27 | 6 | all 64K | 15.4 GB |
| RTX 3090 24 GB | 50 | 12 | all 64K | 23.4 GB |
| RTX 4090 24 GB | 50 | 12 | all 64K | 23.4 GB |
| RTX 5090 32 GB | 71 | 17 | all 64K | 31.0 GB |
| L40S 48 GB | 108 | 27 | all 64K | 44.0 GB |
| A100 80 GB | 205 | 51 | all 64K | 78.2 GB |
| H100 80 GB | 194 | 48 | all 64K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 239 | 59 | all 64K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 277 | 69 | all 64K | 107 GB |
| H200 141 GB | 364 | 91 | all 64K | 138 GB |
| B200 180 GB | 472 | 118 | all 64K | 176 GB |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 6.0 GB | 7.1 GB |
| 5 | 7.4 GB | 12.7 GB |
| 8 | 8.5 GB | 17.0 GB |
| 16 | 11.3 GB | 28.2 GB |
| 32 | 17.0 GB | 50.8 GB |
| 64 | 28.2 GB | 95.9 GB |
One card, with vLLM's small-card settings.
From the model card
This is the RL initialization checkpoint used in the blog JustRL II: Scaling Small LLMs to 128K Reasoning with a Critic (中文版).
It is the starting point of the mathematical-reasoning case study in that blog — the checkpoint that every run there (the standard-GRPO baseline, the full JustRL II recipe, and all ablations) is initialized from and evaluated against. It is not the post-RL model. We release it so that the blog's data pipeline and training recipe can be reproduced from the exact same starting weights.
... before the final answer.| File | Notes |
|---|---|
pytorch_model.bin | bf16 weights, single file |
config.json | Llama-style architecture (LlamaForCausalLM), loads with stock transformers |
tokenizer.json, tokenizer_config.json, special_tokens_map.json | tokenizer |
chat_template.jinja | chat template with thinking-mode support (enable_thinking) |
Two end-of-sequence ids are configured (eos_token_id = [1, 130073]); pass both to your generation call or serving engine. config.json ships with max_position_embeddings = 65536; the RL runs in the blog use a 128k-token generation budget — refer to the blog for the long-context serving setup used there.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "openbmb/JustRL-II-base-model"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=torch.bfloat16, device_map="auto"
)
messages = [{"role": "user", "content": "What is the sum of all positive divisors of 360? Think step by step."}]
text = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True, enable_thinking=True
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
inputs.pop("token_type_ids", None)
out = model.generate(
**inputs,
max_new_tokens=8192,
do_sample=True,
temperature=1.0,
eos_token_id=[tokenizer.eos_token_id, 130073],
)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))
For evaluation or RL rollouts, serve it with vLLM or SGLang as a standard Llama-architecture model, e.g.
vllm serve openbmb/JustRL-II-base-model --dtype bfloat16
This checkpoint has not been aligned for general assistant use and has only been evaluated on mathematical reasoning. It may produce very long outputs; set a generation budget appropriate to your hardware.
The blog trains this checkpoint with a critic-equipped GRPO recipe:
See the blog for the full specification, ablations, and critic diagnostics.
@misc{justrl2,
title = {JustRL II: Scaling Small LLMs to 128K Reasoning with a Critic},
author = {Pan, Haoxuan and Zhou, Chuyue and Li, Xin and others},
year = {2026},
howpublished = {\url{https://panhaoxuan.notion.site/justrl-ii-scaling-small-llms-to-128k-reasoning-with-a-critic}}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.