Spark-X2.6-4B: a 4B on-device agent model with 1M context and a thinking dial
SparkLLM's compact open-weight model for on-device agents, with stronger tool use, coding and long-context skills than its predecessor, three configurable thinking levels, and a 1M-token context.
Why it matters
Best-in-class 4B agent performance that matches or beats 9B models on several benchmarks, with official GGUF/FP8/INT4 builds, Ollama and llama.cpp support for phones and laptops.
What you could build with it
An indie developer could ship a fully offline phone assistant that plans multi-step tasks, calls tools, and reasons over long documents without sending user data to a server.
Does it hold up?
Proven on-device: about 29.5K downloads and 994 likes on Hugging Face, official GGUF/FP8/INT4 builds, Ollama and llama.cpp support, and community quants running on consumer GPUs.
Built with Spark-X2.6-4B
- NVFP4 quantised build verified on a 16GB RTX 5070 Tihuggingface · Community NVFP4 weight-only quantisation running 256K context in about 10GB VRAM, with measured needle-recall checks.
- Spark-X2.6-4B review: pricing, alternatives and grade Carticle · Independent review verifying the Apache-2.0 licence, 1M context, 4.1B parameters, and the FP8/INT8/INT4/GGUF builds from vendor docs and repos.
- bartowski GGUF builds for llama.cpphuggingface · Community GGUF quantisations of the model for local inference via llama.cpp, listed on the Hugging Face model family page.
- XHToken/Spark-MLX-LLMgithub · Official Spark runtime for running the checkpoints locally on Apple silicon, Linux CPU and NVIDIA CUDA without GGUF conversion.
Learn more
First spotted on hf: source.
More AI models
MiniMind: train your own 64M LLM from scratch in about 2 hoursA complete, from-scratch LLM training pipeline at 64M parameters - pretraining, SFT, LoRA, DPO, PPO/GRPO, tool use and…models · JEV 0.82Chronos-3: forecasts steered by plain-language contextAmazon's time series foundation model in five sizes (25M to 1.5B) forecasts zero-shot and can be steered with…models · JEV 0.78VoiceStudio: the open-source, fully-local ElevenLabs alternativeA desktop app bundling 20 local speech-generation engines and 10 transcription options behind one UI — voice cloning…models · JEV 0.76PaddleOCR-VL-1.8: open 0.9B document parser for photographed pagesBaidu's two-stage document parser pairs a new quadrilateral layout model with a 0.9B recognition model, scoring 97.44…models · JEV 0.76DeepSeekMath-V2: an open 685B theorem prover that verifies its own proofsDeepSeek open-sourced a 685B MoE theorem-proving model trained with a self-verification loop, reporting gold-level IMO…models · JEV 0.75Edge0-145B: open 145B MoE that runs on a single consumer GPUEdge0 open-sourced 145B and 120B latent-MoE models derived from Qwen3.8-Flash-Next, plus an inference framework that…models · JEV 0.74
Get the week's best AI launches, plus 3 ideas worth building
One email every Saturday. Ranked by traction, not hype. Free.