iFlytek introduces Spark-X2.6-4B, a 4B parameter model optimized for on-device agentic workflows, featuring controllable thinking budgets and Apache-2.0 licensing.

At the 1024 Global Developer Festival in Beijing on October 22, 2026, iFlytek officially unveiled the Spark-X2.6 series, a tiered ecosystem of large language models designed to bridge the gap between massive cloud-based intelligence and efficient edge computing. While the spotlight was shared with the massive 293B-A30B Mixture-of-Experts (MoE) flagship, the release of Spark-X2.6-4B marks a significant milestone for developers focusing on local, privacy-centric, and low-latency AI applications.
Spark-X2.6-4B is an open-source, compact general-purpose LLM specifically engineered for on-device agent deployment. Unlike previous iterations that focused solely on chat, this model is purpose-built to act as a local reasoning engine capable of managing complex workflows without constant cloud dependency. By releasing the weights on Hugging Face, iFlytek is providing the developer community with a high-performance tool for the next generation of autonomous edge devices.
The Spark-X2.6-4B model maintains the same core architecture as its predecessor, Spark-X2.5, released just over a month prior. However, the leap in capability is not due to structural changes but rather significant advancements in post-training methodologies. This approach allows for a more stable deployment cycle while delivering superior intelligence through refined instruction tuning and reinforcement learning from human feedback (RLHF).
A standout technical innovation in this release is the 'Controllable Thinking Budget.' Developers can now dynamically adjust the model's reasoning depth by selecting from three configurable levels: None, Low, or High. This allows for a granular balance between reasoning quality, inference latency, and computational cost, making it ideal for hardware ranging from high-end smartphones to embedded IoT controllers.
Despite its compact 4B footprint, Spark-X2.6-4B punches significantly above its weight class. Benchmarks indicate that the model matches or even surpasses several open-source models in the 9B parameter range. The improvements are most visible in agentic workflows, where the model demonstrates high proficiency in complex tool use, multi-step planning, and software engineering tasks.
The model shows substantial gains in coding (HumanEval), long-context reasoning, and multilingual capabilities, specifically excelling in English and Chinese instruction following. The evaluation was conducted using a standardized suite of benchmarks including MMLU for general knowledge, HumanEval for code generation, and specialized agentic reasoning tests to simulate real-world software engineering environments.
As Spark-X2.6-4B is an open-source model intended for local deployment, there is no direct per-token API cost associated with the weights themselves. Developers are encouraged to host the model on their own infrastructure or edge devices to leverage the Apache-2.0 license for commercial applications without recurring token fees.
For those utilizing iFlytek's managed cloud services to access the larger Spark-X2.6 series, pricing is available via their official developer platform. However, for the 4B model, the primary value proposition is the zero-cost-per-token model achieved through local inference.
The Spark-X2.6-4B is uniquely positioned for 'Edge-Agent' applications. Because it can run locally, it is the perfect candidate for privacy-sensitive tasks such as personal assistants, local document analysis (RAG), and real-time device control. Its ability to handle multi-step planning makes it suitable for autonomous software engineering agents that run on developer workstations.
Furthermore, the model serves as the 'on-device brain' in an end-cloud integrated ecosystem. In complex scenarios, the 4B model can handle routine tasks and local reasoning, only offloading highly complex, high-compute requests to the 293B-A30B cloud flagship, thereby optimizing both cost and user experience.
Getting started with Spark-X2.6-4B is remarkably simple. iFlytek has prioritized developer experience by providing a full quantization set, including Base, GGUF, FP8, INT8, and INT4 formats, ensuring compatibility with various hardware acceleration backends. This allows for efficient deployment on everything from NVIDIA GPUs to mobile NPUs.
For the fastest way to test the model locally, developers can use Ollama. A single command is all that is required to pull the model and begin interacting with it in a terminal environment.