/ Модель

Характеристики

Контекст
1 048 576 токенов
Параметры
3,2 млрд
Размер весов
76,5 ГБ
Лицензия
Своя лицензия
Архитектура
gigachat4 · dense
Опубликована
19 ноя 2026

GigaChat4-37B-A4B-base

Генерация текстаТекст → текст15 профессий

Базовая текстовая модель GigaChat 4 с гибридной архитектурой MoE и контекстом до миллиона токенов для генерации текста и дальнейшей настройки.

343скачиваний за 30 дней18лайковвеса обновлены26 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

GigaChat 4 37B-A4B — базовая языковая модель семейства GigaChat 4, представленная в этом репозитории в формате BF16. По README, модель разработана командой GigaChat; её архитектура MoE содержит 37 млрд параметров, из которых активны около 4 млрд на токен, и сочетает Gated DeltaNet с разреженным вниманием DeepSeek Sparse Attention. Метаданные указывают 3,2 млрд параметров, поэтому сведения о размере в источниках расходятся.

Модель предназначена для генерации текста и служит базой для дальнейшего использования или настройки. Заявлен контекст до 1 048 576 токенов, поддержка русского и английского языков, а также возможности для рассуждений, математики, программирования и работы с длинными документами. В карточке описаны варианты instruction-tuned для диалога, вызова инструментов и выбора режимов ответа; данный чекпойнт — именно базовый, рассчитанный на текстовые промпты.

README приводит результаты тестов по программированию, общим задачам и STEM, но не даёт гарантий качества для конкретных сценариев. Указана лицензия other, поэтому условия использования следует уточнять в самой лицензии репозитория. Модель не предназначена для обработки изображений или аудио.

Сценарии применения

  • генерация продолжения текста по промпту
  • ответы на вопросы по длинным документам
  • подготовка и настройка русскоязычной языковой модели
  • генерация и объяснение кода
  • решение математических задач

Ограничения

Этот репозиторий содержит базовую модель: возможности диалога, вызова инструментов и переключения режимов ответа описаны для instruction-tuned вариантов. Размер модели в README и метаданных различается; лицензия обозначена как other.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

GigaChat 4 37B-A4B

GigaChat 4 37B-A4B is a compact hybrid model in the GigaChat 4 family. It combines a Mixture-of-Experts (MoE) architecture with DeepSeek Sparse Attention (DSA) and Gated DeltaNet (GDN) with 37B total parameters and 4B 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 the BF16 base model. Use raw text prompts with this checkpoint. For conversation, tool calling, and per-request instant / reasoning selection, use the final instruction-tuned FP8 or BF16 model.

Model variants

RepositoryWeightsTraining stage
GigaChat4-37B-A4BFP8Instruction-tuned
GigaChat4-37B-A4B-GGUFGGUFInstruction-tuned
GigaChat4-37B-A4B-bf16BF16Instruction-tuned
GigaChat4-37B-A4B-baseBF16Base
GigaChat4-37B-A4B-checkpointsBF16Base, intermediate checkpoints

Model architecture

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

PropertyValue
Total / active parameters per token37B / 4B
Decoder layers / hidden size32 / 2,560
Linear-attention / sparse-attention layers24 / 8
Routed experts / active routed experts / shared experts192 / 8 / 1
Initial decoder layers with dense FFNs1
Maximum context length1,048,576 tokens
DSA tokens selected per query2,048
Built-in MTP layers1, reused recurrently

Mixture-of-Experts (MoE)

This model has 37B total parameters, with 4B active per token. Each MoE layer combines an attention block with shared and routed experts, selecting 8 of 192 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

GigaChat 4 37B builds on the training techniques used for the 708B model, with additional improvements to optimizer scaling and stability:

  • Muon with μP-based scaling was used throughout pretraining and midtraining. We derived scaling rules for Muon's weight updates that account for GatedDeltaNet and gated normalization, allowing hyperparameters tuned on a 4B model to transfer to 37B. During midtraining, we increased the number of Newton–Schulz iterations per optimizer step.

  • 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.

The resulting model supports both instant and reasoning modes within a single checkpoint.

For more details on the GigaChat 4 architecture and training methodology, see the GigaChat 4 technical report. A dedicated technical report for GigaChat 4 37B will be published later.

Evaluation Results

The following tables summarize GigaChat 4 37B'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

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
LiveCodeBench v685.0064.0069.0065.0085.40
SWE-bench Verified70.8032.4060.6067.8064.70
SWE-bench Multilingual61.6726.0057.3060.70—
NL2Repo (mean score / pass rate)14.89 / 25.033.20 / 3.4011.40 / 5.7030.30 / 17.705.00 / —
Terminal-Bench 2.038.2022.5033.7048.3030.30
Terminal-Bench 2.139.3322.5034.8049.40—

