LLM
Spark-X2.5 1.7B Mobile Chat
Ask a question or try a short writing task. Sign in when you send your first message.
Spark-X2.5 1.7B Q4_K_M — Single Device (GGUF)
Spark-X2.5-1.7B Q4_K_M runs its complete 28-layer hybrid-attention model on one WebGPU node. The 1.11 GB GGUF targets the 2 GB mobile floor and avoids the Qwen3.5 Gated DeltaNet path that corrupts decode on Adreno 8xx. Its Qwen3-style <think>/</think> markers keep reasoning separate from the answer.
API reference
Submit via REST
Use your personal API key (msk_…) to create jobs for this workload from your own tools. Jobs started this way run on the same devices you connected on Your Devices — at least one has to be online.
https://cp.meshlabs.cloud/v1/organizations/jobsAuthenticate with X-Organization-Api-Key: msk_your_personal_api_key. The header name matches org keys; personal keys use the same endpoint.
Request body
{
"workload_type": "spark-x2.5-1.7b-gguf",
"job_spec": {
"enable_thinking": true,
"max_new_tokens": 2048,
"max_context": 8192,
"kv_hot_window": 32768,
"temperature": 1,
"top_p": 0.95,
"top_k": 0,
"presence_penalty": 0,
"repetition_penalty": 1,
"min_remote_stages": 0,
"wire_hidden_dtype": "f16",
"wire_hidden_codec": "fp16",
"stage_chaining": true,
"prompt": "A photorealistic lighthouse at dusk"
}
}job_spec fields
| Field | Required | Default | Description |
|---|---|---|---|
system_prompt | No | — | Optional instruction appended to Spark's default system prompt |
enable_thinking | No | true | Reason before answering. Spark's generation prompt ends with <think> when on and </think> when off, so this selects which mode the model was trained to continue. |
max_new_tokens | No | 2048 | Maximum generated tokens (thinking + answer). Spark always opens a think block, so a small budget is spent reasoning and truncates the answer. Prompt and generation share the context window, so generation stops at the context rather than growing the stage's memory floor. |
max_context | No | 8192 | Total tokens the stage hosts allocate KV/recurrent state for — prompt plus generation. The ceiling is the largest context the Oracle measured this model at, so placement never has to extrapolate past evidence. Raising it raises the memory floor and therefore narrows which devices can run the job. |
kv_hot_window | No | 32768 | Physical attention KV is capped at the newest N tokens, so a conversation longer than N forgets its oldest turns instead of stopping at the context limit. 0 keeps the full context resident. At or below the context window this changes nothing — same memory, same attention — and lowering it below the context trades long-range recall for unbounded conversation length, because the model genuinely cannot see past the window. |
turns | No | — | Prior turns of this conversation, oldest first, including the current user message as the final row. Supplying them lets a stage host that still holds this conversation's KV state extend it instead of re-prefilling the whole history. Omit for a single-shot request; the workload then reads `prompt`. |
temperature | No | 1 | Temperature |
top_p | No | 0.95 | Top P |
top_k | No | 0 | Top K |
presence_penalty | No | 0 | Presence Penalty |
repetition_penalty | No | 1 | Repetition Penalty |
seed | No | — | Random seed for reproducibility |
min_remote_stages | No | 0 | Diagnostic placement knob for GGUF pipeline-parallel testing. When > 0, the checkpoint is assigned only to nodes that would run at least this many stages over WebRTC instead of locally. Falls back after the checkpoint peer grace window to avoid starving production jobs. |
wire_hidden_dtype | No | f16 | Hidden activation dtype between GGUF pipeline stages. f16 halves the wire payload for prefill and speculative blocks; f32 is a diagnostic fallback. |
wire_hidden_codec | No | fp16 | Experimental codec for multi-token hidden activation blocks between GGUF pipeline stages. Single-token decode keeps the cheap dtype path; generic codecs are used only for prefill/speculative blocks where byte savings can offset codec cost. fp16 is safest; auto8/hq8 are diagnostics. |
stage_chaining | No | true | When all GGUF stages are remote and support the chain protocol, send hidden activations directly stage-to-stage instead of relaying each boundary through the checkpoint coordinator. |
prompt | Yes | — | User message / prompt for the chat model |
cURL
curl -X POST https://cp.meshlabs.cloud/v1/organizations/jobs \
-H "X-Organization-Api-Key: msk_your_personal_api_key" \
-H "Content-Type: application/json" \
-d '{
"workload_type": "spark-x2.5-1.7b-gguf",
"job_spec": {
"enable_thinking": true,
"max_new_tokens": 2048,
"max_context": 8192,
"kv_hot_window": 32768,
"temperature": 1,
"top_p": 0.95,
"top_k": 0,
"presence_penalty": 0,
"repetition_penalty": 1,
"min_remote_stages": 0,
"wire_hidden_dtype": "f16",
"wire_hidden_codec": "fp16",
"stage_chaining": true,
"prompt": "A photorealistic lighthouse at dusk"
}
}'https://cp.meshlabs.cloud/v1/organizations/jobs/{job_id}Poll with the same API key until status is terminal (COMPLETED, FAILED, CANCELED, or MODERATION_BLOCKED). When content moderation is enabled, jobs may start in MODERATION_PENDING before entering the compute queue. Completed jobs include presigned download_url values on each output.
Create response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workload_type": "spark-x2.5-1.7b-gguf",
"status": "PENDING",
"job_spec_json": {
"enable_thinking": true,
"max_new_tokens": 2048,
"max_context": 8192,
"kv_hot_window": 32768,
"temperature": 1,
"top_p": 0.95,
"top_k": 0,
"presence_penalty": 0,
"repetition_penalty": 1,
"min_remote_stages": 0,
"wire_hidden_dtype": "f16",
"wire_hidden_codec": "fp16",
"stage_chaining": true,
"prompt": "A photorealistic lighthouse at dusk"
},
"work_units": [],
"outputs": [],
"created_at": "2026-06-08T12:00:00Z",
"updated_at": "2026-06-08T12:00:00Z"
}Completed response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workload_type": "spark-x2.5-1.7b-gguf",
"status": "COMPLETED",
"job_spec_json": {
"enable_thinking": true,
"max_new_tokens": 2048,
"max_context": 8192,
"kv_hot_window": 32768,
"temperature": 1,
"top_p": 0.95,
"top_k": 0,
"presence_penalty": 0,
"repetition_penalty": 1,
"min_remote_stages": 0,
"wire_hidden_dtype": "f16",
"wire_hidden_codec": "fp16",
"stage_chaining": true,
"prompt": "A photorealistic lighthouse at dusk"
},
"work_units": [
{
"id": "…",
"index": 0,
"status": "COMPLETED"
}
],
"outputs": [
{
"id": "…",
"output_type": "<output type>",
"filename": "<output filename>",
"size_bytes": 524288,
"download_url": "<presigned output download URL>"
}
],
"created_at": "2026-06-08T12:00:00Z",
"updated_at": "<completion timestamp>"
}