Local & Offline
~9 min readUpdated: November 2026

Surogate 3.7 35B-A3B MoE: 1M Context, FP4 Training & vLLM Serving

Surogate 3.7 35B-A3B Sparse MoE Routing and DGX Spark Serving in Smoke Monkey

Surogate 3.7 35B-A3B (`surogate/Surogate3.7-35B-A3B`) is an Apache-2.0 enterprise agentic Mixture-of-Experts model post-trained from Qwen3.5-35B-A3B-Base in FP4 on RTX 5090 GPUs. Activating ~3B parameters per token across 256 experts and 1M RoPE-scaled context, it scores 78.0% on SWE-bench Verified, 76.4% on Terminal-Bench 2.1, and 93.4% on tau2-Bench while fitting on a single DGX Spark.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Surogate 3.7 35B-A3B MoE: 1M Context, FP4 Training & vLLM Serving: Surogate 3.7 35B-A3B (`surogate/Surogate3.7-35B-A3B`) is an Apache-2.0 enterprise agentic Mixture-of-Experts model post-trained from Qwen3.5-35B-A3B-Base in FP4 on RTX 5090 GPUs. Activating ~3B parameters per token across 256 experts and 1M RoPE-scaled context, it scores 78.0% on SWE-bench Verified, 76.4% on Terminal-Bench 2.1, and 93.4% on tau2-Bench while fitting on a single DGX Spark. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Examplesurogate-37-vllm-agent.ts
surogate-37-vllm-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
const enterpriseAgent = createAgent({
agentId: 'surogate-37-local-operator',
provider: 'custom',
baseUrl: 'http://localhost:8000/v1',
model: 'surogate/Surogate3.7-35B-A3B',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
extraBody: {
top_k: 20,
chat_template_kwargs: {
enable_thinking: true,
preserve_thinking: true,
},
},
});
async function executeAudit() {
const result = await enterpriseAgent.run(
'Inspect systemd unit logs in /var/log, isolate OOM events, and emit a structured remediation patch.'
);
console.log('Surogate 3.7 Agent Output:', result.summary);
}
executeAudit().catch(console.error);
Video Guides

Watch: Related Video Guides

Serving JAX Models with vLLM & SGLang

Serve Your Own LLM: vLLM & SGLang, End-to-End

What Is Surogate 3.7 35B-A3B? Architecture & FP4 Post-Training

Surogate 3.7 35B-A3B is an Apache-2.0 multimodal agentic Mixture-of-Experts model post-trained by Invergent AI on top of Qwen/Qwen3.5-35B-A3B-Base in FP4 precision on NVIDIA RTX 5090 nodes. With 35B total parameters and only ~3B active per token, it achieves frontier-class tool execution and scales to 1M tokens via RoPE while fitting inside a single DGX Spark.

Per config.json (Qwen3_5MoeForConditionalGeneration), the text decoder spans 40 layers with hidden_size: 2048, full_attention_interval: 4, 16 attention heads, 2 KV heads, and 256 routed experts (num_experts_per_tok: 8). A 27-layer vision encoder (patch_size: 16, spatial_merge_size: 2) maps multimodal inputs directly into the shared 2048-dimensional latent space.

Surogate 3.7 35B-A3B Agentic & Coding Benchmark Comparison

Evaluated across 12 coding, tool-calling, and enterprise workflow suites, Surogate 3.7 35B-A3B outperforms larger peer checkpoints and closes the gap with frontier cloud models.

BenchmarkSurogate 3.7 35B-A3BDeepSeek V4 Flash (0731)GLM-5.2Ornith-1.5-35B-A3BSage-A1.5-35B-A3B
AutomationBench34.325.128.018.58.7
Terminal-Bench 2.176.4*82.782.758.460.6
BFCL v468.767.370.368.555.5
SWE-bench Verified78.079.778.779.076.2
tau2-Bench93.495.299.481.581.8
Claw-Eval (avg)82.479.781.664.477.3
GPQA Diamond91.488.191.289.287.4
WildClawBench54.633.252.1445.9150.0
CommerceAgentBench39.438.439.337.425.2

*Note: Terminal-Bench 2.1 reports 76.4% with one retry pass (3-hour limit); single-attempt first-pass accuracy is 61.8%.*

Preserve Reasoning Across Tool Calls

Thinking mode is enabled by default. For multi-turn agent loops, always pass `chat_template_kwargs: { enable_thinking: true, preserve_thinking: true }` so earlier reasoning traces remain intact across tool invocations.

Production vLLM Deployment with FP8 KV Cache & MTP-2

Because Surogate 3.7 includes a single-layer Multi-Token Prediction head (mtp_num_hidden_layers: 1), enabling --speculative-config in vLLM accelerates local autoregressive decoding without needing a separate draft model. Recommended sampling parameters are temperature=1.0, top_p=0.95, and top_k=20.

bash
# Serve Surogate3.7-35B-A3B with FP8 KV cache, Qwen3 tool parser, and MTP-2
vllm serve surogate/Surogate3.7-35B-A3B \
  --dtype bfloat16 \
  --kv-cache-dtype fp8 \
  --max-model-len 131072 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder \
  --speculative-config '{"method": "mtp", "num_speculative_tokens": 2}'

Running Local Enterprise Workflows in Smoke Monkey

Inside Smoke Monkey Harness and Smoke Monkey Canvas, teams bind Surogate 3.7 35B-A3B as an on-premise worker backing MCP filesystem, terminal, and database tools. Its 8-user concurrency headroom on a single DGX Spark and 1M context window allow full-repository static analysis and multi-step incident triage without external API egress.

Google Search Questions & Answers

Frequently Asked Questions

Q:How many active parameters does Surogate 3.7 35B-A3B use per token?

Out of roughly 35B total parameters, Surogate 3.7 activates approximately 3B parameters per token by routing each token to 8 of 256 experts plus 1 shared expert across 40 layers.

Q:What hardware is needed to serve Surogate 3.7 35B-A3B locally?

In BF16 with FP8 KV caching via the Surogate Engine or vLLM, the model fits on a single NVIDIA DGX Spark with 1M context and supports up to 8 concurrent agentic users. It can also be served on workstation GPUs.

Q:Which tool-call and reasoning parsers should be set in vLLM?

Set `--reasoning-parser qwen3`, `--enable-auto-tool-choice`, and `--tool-call-parser qwen3_coder`, alongside `--speculative-config '{"method": "mtp", "num_speculative_tokens": 2}'`.

Q:What is Surogate 3.7 35B-A3B's single-attempt vs retry score on Terminal-Bench 2.1?

Surogate 3.7 achieves 61.8% on its first attempt on Terminal-Bench 2.1 and 76.4% when failed tasks are given one additional retry attempt with a 3-hour agent limit.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness