Quick answer: Spark-X2.5-1.7B is XHToken's ultra-compact general-purpose language model — a 1.7B-parameter dense decoder-only model sharing the Spark-X2.5 hybrid attention architecture (one full-attention layer plus three sliding-window attention layers), natively supporting up to 1,048,576-token (1M) context. It beats Qwen3.5-2B and Gemma4-E2B on BrowseComp (29.7%) and SWE-bench Pro (10.4%), and is the smaller sibling to Spark-X2.5-4B. Open weights, Apache 2.0.
Where Spark-X2.5-1.7B leads
Where it lags
Best for: highly resource-constrained on-device or edge deployments needing agentic/coding capability with long native context, where the 4B sibling is too large.
Spark-X2.5-1.7B is the smaller of two models in XHToken's Spark-X2.5 release, sharing the same hybrid attention architecture and training pipeline as Spark-X2.5-4B: ~20 trillion pretraining tokens, supervised fine-tuning, then large-scale reinforcement learning across language understanding, reasoning, programming, tool-augmented agentic behavior, and instruction following, consolidated via XHToken's MOPD technique.
| Field | Value |
|---|---|
| Organization | XHToken |
| Parameters | 1.7B (dense) |
| Context window | 1,048,576 tokens (1M) |
| Architecture | Hybrid attention (1 full-attention + 3 sliding-window layers) |
| License | Apache 2.0 |
| Release date | 2026-08 |
| Modality | Text |
| Languages | 200+ |
| Input (per 1M tokens) | Output (per 1M tokens) | |
|---|---|---|
| Open weights | — | — |
Open weights: free to download and self-host. Supported via vLLM, SGLang, llama.cpp, MLX; deployable through Ollama and LM Studio.
Spark-X2.5-1.7B has a 1,048,576-token (1M) context window, natively supported via the shared Spark-X2.5 hybrid attention architecture.
| Benchmark | Score | Source | Date |
|---|---|---|---|
| BFCL v4 | 46.9 | XHToken model card | 2026-09 |
| MCP-Atlas | 23.4 | XHToken model card | 2026-09 |
| MCPMark-Verified | 2.3 | XHToken model card | 2026-09 |
| BrowseComp | 29.7 | XHToken model card | 2026-09 |
| SWE-bench Pro | 10.4 | XHToken model card | 2026-09 |
| SWE-bench Verified | 28.3 | XHToken model card | 2026-09 |
| SWE-bench Multilingual | 23.3 | XHToken model card | 2026-09 |
| SciCode | 18.2 | XHToken model card | 2026-09 |
| AIME 2026 | 69.4 | XHToken model card | 2026-09 |
| HMMT Feb 2026 | 48.4 | XHToken model card | 2026-09 |
| AA-LCR | 24.3 | XHToken model card | 2026-09 |
| Humanity's Last Exam | 6.3 | XHToken model card | 2026-09 |
| GPQA Diamond | 43.8 | XHToken model card | 2026-09 |
| IFEval | 89.5 | XHToken model card | 2026-09 |
| IFBench | 66.3 | XHToken model card | 2026-09 |
Scores above are reported by XHToken and shown for context; not Benchgen measurements. All evaluations conducted in thinking mode (temperature=1.0, top_p=0.95, top_k=-1). GPQA reported by XHToken as unqualified "GPQA" — mapped here to the standard GPQA Diamond subset per common convention; not independently confirmed against XHToken's exact question set. τ³-bench, τ²-bench, Workspace Bench, VitaBench, Gaokao 2026, and IMO-AnswerBench scores reported on the model card are omitted here (ambiguous domain scope or no equivalent Benchgen benchmark yet).
from openai import OpenAI
client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="spark25",
messages=[{"role": "user", "content": "Explain the result step by step."}],
temperature=1.0,
top_p=0.95,
max_tokens=32768,
)
print(response.choices[0].message.content)Specs and scores sourced from XHToken's official Hugging Face model card; third-party benchmark scores attributed inline. Last updated 2026-09-07.