A newer version of this model is available: ai-sage/GigaChat4-708B-A41B-base

GigaChat 4

Technical Report Β· Blog Β· Model Collection Β· SGLang Cookbook Β· GitHub

GigaChat 4 is the flagship hybrid model of the GigaChat family. It combines a Mixture-of-Experts (MoE) architecture with DeepSeek Sparse Attention (DSA) and Gated DeltaNet (GDN) with 708B total parameters and 41B active parameters per token. The model supports multilingual conversation, multi-step agentic tasks, tool calling, structured outputs, mathematical reasoning, coding, and question answering over long documents.

Unlike GigaChat 3.5, which offered separate instant and reasoning checkpoints, GigaChat 4 supports both modes within a single model, selectable per request. It features a one-million-token context window and supports speculative decoding with either a recurrent MTP drafter or a separate DFlash2 drafter.

This repository contains intermediate BF16 training checkpoints. Select a checkpoint revision to download model weights. Use raw text prompts with these checkpoints. The final base model is available in GigaChat4-708B-A41B-base. For conversation, tool calling, and per-request instant / reasoning selection, use the final instruction-tuned FP8 or BF16 model.

Model variants

Repository Weights Training stage
GigaChat4-708B-A41B FP8 Instruction-tuned
GigaChat4-708B-A41B-GGUF GGUF Instruction-tuned
GigaChat4-708B-A41B-bf16 BF16 Instruction-tuned
GigaChat4-708B-A41B-base BF16 Base
GigaChat4-708B-A41B-checkpoints BF16 Base, intermediate checkpoints

Training checkpoints

The following checkpoints represent key stages of GigaChat 4 training, including pretraining, midtraining, and context extension. Each checkpoint is available as a separate branch of this repository.

Stage Step Branch Configured context
Pretraining 80k pretrain-80k-step 4,096
Pretraining 120k pretrain-120k-step 4,096
Pretraining 173k pretrain-173k-step 4,096
Cosine annealing 235k cosine-anneal 4,096
Midtraining 250k midtrain-final 32,768

To load a specific checkpoint, use its branch name with the revision argument when downloading or --revision when serving with SGLang. Context lengths indicate the configurations associated with each checkpoint.

Model architecture

GigaChat 4 extends the hybrid backbone of GigaChat 3.5 by adding DSA to its multi-head latent attention (MLA) layers.

The table below describes the final base configuration. Intermediate checkpoints may have different configured context lengths and attention settings; refer to the config.json of the selected revision.

Property Value
Total / active parameters per token 708B / 41B
Decoder layers / hidden size 64 / 7,168
Linear-attention / sparse-attention layers 48 / 16
Routed experts / active routed experts / shared experts 256 / 8 / 1
Initial decoder layers with dense FFNs 3
Maximum context length 1,048,576 tokens
DSA tokens selected per query 2,048
Built-in MTP layers 1, reused recurrently

Mixture-of-Experts (MoE)

GigaChat 4 has 708B total parameters, with 41B active per token. Each MoE layer combines an attention block with shared and routed experts, selecting 8 of 256 routed experts per token alongside a shared expert. GatedNorm is applied to block outputs before residual addition.

Hybrid attention

The model interleaves GatedDeltaNet and DSA layers in a 3:1 ratio. GatedDeltaNet maintains a fixed-size recurrent state for efficient processing, while DSA selectively attends to 2,048 earlier tokens per query, enabling retrieval of information from long contexts.

The context window was progressively extended from 32K to 128K and finally to 1M tokens. DSA was introduced at 128K through indexer-only training, followed by joint optimization of the indexer and backbone at 1M tokens.

Speculative decoding

GigaChat 4 supports two approaches to speculative decoding:

  • Recurrent MTP: An EAGLE-3-style drafter that reuses a single prediction layer across draft steps, reducing drafter parameters by approximately 3Γ— compared to GigaChat 3.5's three independent MTP blocks without sacrificing draft quality.

  • DFlash2: A separate five-layer BF16 drafter that predicts tokens in parallel using blocks of eight positions: one anchor token and seven draft positions.

Both approaches accelerate autoregressive generation by allowing the target model to verify multiple draft tokens in a single forward pass.

Training and alignment

Pretraining stability

Several techniques were introduced to improve training stability at scale:

  • Progressive residual warm-up (ProRes) gradually increases residual branch contributions during early training, with deeper layers warming up more slowly to prevent activation growth.

  • Projection-specific z-loss and logit softcapping control activation outliers and extreme output logits.

  • Dynamic learning-rate rescaling (DLR) adjusts learning rates for individual MoE blocks when persistent expert-load imbalance is detected, without affecting the rest of the model.

Alignment

Following supervised fine-tuning, expert models were trained using reinforcement learning on mathematics, coding, tool use, and multi-turn agent workflows.

These experts were then consolidated into a single model through multi-teacher on-policy distillation, where the student generates its own responses and receives task-specific feedback from the corresponding teachers.

Muon was used for optimization during this stage. The resulting model supports both instant and reasoning modes within a single checkpoint.

