6 min read
GigaChat 4 arrives open source with 1-million-token context

- Reading
- 6 min
- Tables
- 2
Sber released GigaChat 4, a family of two open models (37B and 708B parameters) with context of up to 1 million tokens, two response modes, and compatibility with agent harnesses like Claude Code and OpenHands.
What Sber launched
Sber, the Russian financial conglomerate that already maintained the GigaChat line, published GigaChat 4 this week, a family with two new models: one with 37 billion parameters and another with 708 billion. The announcement came out on the company's blog on Habr, a Russian tech blogging platform. Both support context of up to 1 million tokens, call tools (function calling), and respond in two modes: instant, which is faster, and reasoning, which thinks before responding.
The weights for both are already public on Hugging Face: ai-sage/GigaChat4-37B-A4B and ai-sage/GigaChat4-708B-A41B. The technical report for the 708B model, with architecture, training recipes, and experiments, is on GitHub at salute-developers/gigachat4. The report for the 37B version hasn't come out yet and should be published later, according to the post itself.
Two architectures, same hybrid recipe
GigaChat 4 scales up a hybrid architecture that Sber had already been using in the 3.5 line: mixture of experts (MoE), Gated DeltaNet (GDN) recurrent layers, and MLA attention. The novelty in this generation is DSA (DeepSeek Sparse Attention, adapted by the team), which allows stretching context up to 1 million tokens without blowing up compute cost.
| Characteristic | GigaChat 4 37B | GigaChat 4 708B |
|---|---|---|
| Total parameters | 37B | 708B |
| Active parameters per token | ≈3.8B | ≈41B |
| Layers | 32 | 64 |
| GDN / MLA with DSA layers | 24 / 8 | 48 / 16 |
| Hidden state size | 2,560 | 7,168 |
| Routable experts (MoE) | 192 | 256 |
| Active experts per token | 8 | 8 |
| Shared experts | 1 | 1 |
For the 37B version, the team used two optimization techniques: μP (maximal update parametrization), which allows finding ideal hyperparameters in a model ten times smaller and then transferring those settings to the final model, and Muon, used to improve the efficiency of the training itself. The 708B version required extra stability measures: a GatedNorm adjustment, a technique called ProRes that gradually increases the contribution of layers early in training, and a soft limit (logit softcap) for the logits' output values.
Why 1 million tokens doesn't break the GPU budget
In full attention, each token in the context needs to look at all previous positions, a cost that grows quadratically. Most of GigaChat's layers are already GDN, whose cost grows linearly with sequence length, but the full-attention MLA layers would become extremely expensive in a 1-million-token context. That's where DSA comes in: for each token, an indexer picks up to 2,048 relevant positions in the context, and the main attention is computed only over those.
In the 708B model, this change required a staged process: first the team expanded context using full attention, then trained the DSA indexer separately, and only then fine-tuned the indexer and the main model together, already at the 1-million-token context. In practice, this means a context large enough to hold an entire repository, a stack of technical documents, or the full history of an agent session without needing to truncate information along the way.
Instant and reasoning in the same checkpoint
GigaChat 4 delivers both response modes in a single checkpoint, rather than in separate models. To get there, Sber first trained several 'domain experts' using reinforcement learning, each focused on one task: math and science, instruction following, dialogue, code writing, fixing bugs in repositories, and tool use. Some of these experts were trained in the instant version and some in reasoning.
Then, a technique called MOPD (multi-teacher on-policy distillation) united these experts into a single model: each expert acts as a teacher for one task, and the final checkpoint learns to imitate these teachers' probability distributions over its own generated trajectory, including when that trajectory goes wrong. One relevant technical detail: the RL experts were trained with full MLA attention, without the DSA indexer, but the distillation student starts from the DSA version, so the final model retains sparse attention and the 1-million-token context.
Compatible with the harnesses devs already use
Sber's post highlights that GigaChat 4 was trained to solve multi-step tasks within agent harnesses already known in the ecosystem: Claude Code, Codex, pi, DeepSeek's harness, OpenHands, and others. This includes editing files, calling tools, navigating repositories, and checking its own output before closing out the task.
For those who already build code agent pipelines with these tools, the promise is swapping the model behind the harness without rewriting the orchestration around it. This matters specifically for teams that run their own (self-hosted) models for cost, data, or data-residency control, and that today depend almost entirely on Chinese alternatives (Qwen, DeepSeek, GLM) or France's Mistral as an option outside the OpenAI/Anthropic/Google axis.
It's worth noting that Sber itself describes agent training as having been done across nine different harnesses, including OpenHands, miniSWE-agent, and Qwen Code, which suggests broad compatibility, but one not yet independently tested outside the material released by the company.
Numbers Sber disclosed
According to the benchmarks published in the post itself, GigaChat 4 708B in reasoning mode scored 69.66% on Terminal-Bench 2.1 and 79.55% on the Function Calling Benchmark (FCLv4). The 37B model, also in reasoning mode, scored 39.33% and 72% on the same tests. Sber compares the 708B to GLM 5.3, DeepSeek-V4.1-Flash-1017, and Mistral-Large-4-1T-A52B, and the 37B to Qwen3.6-35B-A3B.
| Benchmark (708B, reasoning) | GigaChat 4 708B | DeepSeek V4 Flash 0731 | DeepSeek V4.1 Flash 1017 | GLM 5.3 | Mistral Large 4 1T-A52B |
|---|---|---|---|---|---|
| AIME 2025 (math) | 93.33% | 90.00% | 97.60% | 93.13% | 97.08% |
| GPQA Diamond (science) | 82.83% | 91.00% | 90.91% | 90.40% | 87.37% |
| SWE-bench Verified (real bugs) | 80.89% | 81.80% | 79.40% | 86.67% | 79.60% |
| Terminal-Bench 2.1 (terminal tasks) | 69.66% | 78.65% | 87.64% | 88.70% | 83.33% |
| FCLv4 (function calling) | 79.55% | 73.12% | 72.18% | 68.29% | 70.68% |
| IFBench prompt-level loose | 80.33% | 63.00% | 75.67% | 55.67% | 71.00% |
| GraphWalks (long-context search) | 74.92% | 72.70% | 79.09% | 78.35% | 78.45% |
In the 37B version against Qwen3.6-35B-A3B, Sber reports 39.33% versus 49.40% on Terminal-Bench 2.1, 72.00% versus 67.00% on FCLv4, and 75.00% versus 58.00% on IFBench prompt loose. These are numbers disclosed by the company itself, without external audit so far, and it's worth reading them with that caveat before deciding to migrate a workload.
Contributions to libraries everyone uses
Regardless of whether anyone adopts GigaChat 4 or not, the team reports three fixes submitted to open source projects used by people who train large models on GPUs. In NCCL, they found a bug where the data-transfer readiness signal was being lost, hanging SGLang inference under full GPU load; the fix has already been accepted.
In DeepEP, they fixed hangs and NaN values in HybridEP caused by buffer overflow when handling dropped tokens. And in TileLang, they optimized the DSA token-selection kernel, merging the indexer's score computation with top-k selection into a single kernel, reducing GPU memory access in long contexts; the pull request is still under review.
What's still open
Sber has not yet published the detailed technical report for the 37B model, promised for 'later on.' The comparative benchmarks come from the company's internal evaluation, without third-party confirmation. And since GigaChat is maintained by a Russian financial institution, teams evaluating production adoption need to carefully check the license terms published on the Hugging Face pages before any commercial use, something the launch post doesn't detail. For those who just want to test locally, the model cards on Hugging Face already include memory requirements and run instructions for both versions.
Translated from the Brazilian Portuguese original · Read the original
Google requires AI agents to use Workspace MCP, but the Gmail server can't send email
Starting February 1, 2027, any tool that is or functions as an AI agent will have to access Gmail, Drive, and Calendar through Google's MCP servers. The problem: the Gmail server doesn't send, reply to, or forward messages.





