Spark-X2.5-4B β€” LeastGen Sovereign Lane

Live, metered OpenAI-compatible inference of XHToken/Spark-X2.5-4B (Apache-2.0) β€” deployed in Riyadh on a single NVIDIA RTX A4500, served directly from LeastGen's own GPU infrastructure. Not a rented hyperscaler node.

🟒 Open the live chat demo β†’ β€” an interactive Space running in your browser against this endpoint.

ℹ️ On the "Inference Providers" panel: listing there requires joining Hugging Face's official first-party provider program (industry partnership, separate application and SLA vetting). LeastGen serves this model independently from its own hardware β€” use the endpoint or the Space above to use it today.

Try it

🟒 100% FREE for now β€” no API key needed. Use the live demo Space, or grab your own free key at https://leastgen.com/credits if you want your own metered balance.

Option A β€” no key, chat now: Open the live demo Space and send a message. It runs in your browser against LeastGen's own GPU.

Option B β€” OpenAI-compatible API (still free for now): Any OpenAI client works against https://api.leastgen.com/v1:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.leastgen.com/v1",
    api_key=" your-key ",
)

resp = client.chat.completions.create(
    model="Spark-X2.5-4B",
    messages=[{"role": "user", "content": "What is sovereign AI infrastructure?"}],
    max_tokens=200,
)
print(resp.choices[0].message.content)

Direct curl

curl https://api.leastgen.com/v1/chat/completions \
  -H "Authorization: Bearer $LG_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Spark-X2.5-4B",
    "messages": [{"role":"user","content":"Hello"}],
    "max_tokens": 80
  }'

How it runs (fully disclosed)

Piece Detail
Weights XHToken/Spark-X2.5-4B full-precision BF16, Apache-2.0
Serving engine llama.cpp (llama-server) with GPU offload
Hardware Deployed in Riyadh on a dedicated NVIDIA RTX A4500 (20GB, single node)
Transport Cloudflare Tunnel β†’ Tailscale private lane (no exposed GPU ports)
Metering LeastGen credit system: 1 credit / input token Β· 2 credits / output token
Throughput measured ~60 tok/s sustained single-stream, ~350 tok/s prompt eval
Context 8,192 tokens, 8 concurrent slots

Best-effort demo lane: This deployment has no SLA. It's 100% free for now β€” FAIR USE only (no bulk scraping, no bots, 8 concurrent-chat slots). Metering is kept on internally so LeastGen can watch demand, nothing is charged to you yet. When the free window closes, the same endpoint keeps working β€” you'll just pay by the credit.

Internally, 17Γ—23 arrives back as 391 at ~61 tok/s β€” inference runs entirely on LeastGen's own RTX A4500, physically deployed in Riyadh. No datacenter in between.

Model

Copyright and weight files remain with XHToken, Apache-2.0.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Least-gen/Spark-X2.5-4B-API

Finetuned
(10)
this model