A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search
35
33 commits
1 linked in READMEs
updated Sep 18, 2026
A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search
Zhongguancun Academy · Zhongguancun Institute of Artificial Intelligence
📄 Tech Report · 🤗 Model · 🤗 Data · 📊 Results · 💻 Training Code · 💬 WeChat Community
ZGCM-1 is a 7.39B-parameter dense language model trained from scratch, built for mathematical reasoning and tool-assisted search. It combines deliberate internal thinking with active information gathering, supporting 256K-token context and both thinking and direct-response modes in a single model.
The project brings together an efficient hybrid-attention architecture, FP8 training with Muon, progressive long-context mid-training, and general-agentic supervised fine-tuning. Researcher-directed AI agents contribute throughout development, from data curation and cluster operations to evaluation and deployment.

ZGCM-1 ships its own modeling code, so trust_remote_code=True is required.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "zgcagi/ZGCM-1-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
dtype="bfloat16",
device_map="auto",
)
messages = [{"role": "user", "content": "Compute 1+1."}]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=4096,
do_sample=True,
temperature=1.0,
top_p=1.0,
)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The following results are from the technical report, using the 256K SFT checkpoint in thinking mode. Non-agentic evaluations use temperature 1.0, top-p 1.0, and mean pass@1 over 32 runs unless otherwise specified.

| Benchmark (%) | ZGCM-1 | DeepSeek-R1-0528-Qwen3-8B | MiniCPM4.1-8B | Qwen3-8B | Olmo 3 7B Think |
|---|---|---|---|---|---|
| MATH-500 | 97.13 | 96.32 | 95.60 | 96.20 | 95.10 |
| AIME 2024 | 80.62 | 83.33 | 83.33 | 80.00 | 71.60 |
| AIME 2025 | 73.33 | 75.21 | 73.33 | 63.33 | 64.60 |
| AIME 2026 | 75.00 | 69.17 | 71.67 | 66.67 | 66.16 |
| HMMT 2025 | 70.42 | 61.50 | 52.50 | 43.33 | 43.89 |
| HMMT 2026 | 59.48 | 51.52 | 46.21 | 45.45 | 43.94 |
Selected rows and models from Table 2; bold marks the best score in each displayed row. The full evaluation covers 20 benchmarks, including code, knowledge, and instruction following.
| Benchmark | ZGCM-1 (%) | Setting |
|---|---|---|
| WebWalkerQA | 63.09 | Web search and page reading |
| BrowseComp | 19.43 | Web search and page reading |
| GAIA (text-only) | 42.52 | Web search and page reading |
| Binary Function Search | 62.00 | 31/50 exact function-entry matches using Ghidra tools |
Source: Tables 3–4. Web research allows up to 64 search-and-read steps. Binary Function Search uses a separate protocol on 50 tasks from 10 held-out projects.

| Model specification | ZGCM-1 |
|---|---|
| Architecture | Decoder-only dense Transformer |
| Parameters | 7.39B |
| Layers / hidden size | 32 / 4,096 |
| Attention | 27 gated sliding-window layers + 5 global layers |
| Local window / GQA heads | 128 tokens / 32 query heads, 8 KV heads |
| Maximum context | 262,144 tokens (256K) |
The training recipe described in the report has three main stages:
| Resource | Location |
|---|---|
| Model weights | zgcagi/ZGCM-1-7B |
| Data | zgcagi/ZGCM-1-Data |
| Training code | github.com/zgcagi/ZGCM-1 |
For dataset usage, see the ZGCM-1-Data card. Model specifications, evaluation details, and figures are presented in ZGCM-1: A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search.
The complete training pipeline is released at github.com/zgcagi/ZGCM-1, covering data processing, pretraining, mid-training, supervised fine-tuning, and reinforcement learning. Each stage is a top-level directory with its own code, configurations, and runtime documentation.
Scan the QR code to join the ZGCM-1 community group. Click the image to open it at full size. If the code has expired, please open a Discussion and ask the maintainers for the latest one.
ZGCM-1 is released under the MIT License. Third-party licenses and notices bundled with the training code are listed in the training repository; the dataset carries its own terms, given on the ZGCM-1-Data card.
If you find ZGCM-1 useful in your research, please cite our technical report:
@misc{zgcm1,
title={ZGCM-1: A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search},
author={Jiyan He and Guang Liang and Hao Liu and Haoxiang Guan and Jinbo Sun and Junyi Guo and Wenjun Feng and Yantai Xie and Yifei Shen and Bin Shao and Chuyang Wei and Kai Chen and Kexin Zhou and Minghang Zhu and Shuxin Zheng and Tie-Yan Liu and Taine Zhao and Wenhui Zhu and Xueyin Xu and Xiaoqing Zhang and Yatao Li and Yuxuan Ren},
year={2026},
eprint={2609.13356},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2609.13356}
}
A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search
35
33 commits
1 linked in READMEs
updated Sep 18, 2026
A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search
Zhongguancun Academy · Zhongguancun Institute of Artificial Intelligence
📄 Tech Report · 🤗 Model · 🤗 Data · 📊 Results · 💻 Training Code · 💬 WeChat Community
ZGCM-1 is a 7.39B-parameter dense language model trained from scratch, built for mathematical reasoning and tool-assisted search. It combines deliberate internal thinking with active information gathering, supporting 256K-token context and both thinking and direct-response modes in a single model.
The project brings together an efficient hybrid-attention architecture, FP8 training with Muon, progressive long-context mid-training, and general-agentic supervised fine-tuning. Researcher-directed AI agents contribute throughout development, from data curation and cluster operations to evaluation and deployment.