General

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
IFBench (prompt-level loose)75.0061.0064.3058.0077.00
JSONSchemaBench96.0087.0094.2042.0093.01
StructEval Text86.0075.0078.9085.6085.00
POLLUX—73.0068.6071.0075.50
GraphWalks63.0013.0060.5046.0038.00
Natural Plan92.0051.0075.2076.0080.19
NIH Complex99.0094.0096.9067.0099.16
AA-LCR54.0018.7066.0060.7025.00

STEM

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
GPQA Diamond70.0066.0085.0080.0082.30
HMMT (pass@8)95.0086.7087.0083.0093.00
HMMT (mean@8)87.0061.5074.0070.00—
AIME 2025 (pass@8)93.0080.0093.0093.0093.00
AIME 2025 (mean@8)88.0073.0088.0092.0089.00
AIME 2026 (pass@8)93.0093.0097.0097.0097.00
AIME 2026 (mean@8)92.0078.0088.0087.0091.00
IMO-AnswerBench76.0060.0074.0076.0073.00
HLE (text only)9.006.0019.0020.0013.00

Agentic

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
BFCL (overall accuracy)72.0063.0069.0067.0058.59
τ³-Bench (mean@3)57.0041.2053.6063.3047.80
τ²-Bench (mean@3)73.0053.4069.4080.0061.58
τ³-Bench Banking (mean@3)9.004.806.208.608.93
CoworkBench (Pi)59.485.8039.0057.0025.00
Toolathlon39.0018.9040.0042.001.41
SkillsBench (without skills)8.621.209.0014.00—
SkillsBench (with skills)23.803.7025.0035.00—
JobBench23.282.509.1017.10—

Instant

Code

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
LiveCodeBench v652.0049.0057.6346.4556.20
SWE-bench Verified70.8034.0057.8063.4039.70
SWE-bench Multilingual61.677.0054.3059.7021.60
Terminal-Bench 2.038.205.60*36.0044.90*12.94
Terminal-Bench 2.139.337.9046.1046.10*—

General

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
IFBench (prompt-level loose)48.0035.0041.3037.3043.66
JSONSchemaBench86.0085.0091.0092.1083.94
StructEval Text87.0072.0083.8082.4074.35
POLLUX—70.0065.10—74.25
GraphWalks26.007.0056.2055.6019.99
Natural Plan45.0021.0044.1044.6066.42
NIH Complex92.0082.0096.6099.9997.11
AA-LCR54.0010.7052.7052.3027.60

STEM

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
GPQA Diamond55.0058.0078.3081.8061.11
HMMT (pass@8)67.0073.3071.7080.0055.00
HMMT (mean@8)—46.9049.8056.70—
AIME 2025 (pass@8)73.0067.0093.3090.0093.00
AIME 2025 (mean@8)39.0050.0076.3072.5068.00
AIME 2026 (pass@8)80.0077.0093.3093.3083.00
AIME 2026 (mean@8)57.0055.0071.3076.3067.00
IMO-AnswerBench35.0044.0059.2056.0032.00
HLE (text only)4.004.0012.2012.904.00

Agentic

BenchmarkGigaChat 4 37BGigaChat 3.5 37BQwen3.5-35B-A3BQwen3.6-35B-A3BGigaChat 3.5 Ultra 432B
BFCL (overall accuracy)49.0037.0057.8055.0051.57
τ³-Bench (mean@3)47.3040.8060.2059.4050.04
τ²-Bench (mean@3)60.0054.0078.5078.0068.71
τ³-Bench Banking (mean@3)10.002.10*5.503.805.15

Evaluation Notes

IFBench uses prompt-level loose scoring. NL2Repo entries report mean score / pass rate, in that order. HLE uses the text subset.

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 can be deployed on a single node with two H100 80GB GPUs (TP2). The model weights require approximately 76.5 GB of GPU memory, with additional memory needed for attention caches, recurrent states, and activations.

sglang serve \
  --model-path ai-sage/GigaChat4-37B-A4B-base \
  --tp 2 \
  --mem-fraction-static 0.8 \
  --max-running-requests 64 \
  --cuda-graph-max-bs-decode 64 \
  --host 0.0.0.0 \
  --port 30000

Text completion

As a pretrained base model, this checkpoint is 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-37B-A4B-base",
    "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 37B-A4B is released under the Noncommercial License for individuals 1.0.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

vLLM

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
GigaChat4ForCausalLM
Ревизия весов
fca1b42

0 моделей