For more details on the model architecture, training methodology, and alignment, see the GigaChat 4 technical report.

Evaluation Results

The following tables summarize GigaChat 4's performance across a broad range of benchmarks. All scores are reported as percentages unless otherwise specified. A dash indicates an unreported result.

Reasoning

Code

Benchmark GigaChat 4 708B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 GLM-5.3 DeepSeek 4.1 1017 Qwen 3.5 397B Mistral 4 Large
LiveCodeBench v6 88.82 85.40 90.00 82.67 90.14 86.64 84.64
SWE-bench Verified (7-hour timeout) 80.89 64.70 81.80 86.67 79.40 73.00 79.60
SWE-bench Multilingual (7-hour timeout) 77.00 β€” 73.00 80.33 79.33 66.33 81.67
DeepSWE (7-hour timeout) 35.40 β€” 53.10 67.26 74.34 3.54 61.95
NL2Repo (Cheating adjusted) (7-hour timeout) 30.89 5.00 33.13 28.69 5.90 18.59 27.88
Terminal-Bench 2.0 (7-hour timeout) 71.26 30.30 55.01 71.67 61.80 56.18 77.78
Terminal-Bench 2.1 (7-hour timeout) 69.66 β€” 78.65 88.70 87.64 57.30 83.33

General

Benchmark GigaChat 4 708B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 GLM-5.3 DeepSeek 4.1 1017 Qwen 3.5 397B Mistral 4 Large
IFBench (prompt-level loose) 80.33 77.00 63.00 55.67 75.67 74.33 71.00
JSONSchemaBench 99.28 93.01 94.00 91.64 99.31 96.26 97.38
StructEval Text 87.64 85.00 88.00 85.36 85.36 85.48 86.10
POLLUX 81.46 75.50 70.00 77.96 78.64 74.16 73.18
GraphWalks 74.92 38.00 72.70 78.35 79.09 61.01 78.45
Natural Plan 94.53 80.19 91.03 80.00 93.73 92.25 94.39
NIH Complex 100.00 99.16 β€” 96.89 96.53 98.74 99.75
AA-LCR 70.33 25.00 β€” 66.70 β€” 68.00 73.67

STEM

Benchmark GigaChat 4 708B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 GLM-5.3 DeepSeek 4.1 1017 Qwen 3.5 397B Mistral 4 Large
GPQA Diamond 82.83 82.30 91.00 90.40 90.91 85.35 87.37
HMMT (pass@8) 98.33 93.00 100.00 100.00 100.00 98.33 100.00
HMMT (mean@8) 93.75 β€” 98.75 92.08 97.92 82.71 99.58
AIME 2025 (pass@8) 96.67 93.00 96.67 100.00 100.00 96.67 100.00a
AIME 2025 (mean@8) 93.33 89.00 90.00 93.125 97.60 93.75 97.08a
AIME 2026 (pass@8) 96.67 97.00 100.00 100.00 100.00 β€” 100.00a
AIME 2026 (mean@8) 95.00 91.00 95.00 95.104 98.23 β€” 99.17a
IMO-AnswerBench 82.69 73.00 89.80 88.50 92.69 83.22 78.20
HLE (text only, without tools) 23.91 13.16 37.80 39.62 43.42 28.36 30.40

a Evaluated without tools.

Agentic

Benchmark GigaChat 4 708B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 GLM-5.3 DeepSeek 4.1 1017 Qwen 3.5 397B Mistral 4 Large
BFCL v4 79.55 58.59 73.12 68.29 72.18 69.10 70.68
τ²-Bench (mean@3) 83.31 61.58 83.30 78.70 79.43 78.83 80.60
τ³-Bench Banking (mean@3) 18.03 8.93 20.90 56.00 21.65 12.03 24.74
CoworkBench 83.00 25.00 78 73.79 77.82 64.11 59.27
SkillsBench (no skills) 33.08 β€” 29.89 45.47 45.47 42.06 37.00
SkillsBench (skills) 58.24 β€” 59.81 61.54 β€” 42.06 46.90
HealthAdminBench (success rate / mean) 40.74 / 88.27 β€” 25.92 / 78.36 45.93 / 88.37 β€” 41.48 / 86.12 β€”

Instant

Code

Benchmark GigaChat 4 708B GigaChat 3.1 Ultra 702B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 Qwen 3.5 397B
LiveCodeBench v6 78.77 57.00 56.20 71.18 61.52
SWE-bench Verified (7-hour timeout) 80.82 9.00 39.70 78.80 68.60
SWE-bench Multilingual (7-hour timeout) 70.67 3.33 21.60 72.33 65.00
DeepSWE (7-hour timeout) 19.47 0.00 0.00 28.32 0.88
NL2Repo (Full score) (7-hour timeout) 37.56 7.90 β€” 30.37 30.28
Terminal-Bench 2.0 (7-hour timeout) 60.47 9.00 12.94 β€” 49.44
Terminal-Bench 2.1 (7-hour timeout) 66.29 6.74 β€” 70.77 56.18

General

