Benchgen
Models/xhtoken/

Spark X2.5 1.7B

DraftPublic

Model Details

Spark-X2.5-1.7B

Organization Context Pricing License Modality Released

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.

At a Glance

Where Spark-X2.5-1.7B leads

  • BrowseComp (29.7%) well ahead of Qwen3.5-2B (3.1%) and Gemma4-E2B (3.7%)
  • SWE-bench Multilingual (23.3%) ahead of Qwen3.5-2B (5.0%)
  • Native 1M-token context at a sub-2B parameter size

Where it lags

  • GPQA (43.8%) trails larger comparison models like Qwen3.5-9B (77.2%) and Gemma4-E4B (72.8%) — expected given its smaller size
  • HLE (6.3%) is modest in absolute terms, consistent with its parameter count

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.

What Spark-X2.5-1.7B Is

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.

Specifications

FieldValue
OrganizationXHToken
Parameters1.7B (dense)
Context window1,048,576 tokens (1M)
ArchitectureHybrid attention (1 full-attention + 3 sliding-window layers)
LicenseApache 2.0
Release date2026-08
ModalityText
Languages200+

Pricing

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.

Context Window

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.

Public Benchmark Scores

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).

Use Spark-X2.5-1.7B via API

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)

Frequently Asked Questions

What is Spark-X2.5-1.7B? It's XHToken's ultra-compact general-purpose model: 1.7B parameters, native 1M-token context via hybrid attention, tuned for agentic, coding, and reasoning tasks.
What is Spark-X2.5-1.7B's context window? 1,048,576 tokens (1M), native.
How much does Spark-X2.5-1.7B cost? Open weights — free to download; cost is hosting/inference only.
Is Spark-X2.5-1.7B open source? Yes, released under the Apache 2.0 license.

Specs and scores sourced from XHToken's official Hugging Face model card; third-party benchmark scores attributed inline. Last updated 2026-09-07.