Surogate 3.7 35B-A3B: Run It Locally for Agentic Coding Tasks
A practical look at Surogate 3.7, an Apache 2.0 Qwen-based agentic model, including VRAM needs, VLLM setup, and real agent coding tests.

What is Surogate 3.7?
Surogate 3.7 is an open-weight agentic model built on top of Qwen3.5-35B-A3B-Base, released under the Apache 2.0 license. Unlike a standard chat model that answers a question and stops, Surogate 3.7 is tuned to act like an agent: it reads files, runs commands, checks results, and keeps iterating until a task is actually finished. It’s a mixture-of-experts (MoE) model with 35B total parameters and roughly 3B active parameters per forward pass, which is what the “A3B” in the name refers to. It supports a context window up to 1 million tokens and ships as a 13-part safetensors checkpoint on Hugging Face under the surogate/Surogate3.7-35B-A3B repo.
TL;DR
- Surogate 3.7 is an Apache 2.0 licensed agentic model built on Qwen3.5-35B-A3B-Base, using a mixture-of-experts architecture with about 3B active parameters per token.
- The model supports up to a 1 million token context window, though running it at that length demands a serious amount of VRAM (close to 95GB in one tested VLLM deployment).
- It’s trained specifically for agentic workflows: tool use, terminal operations, task decomposition across multiple sub-agents, and self-verification of results.
- In a hands-on test, the model found and fixed a subtle cross-file bug in a full-stack pitch-count tracking app by cross-referencing a rules file against the actual database query logic, not just pattern-matching code.
- On a multi-agent lunar lander build, it split work across three helper agents plus a verification agent, and the autopilot it built landed successfully 20 out of 20 times.
- Benchmark charts shared by the model’s team show it leading in tool automation and office-task categories, while trailing larger frontier models like DeepSeek on raw coding and terminal-heavy enterprise tasks.
- The model is trained and served using Surogate Engine, a companion open-source C++/CUDA toolkit from the same team that handles both fine-tuning (including low-precision FP4 training on RTX 5090 cards) and inference.
Build an onboarding app for 4,000 new hires.
Build ↵How do you run Surogate 3.7 locally?
The most straightforward path is VLLM, the inference server widely used for serving large MoE and dense models with efficient batching and memory management. Because Surogate 3.7 is distributed as standard safetensors with a Qwen3.5 MoE architecture, it loads through the same transformers-compatible pipeline that VLLM already supports for Qwen-family models.
A few practical notes if you’re setting this up:
- The full repo is split into 13 safetensor shards, so expect a sizable download before you can even boot the server.
- VRAM usage scales heavily with context length. One deployment running at the model’s maximum 1 million token context consumed close to 95GB of VRAM. If you don’t need anywhere near that context window, you can run it with a fraction of that memory by capping the context length when you launch VLLM.
- Once running, the model can be wired into an agent harness (an “agent” layer that gives it access to a terminal, file system, and tool-calling loop) rather than used as a plain chat endpoint. That’s the setup that actually exercises what Surogate 3.7 is built for.
If 95GB of VRAM sounds out of reach for your hardware, that’s mostly a function of the context window, not the base model weights. A3B-class MoE models are comparatively light on active compute per token precisely because only a fraction of the total parameters fire on any given pass, which is part of why this class of model runs well even on consumer-adjacent setups when context length is kept reasonable.
How does the mixture-of-experts design affect performance?
Mixture-of-experts models split their parameters into specialized “expert” sub-networks and route each token through only a handful of them, rather than activating every parameter on every pass. For Surogate 3.7, that means the full model carries 35B parameters of capacity, but each token only engages about 3B parameters worth of compute. That’s the practical reason an MoE model of this size can be more responsive and cheaper to run than a dense model with a comparable parameter count. It’s also why a model this size can be trained and served on relatively accessible hardware, with the model card noting FP4 training was done on RTX 5090 cards.
The tradeoff is that MoE models can be inconsistent depending on which experts get activated for a given task, which may explain why Surogate 3.7’s benchmark results are strong in some categories (tool automation, office tasks) and noticeably weaker in others (terminal operations, enterprise tasks) compared to larger dense or MoE competitors like DeepSeek’s flash-tier models.
What does agentic testing actually look like for this model?
Agentic benchmarks and demos aren’t about a single correct answer. They’re about whether a model can plan, act, check its own work, and course-correct. Two tests illustrate this well.
In a bug-fixing task on a full-stack youth baseball pitch-count application (tracking how many pitches a kid has thrown and enforcing mandatory rest days), the app had a bug where the dashboard undercounted total daily pitches because the backend grouped by individual game rather than by day. Given no hints, Surogate 3.7 read both the rules documentation and the engine code, formed a hypothesis about the mismatch, cross-checked it against a second data source (the API’s own query logic), manually predicted what the corrected dashboard numbers should be, applied the fix, and then verified that the real output matched its prediction. That’s a materially different process than a model guessing at a patch and hoping the tests pass.
In a second test, the model was asked to build a small lunar lander game, complete with a physics engine, dashboard, and an autopilot, by decomposing the work across three helper agents plus a fourth agent responsible for checking how reliably the autopilot landed. The model split the task, ran the agents in parallel, and reported the autopilot landing safely 20 out of 20 times, which held up on manual inspection of the running game.
Where the model struggled more was pure creative code generation. Asked to build an animated single-file HTML scene (a rotating, flame-lit roast duck effect with no external libraries), the lighting and flame animation came out convincingly, but the shape and texture of the “duck” itself looked more like an abstract blob than the intended object. That’s a reminder that agentic reasoning strength doesn’t automatically translate into strong raw generative/creative output.
Is Surogate 3.7 worth running instead of DeepSeek or GLM?
That depends on what you’re optimizing for. Benchmark charts covering ten agentic categories (tool use, terminal work, office tasks, and general agent behavior) show Surogate 3.7 posting the top score in about half of them, particularly around tool automation and office-style tasks. On coding specifically, it lands close to larger DeepSeek flash-tier models without quite matching them, and it falls further behind on terminal-heavy and enterprise-operation benchmarks where bigger models still have an edge.
The pitch here from the model’s creators is less “this beats frontier models outright” and more “this closes a meaningful gap using an older Qwen3.5 base, at a size that’s realistic to self-host.” For teams that want an Apache 2.0 model they can run on their own infrastructure for agentic coding and automation work, and that don’t need best-in-class terminal or enterprise-task performance, Surogate 3.7 is a reasonable candidate to test against your own workloads rather than relying on benchmark charts alone.
Frequently Asked Questions
What base model is Surogate 3.7 built on?
It’s a fine-tune of Qwen3.5-35B-A3B-Base, a mixture-of-experts model from the Qwen3.5 family, adapted specifically for agentic tool use and reasoning.
How much VRAM does Surogate 3.7 need?
It depends heavily on context length. Running it at its full 1 million token context window consumed close to 95GB of VRAM in one VLLM deployment, but reducing the context window substantially lowers memory requirements.
Is Surogate 3.7 free to use commercially?
Yes. It’s released under the Apache 2.0 license, which permits commercial use, modification, and redistribution without the restrictions found in some other open-weight model licenses.
What is Surogate Engine, and do I need it to run the model?
Surogate Engine is an open-source C++/CUDA toolkit from the same team that handles both training (including fine-tuning and reinforcement learning in low precision like FP4) and inference serving. It’s not strictly required to run the model, since standard tools like VLLM also work, but it’s the engine the team used to train and originally serve Surogate 3.7.
How does Surogate 3.7 compare to DeepSeek and GLM on coding tasks?
Live class · Wed, Dec 2
$40,000+/mo
in SaaS spend the Remy team cut by building its own apps with AI.
We'll show you how.
Bring an idea.
Build it live.
Leave certified.
According to benchmark charts covering agentic tasks, Surogate 3.7 performs close to larger DeepSeek flash-tier models on coding but doesn’t quite match them, and it trails further on terminal operations and enterprise-task benchmarks.



