Apache-2.0llmRuns locally4B (card)

Spark-X2.6-4B: On-Device Specs (Not Meta Muse)

XHToken Apache-2.0 ~4B on-device agent/coding LLM. Not Meta Muse Spark Open.

Official Spark-X2.6-4B edge-inference figure from the XHToken Hugging Face card
Official project image. Source · License: Apache-2.0.
License
Apache-2.0
Parameters
4B (card)
HF likes
514 (2026-10-26)
First seen
2026-10-19

TL;DR. Spark-X2.6-4B is a llm model from XHToken (SparkLLM Team). Parameters: 4B (card).License: Apache-2.0. It is listed under ChatGPT, Closed LLM APIs, Claude Code, Cursor.

DeveloperXHToken (SparkLLM Team)
Typellm
ArchitectureDense decoder-only Transformer (HF model_type spark2_5; architecture Spark2_5ForCausalLM). Same architecture as Spark-X2.5-4B; the card says 2.6 gains come from post-training. config.json: 36 layers, hidden 2560, 16 Q / 4 KV heads, intermediate 10240, vocab 131072, max_position_embeddings 1048576, hybrid sliding/full attention (sliding_window 512). Text only.
Parameters4B (card)
Modalitiestext
Languagesen, zh
Context1,048,576 tokens (config.json + SGLang recipe)
LicenseApache-2.0 — LICENSE on the Hugging Face card is Apache License 2.0. cardData.license is apache-2.0 (opened 2026-10-26). GitHub XHToken/Spark-X2.6 is also Apache-2.0. Not legal advice.
HardwareNot yet verified — HF usedStorage is 12,686,523,518 bytes (~11.8 GiB). safetensors.parameters sum to 4,112,079,360. The card names Transformers 4.57.1, SGLang, vLLM, Spark-MLX-LLM, llama.cpp b10828+, Ollama v0.34.1+, and LM Studio 0.4.0+. Peak VRAM is not independently measured. (not independently tested)
Hugging Face likes514 (as of 2026-10-26)
Model cardhttps://huggingface.co/XHToken/Spark-X2.6-4B
First seen2026-10-19

Spark-X2.6-4B is an ungated ~4B text model from XHToken (citation on the card: SparkLLM Team). It is not Muse Spark Open — Meta’s gated 816B/42B multimodal MoE. Official hosts we opened on 2026-10-26: the card XHToken/Spark-X2.6-4B (created 2026-10-19T03:19:51Z; last modified 2026-10-21T08:51:53Z; 514 likes / 3,488 downloads), the Base sibling XHToken/Spark-X2.6-4B-Base (29 likes / 348 downloads), the Apache 2.0 LICENSE, XHToken/Spark-X2.6 (845 stars / 117 forks; default branch X2.6), and the Ollama library tag SparkLLM/Spark-X2.6-4B.

This page hangs off ChatGPT alternatives, closed LLM APIs, Claude Code alternatives, and Cursor alternatives. That mapping is editorial. We have no sourced quality comparison against ChatGPT, Claude Code, or Cursor. Same-site on-device peer: Spark-X2.6-4B vs LFM2.5-24B-A2B.

The card title is “Advancing the Frontier of On-Device Agents for Real-World Tasks.” Hugging Face pipeline_tag is text-generation. Languages on the card: en, zh. The card says Spark-X2.6-4B keeps the Spark-X2.5-4B architecture and gains capability through post-training (coding, agent, long-context, multilingual, reasoning). Those adjectives stay vendor.

Identification graphic: XHToken Spark-X2.6-4B is an Apache-2.0 ~4B on-device text model; Meta Muse Spark Open is a gated 816B/42B multimodal MoE
forkalt identification graphic (2026-10-26). Not a ranking. Muse Spark Open is a different project.

What we verified (2026-10-26)