Benchmark GigaChat 4 708B GigaChat 3.1 Ultra 702B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 Qwen 3.5 397B
IFBench (prompt-level loose) 50.33 29.00 43.66 40.00 53.00
JSONSchemaBench 88.31 93.96 83.94 93.70 93.45
StructEval Text 89.12 84.98 74.35 85.64 83.62
POLLUX 79.65 63.28 74.25 72.22 74.29
GraphWalks 48.02 15.16 19.99 51.16 56.49
Natural Plan 52.17 32.00 66.42 41.58 45.72
NIH Complex 95.71 74.22 97.11 32.21 99.24
AA-LCR 48.00 β€” 27.60 β€” 60.00

STEM

Benchmark GigaChat 4 708B GigaChat 3.1 Ultra 702B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 Qwen 3.5 397B
GPQA Diamond 70.20 56.57 61.11 74.75 83.33
HMMT (pass@8) 86.67 45.00 55.00 70.00 78.33
HMMT (mean@8) 63.75 β€” β€” 44.38 63.33
AIME 2025 (pass@8) 93.33 73.33 93.30 86.67 93.33
AIME 2025 (mean@8) 68.75 37.08 68.00 48.23 80.00
AIME 2026 (pass@8) 96.67 66.67 83.30 93.33 93.333
AIME 2026 (mean@8) 80.83 39.17 67.00 60.42 86.250
IMO-AnswerBench 60.09 28.75 32.00 41.91 72.38
Humanity's Last Exam (text only, without tools) 8.20 4.00 3.94 10.43 19.83

Agentic

Benchmark GigaChat 4 708B GigaChat 3.1 Ultra 702B GigaChat 3.5 Ultra 432B DeepSeek V4 Flash 0731 Qwen 3.5 397B
BFCL v4 63.62 -- 51.57 65.81 β€”
τ²-Bench (mean@3) 66.75 33.00 68.71 77.13 78.73
τ³-Bench Banking (mean@3) 15.00 5.50 5.15 β€” 12.71
CoworkBench (Pi) 75.00 β€” 19.76 54.84 63.31
SkillsBench (without skills) 33.93 0.51 β€” 27.87 β€”
SkillsBench (with skills) 54.24 1.23 β€” 54.32 β€”
HealthAdminBench (success rate / mean) 40.74 / 86.99 β€” β€” 23.73 / 70.14 33.33 / β€”
JobBench 33.59 β€” β€” 29.64 16.85

Evaluation Notes

Agentic benchmarks were evaluated using Harbor-based runners (SWE-bench, Terminal-Bench, NL2Repo, SkillsBench, HealthAdminBench, CoworkBench, and JobBench), except DeepSWE, which used Pier. Runs with a seven-hour timeout are marked in the tables.

NL2Repo reports cheating-adjusted scores, counting cheating attempts as zero. StructEval uses the text subset with rule-based scoring, while HLE includes only text-based questions without tools. HealthAdminBench reports success rate / mean.

Usage

SGLang

GigaChat 4 is natively supported in SGLang, including recurrent MTP speculative decoding.

For detailed deployment instructions, hardware configurations, API examples, and performance benchmarks of the post-trained FP8 model, see the GigaChat 4 SGLang cookbook.

The deployment recipe below was tested on SGLang commit ff14289793.

Installation

python3 -m pip install \
  "sglang @ git+https://github.com/sgl-project/sglang.git@ff142897935ec6ede004dea8439d6111110bd446#subdirectory=python"

Deployment

The BF16 model requires approximately 1.4 TB of GPU memory for weights alone, with additional memory needed for attention caches, recurrent states, and activations. The example below uses four nodes with eight H100 80GB GPUs each (TP32). Download the same model on all nodes, set HEAD_IP to the head node's IP address, and set NODE_RANK to 0, 1, 2, or 3 on the respective nodes.

Set REVISION to the branch you want to serve. The example selects the 173k pretraining checkpoint. SGLang reads that branch's configured context length.

export REVISION=pretrain-173k-step

sglang serve \
  --model-path ai-sage/GigaChat4-708B-A41B-checkpoints \
  --revision "$REVISION" \
  --tp 32 \
  --nnodes 4 \
  --node-rank "$NODE_RANK" \
  --dist-init-addr "${HEAD_IP}:20000" \
  --mem-fraction-static 0.8 \
  --max-running-requests 64 \
  --cuda-graph-max-bs-decode 64 \
  --host 0.0.0.0 \
  --port 30000

Text Completion

These intermediate base checkpoints are intended for raw text completion rather than chat-based interaction. Use the /v1/completions endpoint:

curl http://localhost:30000/v1/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "ai-sage/GigaChat4-708B-A41B-checkpoints",
    "prompt": "The capital of France is",
    "temperature": 1.0,
    "top_p": 1.0,
    "repetition_penalty": 1.0,
    "max_tokens": 4096
  }'

Read the generated continuation from choices[0].text.

License

GigaChat 4 is released under the MIT License.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including ai-sage/GigaChat4-708B-A41B-checkpoints