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.
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.
- 3B Active / 35B Total MoE Efficiency: Routes 8 of 256 experts (`moe_intermediate_size: 512`) plus 1 shared expert across 40 layers, supporting 8 concurrent agentic users on one DGX Spark.
- Hybrid 3:1 Linear + Full Attention: Alternates 3 linear attention layers (`mamba_ssm_dtype: float32`, 32 value heads) with 1 full attention layer (`head_dim: 256`) and interleaved mRoPE.
- Agentic Benchmark Leadership in Class: Reaches 78.0% SWE-bench Verified, 93.4% tau2-Bench, 91.4% GPQA Diamond, and 54.6% WildClawBench (beating DeepSeek V4 Flash's 33.2%).
- Native Multi-Token Prediction (MTP): Ships `mtp_num_hidden_layers: 1` for 2-token speculative decoding and `preserve_thinking` kwargs in vLLM.
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);
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.
| Benchmark | Surogate 3.7 35B-A3B | DeepSeek V4 Flash (0731) | GLM-5.2 | Ornith-1.5-35B-A3B | Sage-A1.5-35B-A3B |
|---|---|---|---|---|---|
| AutomationBench | 34.3 | 25.1 | 28.0 | 18.5 | 8.7 |
| Terminal-Bench 2.1 | 76.4* | 82.7 | 82.7 | 58.4 | 60.6 |
| BFCL v4 | 68.7 | 67.3 | 70.3 | 68.5 | 55.5 |
| SWE-bench Verified | 78.0 | 79.7 | 78.7 | 79.0 | 76.2 |
| tau2-Bench | 93.4 | 95.2 | 99.4 | 81.5 | 81.8 |
| Claw-Eval (avg) | 82.4 | 79.7 | 81.6 | 64.4 | 77.3 |
| GPQA Diamond | 91.4 | 88.1 | 91.2 | 89.2 | 87.4 |
| WildClawBench | 54.6 | 33.2 | 52.14 | 45.91 | 50.0 |
| CommerceAgentBench | 39.4 | 38.4 | 39.3 | 37.4 | 25.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.
# 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.
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 guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.