Field Value Source
Host huggingface.co/XHToken/Spark-X2.6-4B (not gated) HF API
Created / last modified 2026-10-19T03:19:51Z / 2026-10-21T08:51:53Z same
Likes / downloads 514 / 3,488 same
License tag + file apache-2.0 / Apache License 2.0 HF cardData + LICENSE
Pipeline tag text-generation HF API
Architecture spark2_5 / Spark2_5ForCausalLM config.json
Params (card) 4B card
safetensors.parameters 4,112,079,360 HF API
usedStorage (BF16) 12,686,523,518 bytes (~11.8 GiB) same
Layers / hidden / heads 36 / 2560 / 16 Q, 4 KV config.json
Vocab 131,072 config.json
Documented context 1,048,576 tokens max_position_embeddings + SGLang --context-length
Thinking levels (card) none, low, high card
Base sibling Spark-X2.6-4B-Base · 29 likes · apache-2.0 HF API
GitHub XHToken/Spark-X2.6 · 845 stars / 117 forks · Apache-2.0 GitHub API

How to run (from the card, not tested)

Copied names only. forkalt has not loaded the checkpoint.

Transformers (card: pip install transformers==4.57.1; trust_remote_code=True; XHToken/Spark-X2.6-4B). Chat template flag: enable_thinking=True.

Ollama (card: v0.34.1 or later):

ollama run SparkLLM/Spark-X2.6-4B

llama.cpp (card: native spark2_5 needs b10828 or later) on a GGUF path. LM Studio 0.4.0+ is named (search “Spark-X2.6”). Spark-MLX-LLM runs the Hugging Face checkpoint on Apple silicon / Linux CPU / CUDA without a GGUF conversion (XHToken/Spark-MLX-LLM).

SGLang and vLLM recipes on the card use the shipped chat_template.jinja, --tool-call-parser spark25, and --reasoning-parser qwen3. The SGLang example sets --context-length 1048576 and says to lower it when memory is tight. Fine-tune path the card names: Llama-Factory.

License

LICENSE is Apache License 2.0. Card tag apache-2.0. Same tag on the Base sibling. GitHub license API also returns Apache-2.0. Not legal advice.

What we did not invent

  • Card lines about “state-of-the-art among similarly sized open-source models” and matching ~9B models stay vendor.
  • Official SVG figures (images/benchmark.svg, images/all_benchmark.svg, images/inference.svg) are self-reported. We do not copy tok/s or bench scores from those plots into a ranking.
  • Peak VRAM and laptop-class tokens/s are not independently measured.
  • We do not rank Spark-X2.6-4B against ChatGPT, LFM2.5-24B-A2B, Flint, or Muse Spark Open.

Related on-device / compact cards: LFM2.5-24B-A2B — Spark-X2.6-4B vs LFM2.5-24B-A2B — Flint (39.8B/2.5B coding MoE), Raon-1-mini (28.8B/4.3B preview), MiniCPM-V 4.7 (on-device VLM). Serving: vLLM. Agents: Cline, OpenCursor. Catalog home: forkalt. Editorial: About. Pixel editors are a different search: PhotoCraft vs GIMP.

Deploy options

Comparisons

FAQ

Is Spark-X2.6-4B the same as Meta Muse Spark Open?

No. Spark-X2.6-4B is XHToken / SparkLLM Team’s ungated Apache-2.0 ~4B text model for on-device agents (huggingface.co/XHToken/Spark-X2.6-4B). Muse Spark Open is Meta’s gated 816B/42B multimodal MoE under the Muse Model License. Same word, different project.

Is it Apache-2.0 and downloadable?

Yes. The ungated card XHToken/Spark-X2.6-4B (created 2026-10-19T03:19:51Z; 514 likes / 3,488 downloads in the 2026-10-26 API check) tags license apache-2.0. The LICENSE file is Apache License 2.0. GitHub XHToken/Spark-X2.6 is Apache-2.0 (845 stars / 117 forks the same day). Not legal advice.

How do I run it locally?

Official card paths (not tested here): Transformers 4.57.1 with trust_remote_code=True; ollama run SparkLLM/Spark-X2.6-4B (Ollama v0.34.1+); llama.cpp b10828+ on a GGUF; Spark-MLX-LLM; SGLang or vLLM with the shipped chat_template.jinja. LM Studio 0.4.0+ is also named.

Does it replace ChatGPT or Claude Code?

No sourced bake-off. The card positions a compact on-device agent/coding checkpoint. That is product-class mapping, not a quality rank. See Spark-X2.6-4B vs LFM2.5-24B-A2B.

Sources & verification

Last verified 2026-10-26 · Last updated 2026-10-26· Edited by forkalt editors · Editorial policy

License notes are not legal advice. Read the original LICENSE. Trademark & disclaimer.