Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Spark-X2.6-4B

iFlytek's 4B on-device agent model under Apache 2.0, claiming to beat Qwen3.5-9B on tools and code, with a 1M-token context.

Reviewed by Andrew Miller · Updated

Visit Spark-X2.6-4B Open source

Our rating

3.7/5

On iFlytek's own chart Spark-X2.6-4B is the strongest 4B agent model yet, but none of it has been checked from outside, and two of its biggest wins come from benchmarks only iFlytek has seen.

What is Spark-X2.6-4B?

Spark-X2.6-4B is a 4.1-billion-parameter text model published on Hugging Face on 19 October 2026 by the SparkLLM account XHToken, and announced by iFlytek, the Hefei speech and AI company behind the Spark model family, at its 1024 Developer Festival on 22 October alongside a 293B cloud model. The model card itself does not name iFlytek. It reads English and Chinese, comes with a 1.7B sibling, a base model for fine-tuning and FP8, INT8, INT4 and GGUF builds.

It keeps the architecture of its predecessor, Spark-X2.5-4B; the gains come from post-training. The 36-layer design mixes three sliding-window attention layers with a 512-token window for every full-attention layer, which keeps long contexts affordable; the configuration allows 1,048,576 tokens. Thinking has three levels (none, low and high) and is on by default.

The weights are Apache 2.0. Loading with Transformers requires trust_remote_code, so the publisher's own Python runs on your machine, and the card pins Transformers 4.57.1.

Is Spark-X2.6-4B worth it?

Spark-X2.6-4B's case rests entirely on its makers' table. Across 30 evaluations it averages 63.3, against 49.1 for Qwen3.5-9B, 47.0 for Gemma4-12B and 43.2 for Qwen3.5-4B. The leads are widest on agent work: 71.8 on BFCL-V4 function calling against Qwen3.5-4B's 50.3, 62.4 against 40.8 on MCP-Atlas, and 54.3 against 29.4 on SWE-bench Pro. Those would be large results for a model this size, and the only third-party pages listing it, such as BenchLM, copy the card's figures rather than measuring.

Several numbers deserve caution. SWebBench (71.7) and PAgentBench (74.1) are in-house tests not yet released. Many rival scores are marked as taken from other model cards rather than rerun, and every Spark result uses the high thinking level. On BrowseComp it scores 53.1 against Qwen3.5-9B's 8.3, a gap large enough to point to differences in harness as much as ability. Where it does not lead, it says so: Qwen3.5-9B beats it on GPQA Diamond (81.7 to 77.1) and on long-context AA-LCR (70.0 to 67.3).

The architecture is sensible for laptops. Three of every four layers attend only to the last 512 tokens, the 4-bit GGUF is about 3.5 GB, and the card claims prefill and decode speeds on par with Qwen3.5-4B and Gemma4-E4B on an RTX 4090 and an M5 Pro, though its chart gives no exact figures. The 1M-token context is a configuration value; its own scores fall to 34.2 on Graphwalks and 26.0 on OpenAI MRCR at the top of that range.

Provenance is clear enough but carries a cost for some buyers. The Hugging Face card credits only a "SparkLLM Team"; the link to iFlytek comes from its launch event and press coverage. iFlytek was sanctioned by the United States in 2019, which some procurement teams will need to clear before shipping its weights, even under Apache 2.0.

Where it earns its place

  • A developer of a desktop assistant for Windows and macOS

    Run tool calls and file operations locally without a cloud bill

    Ship the 3.5 GB Q4_K_M GGUF through llama.cpp b10828 or later, or Ollama 0.34.1, and set thinking to none or low for quick tool loops. Test against Gemma 4 E4B on your own tool schema first, since the BFCL lead is self-reported.

  • An embedded-software team at a Chinese car or robotics maker

    Put a bilingual agent model on Ascend-based hardware

    Serve it with the card's SGLang or vLLM-Ascend images on A2, A3 or 950DT NPUs. Apache 2.0 allows modification and redistribution in the product, and iFlytek's launch pitched the model at cars, robots and AI PCs.

  • An ML engineer at a 50-person software company

    Fine-tune a small coding helper on internal repositories

    Start from Spark-X2.6-4B-Base with the publisher's LlamaFactory fork, which the card recommends for fine-tuning. Check the 54.3 SWE-bench Pro score on your own tasks first, since it is the lab's figure.

Before you commit

Setup
Ollama, LM Studio or llama.cpp b10828+ for local use; Transformers 4.57.1 with trust_remote_code; SGLang and vLLM Docker images for NVIDIA GPUs and Ascend NPUs.
Integrations
OpenAI-compatible servers through SGLang and vLLM with a spark25 tool-call parser; MLX via the publisher's Spark-MLX-LLM; Unsloth Studio; a community WebGPU demo.
Data and privacy
Self-hosted, so prompts stay on the device. Apache 2.0 weights; no statement on training data or safety testing on the card. Loading runs the publisher's own model code.
Cost at scale
Hardware only: BF16 weights are about 8.2 GB and the Q4_K_M GGUF about 3.5 GB; a 1M-token context needs far more memory than the weights and the card suggests lowering it.
Limits
Text only, English and Chinese; recommended output budget of 131,072 tokens with thinking on; self-reported long-context scores fall to 26.0 on MRCR at 512K to 1M tokens.

What’s good

  • Leads Qwen3.5-9B on its makers' 30-test average, 63.3 to 49.1
  • Apache 2.0, with base model and quantised builds
  • About 3.5 GB at 4-bit; runs in Ollama, LM Studio and llama.cpp
  • Three thinking levels, including off

What’s not

  • Every benchmark is self-reported; no independent tests yet
  • Two headline agent benchmarks are unreleased in-house tests
  • Needs trust_remote_code in Transformers
  • Text only; maker sanctioned by the US in 2019

Best for

Developers building local agents on laptops or edge devices who can verify the claims on their own tasks and are free to use a model from iFlytek.

Spark-X2.6-4B alternatives

Spark-X2.6-4B: common questions

Is Spark-X2.6-4B worth it?
On iFlytek's own chart Spark-X2.6-4B is the strongest 4B agent model yet, but none of it has been checked from outside, and two of its biggest wins come from benchmarks only iFlytek has seen. We rate it 3.7 out of 5.
How much does Spark-X2.6-4B cost?
Free under Apache 2.0; runs on your own hardware. No hosted price for the 4B model published.
What are the downsides of Spark-X2.6-4B?
Every benchmark is self-reported; no independent tests yet; two headline agent benchmarks are unreleased in-house tests; needs trust_remote_code in Transformers; text only; maker sanctioned by the US in 2019.
Who is Spark-X2.6-4B best for?
Developers building local agents on laptops or edge devices who can verify the claims on their own tasks and are free to use a model from iFlytek.
How much does Spark-X2.6-4B cost for a team or in production?
Hardware only: BF16 weights are about 8.2 GB and the Q4_K_M GGUF about 3.5 GB; a 1M-token context needs far more memory than the weights and the card suggests lowering it.
Is Spark-X2.6-4B safe for company data?
Self-hosted, so prompts stay on the device. Apache 2.0 weights; no statement on training data or safety testing on the card. Loading runs the publisher's own model code.
What are the best Spark-X2.6-4B alternatives?
The closest alternatives we have reviewed are Gemma 4, MiniCPM5-2B, LFM3 and Ministral 3 (3B, 8B and 14B).

Answers checked Nov 2, 2026.