Model reference · open weights

ZGCM-1

LLMs zgcagi Text gen 1 build Open weights 1k dl/mo

ZGCM-1 is an open-weight language model from zgcagi. ZGCM-1-7B (BF16) weighs 14.8 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.

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

  • ZGCM-1 is a 7.4B parameter dense language model developed by zgcagi for mathematical reasoning and agentic search.
  • It supports a 262,144 token context length and operates in both English and Chinese.
  • The model is released under the MIT license.

Summary of the zgcagi/ZGCM-1-7B model card, 2026-10-01

What it is

Released byzgcagi
Released2026-09-07
Parameters7.4B
VRAM14.8 GB for the weights

What it runs on

Memory and cards for ZGCM-1-7B (BF16)

14.8 GBweights, file size
20 MBcache per 1K tokens
519 MBwindow cache per request
746 MBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … RTX 4060 Ti 16 GB
2 smaller cards
RTX 3090 24 GB116all 256K23.4 GB
RTX 4090 24 GB116all 256K23.4 GB
RTX 5090 32 GB2213all 256K31.0 GB
L40S 48 GB4123all 256K44.0 GB
A100 80 GB9152all 256K78.2 GB
H100 80 GB4921all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB6227all 256K93.8 GB
DGX Spark (GB10) 128 GB unified7432all 256K107 GB
H200 141 GB10043all 256K138 GB
B200 180 GB13233all 256K176 GB
2× RTX 3060 12 GB
tensor parallel
105all 256K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
2112all 256K15.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
116.2 GB16.7 GB
519.0 GB21.5 GB
821.0 GB25.1 GB
1626.5 GB34.6 GB
3237.5 GB53.6 GB
6459.5 GB91.7 GB

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

From the model card

What zgcagi says about ZGCM-1

Read the model card

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

Introduction

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.

Highlights

  • Math and reasoning at 7B scale. ZGCM-1 achieves 97.13% on MATH-500, 75.00% on AIME 2026, and 70.42% on HMMT 2025, with the best average rank across the report's 14 reasoning benchmarks among the seven compared 7B–8B models.
  • Search beyond model memory. Multi-step tool use reaches 63.09% on WebWalkerQA, 19.43% on BrowseComp, and 62.00% on Binary Function Search.
  • Efficient long context. Gated sliding-window and global attention deliver 3.94× training throughput at 256K compared with full attention in the report's architecture experiments. The report estimates an approximately 4.2× improvement in 16K pretraining time-to-loss from combined architecture, precision, optimizer, and normalization gains.
  • An open research recipe. The training repository releases the data-processing, pretraining, mid-training, and SFT workflows, with stage-specific configurations and runtime documentation.

Quickstart

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))

Evaluation Results

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.

Selected reasoning benchmarks

Benchmark (%)ZGCM-1DeepSeek-R1-0528-Qwen3-8BMiniCPM4.1-8BQwen3-8BOlmo 3 7B Think
MATH-50097.1396.3295.6096.2095.10
AIME 202480.6283.3383.3380.0071.60
AIME 202573.3375.2173.3363.3364.60
AIME 202675.0069.1771.6766.6766.16
HMMT 202570.4261.5052.5043.3343.89
HMMT 202659.4851.5246.2145.4543.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.

Agentic search

BenchmarkZGCM-1 (%)Setting
WebWalkerQA63.09Web search and page reading
BrowseComp19.43Web search and page reading
GAIA (text-only)42.52Web search and page reading
Binary Function Search62.0031/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.

Architecture and Training

Model specificationZGCM-1
ArchitectureDecoder-only dense Transformer
Parameters7.39B
Layers / hidden size32 / 4,096
Attention27 gated sliding-window layers + 5 global layers
Local window / GQA heads128 tokens / 32 query heads, 8 KV heads
Maximum context262,144 tokens (256K)

The training recipe described in the report has three main stages:

  1. Pretraining: approximately 4.19T tokens, combining curriculum-based data mixing with hybrid FP8 precision and Muon optimization.
  2. Mid-training: approximately 600B tokens with context extended from 16K → 64K → 256K. Interaction traces are reformulated as Markov Decision Process (MDP) state-action transitions to supervise individual decisions.
  3. Supervised fine-tuning: joint general and agentic training with mixed thinking/direct-response examples, execution-verified trajectories, and assistant-only loss. The report also explores mixed RL for mathematics and code.

Resources

ResourceLocation
Model weightszgcagi/ZGCM-1-7B
Datazgcagi/ZGCM-1-Data
Training codegithub.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

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