Compare / Nanbeige4.2 3B vs Spark-X2.5 4B

Nanbeige4.2 3B vs Spark-X2.5 4B

Updated November 2026

Verdict

Nanbeige4.2 3B scores higher on the Small LM Index: 70.4 vs 65.5. On the 5 benchmarks both labs report, Nanbeige4.2 3B wins 5 and Spark-X2.5 4B wins 0. Both need about 3.8 GB of memory at 4-bit quantization. Neither model has a hosted API on OpenRouter, so you would run both yourself.

Pick Nanbeige4.2 3B if…

  • you want the strongest model overall
  • you mostly write code
  • you need math and reasoning
  • you want the more widely used model (more quantized builds and community support)

Pick Spark-X2.5 4B if…

  • you work with long documents

Specifications

Nanbeige4.2 3BSpark-X2.5 4B
Small LM Index70.4 (likely 69–72)65.5 (likely 63–68)
LabNanbeige (Kanzhun) · ChinaSparkLLM (XHToken) · China
Released2026-07-212026-08-24
Parameters4.2B (dense)4.1B (dense)
Memory at 4-bit~3.8 GB~3.4 GB
Context window262K tokens1M tokens
Inputtexttext
ReasoningAlways thinksHybrid (thinking on/off)
LicenseApache-2.0Apache-2.0
API price / 1M tokensSelf-host onlySelf-host only
Hugging Face downloads (30 days)120.3K30.3K

Benchmarks

Higher is better. Bold marks the winner where both labs report a score. ≈ marks the index model's estimate for a score that wasn't reported, ✓ an independent measurement and * a score measured by another lab.

BenchmarkNanbeige4.2 3BSpark-X2.5 4B
GPQA Diamond Knowledge87.473.7
Humanity's Last Exam Reasoning17.812.3
AIME Math≈ 9390.7
LiveCodeBench Coding72.5≈ 75
SWE-bench Verified Coding63.641.6
Terminal-Bench Agentic44.1—
τ²-Bench Agentic—75.1
IFBench Instruction following—75.0
IFEval Instruction following—93.0
BFCL Agentic—65.1
HMMT Math82.881.2
AA-LCR Long context58.756.3
SciCode Coding—34.7

Scores are mostly reported by each lab with its own settings, so small gaps are noise. See the methodology. Open in the interactive comparison to add more models.

Questions

Which is better, Nanbeige4.2 3B or Spark-X2.5 4B?

Nanbeige4.2 3B scores higher on the Small LM Index: 70.4 vs 65.5. On the 5 benchmarks both labs report, Nanbeige4.2 3B wins 5 and Spark-X2.5 4B wins 0.

Which is cheaper to run?

Neither model has a hosted API on OpenRouter, so you would run both yourself. Both need about 3.8 GB of memory at 4-bit quantization.

Which has the longer context window?

Spark-X2.5 4B has the longer context window: 1M tokens against 262K.

Can I use Nanbeige4.2 3B and Spark-X2.5 4B commercially?

Both are released under the Apache-2.0 license. Apache 2.0 and MIT allow commercial use; other licenses can add conditions, so read the license before shipping a product.

Related comparisons

Guides featuring these models