ZGCM-1 ships its own modeling code, so trust_remote_code=True is required.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "zgcagi/ZGCM-1-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
dtype="bfloat16",
device_map="auto",
)
messages = [{"role": "user", "content": "Compute 1+1."}]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=4096,
do_sample=True,
temperature=1.0,
top_p=1.0,
)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The following results are from the technical report, using the 256K SFT checkpoint in thinking mode. Non-agentic evaluations use temperature 1.0, top-p 1.0, and mean pass@1 over 32 runs unless otherwise specified.

| Benchmark (%) | ZGCM-1 | DeepSeek-R1-0528-Qwen3-8B | MiniCPM4.1-8B | Qwen3-8B | Olmo 3 7B Think |
|---|---|---|---|---|---|
| MATH-500 | 97.13 | 96.32 | 95.60 | 96.20 | 95.10 |
| AIME 2024 | 80.62 | 83.33 | 83.33 | 80.00 | 71.60 |
| AIME 2025 | 73.33 | 75.21 | 73.33 | 63.33 | 64.60 |
| AIME 2026 | 75.00 | 69.17 | 71.67 | 66.67 | 66.16 |
| HMMT 2025 | 70.42 | 61.50 | 52.50 | 43.33 | 43.89 |
| HMMT 2026 | 59.48 | 51.52 | 46.21 | 45.45 | 43.94 |
Selected rows and models from Table 2; bold marks the best score in each displayed row. The full evaluation covers 20 benchmarks, including code, knowledge, and instruction following.
| Benchmark | ZGCM-1 (%) | Setting |
|---|---|---|
| WebWalkerQA | 63.09 | Web search and page reading |
| BrowseComp | 19.43 | Web search and page reading |
| GAIA (text-only) | 42.52 | Web search and page reading |
| Binary Function Search | 62.00 | 31/50 exact function-entry matches using Ghidra tools |
Source: Tables 3–4. Web research allows up to 64 search-and-read steps. Binary Function Search uses a separate protocol on 50 tasks from 10 held-out projects.

| Model specification | ZGCM-1 |
|---|---|
| Architecture | Decoder-only dense Transformer |
| Parameters | 7.39B |
| Layers / hidden size | 32 / 4,096 |
| Attention | 27 gated sliding-window layers + 5 global layers |
| Local window / GQA heads | 128 tokens / 32 query heads, 8 KV heads |
| Maximum context | 262,144 tokens (256K) |
The training recipe described in the report has three main stages:
| Resource | Location |
|---|---|
| Model weights | zgcagi/ZGCM-1-7B |
| Data | zgcagi/ZGCM-1-Data |
| Training code | github.com/zgcagi/ZGCM-1 |
For dataset usage, see the ZGCM-1-Data card. Model specifications, evaluation details, and figures are presented in ZGCM-1: A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search.
The complete training pipeline is released at github.com/zgcagi/ZGCM-1, covering data processing, pretraining, mid-training, supervised fine-tuning, and reinforcement learning. Each stage is a top-level directory with its own code, configurations, and runtime documentation.
Scan the QR code to join the ZGCM-1 community group. Click the image to open it at full size. If the code has expired, please open a Discussion and ask the maintainers for the latest one.
ZGCM-1 is released under the MIT License. Third-party licenses and notices bundled with the training code are listed in the training repository; the dataset carries its own terms, given on the ZGCM-1-Data card.
If you find ZGCM-1 useful in your research, please cite our technical report:
@misc{zgcm1,
title={ZGCM-1: A Fully Open and Extremely Efficient Foundation Model for Math and Agentic Search},
author={Jiyan He and Guang Liang and Hao Liu and Haoxiang Guan and Jinbo Sun and Junyi Guo and Wenjun Feng and Yantai Xie and Yifei Shen and Bin Shao and Chuyang Wei and Kai Chen and Kexin Zhou and Minghang Zhu and Shuxin Zheng and Tie-Yan Liu and Taine Zhao and Wenhui Zhu and Xueyin Xu and Xiaoqing Zhang and Yatao Li and Yuxuan Ren},
year={2026},
eprint={2609.13356},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2609.13356}
}