Model reference · open weights

AREX-2

LLMs BAAI Vision + text 1 build Open weights 0 dl/mo

AREX-2 is an open-weight language model from BAAI. AREX-2 (BF16) weighs 54.7 GB; the smallest configuration that runs it is H100 80 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • AREX-2 is a 27.4B parameter image-text-to-text model developed by BAAI for long-horizon agent tasks.
  • It is designed for iterative problem solving, machine-learning engineering, and algorithmic coding, utilizing a dense Qwen3.8-compatible multimodal architecture.
  • The model supports a context length of 262,144 tokens and is released under the Apache 2.0 license.

Summary of the BAAI/AREX-2 model card, 2026-10-01

What it is

Released byBAAI
Released2026-09-29
Parameters27.4B
VRAM54.7 GB for the weights

What it runs on

Memory and cards for AREX-2 (BF16)

54.7 GBweights, file size
66 MBcache per 1K tokens
308 MBfixed state per request
2.2 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
A100 80 GB258all 256K78.2 GB
H100 80 GB186227K78.1 GB
RTX PRO 6000 Blackwell 96 GB3712all 256K93.8 GB
DGX Spark (GB10) 128 GB unified5318all 256K107 GB
H200 141 GB8930all 256K138 GB
B200 180 GB13345all 256K176 GB
2× L40S 48 GB
tensor parallel
3411all 256K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
3512all 256K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
3512all 256K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
7124all 256K31.0 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
157.8 GB59.4 GB
561.1 GB69.2 GB
863.7 GB76.6 GB
1670.4 GB96.2 GB
3283.9 GB135 GB
64111 GB214 GB

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

From the model card

What BAAI says about AREX-2

Read the model card

Introduction

AREX-2 is a 27B-parameter long-horizon agent model from the Beijing Academy of Artificial Intelligence (BAAI). It learns to improve a solution over multiple test-time rounds: propose, measure, reflect, and revise.

AREX-2 is trained on machine-learning and algorithmic-programming tasks with verifiable feedback, together with the existing AREX deep-research data. The learned self-improvement behavior transfers to deep research without adding new search trajectories.

  • Architecture: Dense Qwen3.8-compatible multimodal model
  • Parameters: 27B
  • Context length: 262,144 tokens

Key features

  • Long-horizon self-improvement: turns extra test-time rounds into useful solution refinement.
  • Feedback-driven reflection: reads scores, logs, errors, and timings to decide what to change next.
  • Cross-domain performance: training on coding and machine-learning tasks also improves the model's deep-research performance.
  • Long-horizon reasoning: sustains productive iteration as the task budget grows.

Evaluation

AREX-2 is evaluated on algorithmic programming, machine-learning engineering, deep research, and general agentic reasoning. Results follow the protocols reported in the AREX-2 paper.

Coding and machine-learning engineering

averaged over three seeds.

General agentic reasoning and deep research

text-only subset.

Inference

Use a recent Transformers release with Qwen3.8 support.

pip install -U torch transformers accelerate
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = "BAAI/AREX-2"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto"
)

messages = [{
    "role": "user",
    "content": "Propose a solution and explain how you would improve it over several rounds.",
}]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=1024)
print(processor.decode(
    outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True
))

Intended use

AREX-2 is intended for research on long-horizon agents, iterative problem solving, machine-learning engineering, algorithmic coding, and tool-augmented deep research.

License

AREX-2 is released under the Apache License 2.0. Follow the terms and notices for the Qwen base model and any downstream data or tools.

Citation

@misc{baai2026arex,
  title={AREX: Towards a Recursively Self-Improving Agent for Deep Research},
  author={Lu, Shuqi and Li, Chaofan and Luo, Kun and Zhang, Zhang and Wang, Hui
          and Xiao, Hongwang and Xiong, Lei and Wang, Jiahao and Wang, Sen
          and Jiang, Xiyan and Li, Wanli and Hu, Yuyang and Qian, Hongjin
          and Yan, Bingyu and Xia, Ziyi and Shao, Yingxia and Liu, Kang
          and Dou, Zhicheng and He, Di and Li, Chaozhuo and Ye, Qiwei
          and Wang, Zhongyuan and Liu, Zheng},
  year={2026},
  eprint={2607.21461},
  archivePrefix={arXiv},
  primaryClass={cs.AI},
  url={https://arxiv.org/abs/2607.21461}
}

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