Text / XHToken

Spark X2.5 4B

Spark X2.5 4B is a text-generation model from the repository XHToken/Spark-X2.5-4B, licensed under apache-2.0 and compatible with the Hugging Face Transformers format. The model card describes it as a compact, general-purpose language model that uses a hybrid attention architecture (one full-attention layer and three sliding-window attention layers) and natively supports context windows up to 1M tokens. It is presented as supporting conversation, writing, translation, reasoning, coding, tool use, and agentic workflows, with broad language coverage and compatibility with several inference frameworks and platforms. The model was trained on Huawei Ascend clusters using large-scale reinforcement learning and post-training techniques. No specific performance numbers or hardware requirements are stated in the provided source.

EstimatedRepository opened Aug 24, 2026Source checked 9/24/2026Version: 0bcb3567
LOCALRENTED GPUOPEN WEIGHTS
Freshness 74 out of 100. Repository age: 77 days old, Aug 24, 2026. Measures age, not quality.
Popularity 64 out of 100. 28,608 downloads in 30 days; 1,439 lifetime likes. Checked Nov 8, 2026. Measures adoption, not quality.
What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Nov 9, 2026. Statistics checked Nov 8, 2026. Statistics are marked for refresh after 72 hours.Full scoring method

At a glance

Parameters
4.11B
Architecture
spark2_5
Context length
1,048,576
License
apache-2.0
Disk space
7.7 GB
Software
Ollama, SGLang, vLLM
View the model source
MY HARDWARE

Will it run on your machine?

Save your machine to see a personalized rating and its reasoning.

Add my hardware

Best for

  • Conversation
  • Writing
  • Translation
  • Reasoning
  • Coding, tool use, and agentic workflows

Tradeoffs

  • The source does not specify numerical hardware requirements or supported hardware configurations.
  • The source does not provide benchmark results or performance metrics.
  • The source does not state compatibility with specific versions of inference frameworks.
  • The source does not describe known failure modes or safety limitations.
  • The source does not specify minimum memory, storage, or compute requirements for deployment.

Ways to run it

Ollama · Windows, macOS, Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

ollama run SparkLLM/Spark-X2.5-4B
Official instructions

SGLang · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

python -m sglang.launch_server --model-path /root/Spark-X2.5-4B --served-model-name spark2.5 --tool-call-parser spark25 --reasoning-parser qwen3 --tp-size 1 --mem-fraction-static 0.8 --context-length 1048576 --chat-template /root/Spark-X2.5-4B/chat_template.jinja --host 0.0.0.0 --port 30000
Official instructions

vLLM · Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

vllm serve "/models/Spark-X2.5-4B" --port "30000" --trust-remote-code --served-model-name spark25 --tensor-parallel-size 1 --gpu-memory-utilization 0.7 --enable-prefix-caching --chat-template /models/Spark-X2.5-4B/chat_template.jinja
Official instructions

Explore its uses

SAFETENSORSTEXT-GENERATION

Keep exploring