GigaChat 4 unifies instant and reasoning modes in a 708B hybrid model
GigaChat 4 enters the market as a 708B parameter hybrid model that consolidates instant and reasoning capabilities into a single checkpoint. According to the model card published on Hugging Face by ai-sage, the architecture interleaves Mixture-of-Experts routing with DeepSeek Sparse Attention and Gated DeltaNet. The model activates 41B parameters per token while maintaining a maximum context window of one million tokens.
The architecture splits its 64 decoder layers into two distinct attention mechanisms. Forty-eight layers use GatedDeltaNet, which maintains a fixed-size recurrent state to process sequences efficiently. The remaining sixteen layers employ DeepSeek Sparse Attention, which selectively attends to 2,048 earlier tokens per query. This hybrid approach allows the model to retrieve information from long contexts without the computational overhead of dense attention across the entire sequence. The context window was progressively extended from 32K to 128K, and finally to 1M tokens, with sparse attention introduced at the 128K mark through indexer-only training before joint optimization.
Each MoE layer combines an attention block with shared and routed experts. The model routes each token to 8 of 256 available experts, supplemented by a single shared expert. To stabilize training at this scale, the authors introduced progressive residual warm-up, which gradually increases residual branch contributions during early training phases. Dynamic learning-rate rescaling adjusts learning rates for individual MoE blocks when expert-load imbalance persists, preventing activation growth without disrupting the rest of the network.
The most notable operational shift is the consolidation of instant and reasoning modes. Previous iterations required separate checkpoints for fast inference and extended chain-of-thought reasoning. GigaChat 4 handles both through a single OpenAI-compatible API. Practitioners can toggle between modes by setting chat_template_kwargs.reasoning to false or true. When reasoning is enabled, the response separates the internal thought process into message.reasoning_content and the final output into message.content.
Performance metrics show the model competing strongly in coding and agentic workflows. On LiveCodeBench v6, GigaChat 4 scores 88.82, trailing DeepSeek V4 Flash (90.00) and DeepSeek 4.1 (90.14) but leading Qwen 3.5 397B (86.64) and Mistral 4 Large (84.64). On SWE-bench Verified, it achieves 80.89, outperforming GigaChat 3.5 Ultra (64.70) and DeepSeek 4.1 (79.40). The model also scores 82.83 on GPQA Diamond and 79.55 on BFCL v4 for tool calling.
The instant mode variant, while faster, shows a measurable drop in complex task performance. It scores 78.77 on LiveCodeBench v6 and 80.82 on SWE-bench Verified, but drops to 19.47 on DeepSWE and 37.56 on NL2Repo. This suggests the reasoning mode is necessary for multi-step agentic tasks, while the instant mode serves well for direct code generation and structured output.
To accelerate generation, GigaChat 4 supports two speculative decoding approaches. The recurrent MTP method reuses a single prediction layer across draft steps, reducing drafter parameters by approximately three times compared to previous iterations. The DFlash2 approach uses a separate five-layer BF16 drafter that predicts tokens in parallel using blocks of eight positions. Both methods allow the target model to verify multiple draft tokens in a single forward pass. The model is available in FP8, GGUF, and BF16 formats, with deployment recipes provided for SGLang and vLLM.
Illustrative image: geralt / Pixabay
LlamaIndex ships an 8.1M-parameter CPU OCR pipeline for local parsing
LlamaIndex has released OCRia-nano-1, the smallest model in its OCRia family, designed specifically for CPU-based document parsing. The release consists of 8.1M parameters distributed across seven specialist models chained inside LiteParse, the company's open-source local parser. The weights are open on Hugging Face under a modified Open RAIL-M license.
The pipeline does not rely on a single neural network. Instead, it processes each page through six distinct stages. A PDFium check first extracts native text from digital PDFs. Pages without usable text pass to a 0.08M parameter line detector, which identifies text lines on a rendered page at 250 DPI by default. A 0.04M parameter script router then determines the page's majority script, flags upside-down pages, and allows confident lines to override the routing decision. Four separate recognizers handle Latin, world-script, right-to-left, and CJK text, totaling roughly 3.76M parameters. The OCR lines merge with any native PDF text before passing to LayoutNet, a 4.27M parameter transformer with a CNN image branch that predicts table, row, column, cell, and block relations across 13 layout classes.
LlamaIndex reports that the model achieves a 59.2 overall score on ParseBench-2, a benchmark the company developed. This places it ahead of Indra 1.1.2 (55.1), Marker 2.2.0 fast (52.5), and LiteParse with Tesseract (48.7). The model's strongest category is formatting, where it scores 82.2, and tables, where it reaches 59.5 compared to Indra's 47.6. On other quality benchmarks, it posts 74.8 on OmniParseBench, 52.7 on ParseBench-1, and 60.9 on olmOCR-bench. The character error rate on the BHL dataset is 0.048.
Speed metrics indicate the pipeline is optimized for throughput rather than raw latency. On a single core, OCRia-nano-1 averages 426 milliseconds per page, with 90% of pages finishing within 862 milliseconds. When scaled to 16 single-core workers, it processes 27.8 pages per second. This is roughly double the throughput of LiteParse's default Tesseract setup at 14.2 pages per second. Running the OCR stack without LayoutNet increases speed to 37.2 pages per second but drops the ParseBench-2 score to 51.2. In WebAssembly, a scanned page takes between one and four seconds on a single-threaded laptop.
The model was distilled from LlamaIndex's 4B OCRia-1 vision-language model, retaining about one-five-hundredth of the teacher's parameters. The teacher generated the training labels for text transcriptions, table annotations, and layout labels. The pipeline outputs Markdown, JSON with bounding boxes, or plain text, converting tables to Markdown or HTML when cells span.
Commercial licensing for OCRia-nano-1 restricts free use to organizations with under $2M in annual revenue and $2M in total funding. Any product competing directly with LlamaParse or LlamaCloud requires a commercial license regardless of size. The LiteParse framework itself remains under Apache 2.0. Installation is available via pip, npm, and cargo, with Python and Node.js exposing the OCRia-nano backend. Model subsets for browser deployment can drop to approximately 1.5 MB.
While the model leads in table reconstruction and formatting among CPU parsers, it trails Indra on form handling (69.8 versus 70.2) and charts score only 3.1. LlamaIndex notes that hard pages should be routed to the larger OCRia-1 model. The benchmarks were self-reported by LlamaIndex on a 16-vCPU machine over 300 random ParseBench pages, and the specific CPU model used for testing was not disclosed.
Sources
- marktechpost.com: LlamaIndex Releases OCRia-nano-1: 8.1M-Parameter OCR Model for CPUs
- huggingface.co: ai-sage/GigaChat4-708B-A41B · Hugging Face
PNEUMETRON EDITORIAL
Pneumetron's pipeline pairs AI-assisted drafting with human editorial review before publishing — our goal is to make staying informed easier, not to replace real reporting.




