Model reference · open weights
DeepSWE is an open-weight language model from agentica-org. DeepSWE-Preview (FP32) weighs 65.5 GB; the smallest configuration that runs it is H100 80 GB.
Summary of the agentica-org/DeepSWE-Preview model card, 2026-10-01
What it is
| Released by | agentica-org |
|---|---|
| Released | 2025-07-01 |
| Parameters | 32.8B |
| VRAM | 65.5 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | — | — | — | |
| A100 80 GB | 5 | 1 | all 40K | 78.2 GB |
| H100 80 GB | 3 | — | 26K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 10 | 2 | all 40K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 16 | 4 | all 40K | 107 GB |
| H200 141 GB | 31 | 7 | all 40K | 138 GB |
| B200 180 GB | 48 | 12 | all 40K | 176 GB |
| 2× L40S 48 GB tensor parallel | 9 | 2 | all 40K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 11 | 2 | all 40K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 11 | 2 | all 40K | 23.4 GB a card |
| 4× RTX 5090 32 GB tensor parallel | 25 | 6 | all 40K | 31.0 GB a card |
| 2× H100 80 GB tensor parallel | 37 | 9 | all 40K | 78.1 GB a card |
| 2× A100 80 GB tensor parallel | 41 | 10 | all 40K | 78.2 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 68.6 GB | 75.0 GB |
| 5 | 77.1 GB | 109 GB |
| 8 | 83.6 GB | 135 GB |
| 16 | 101 GB | 204 GB |
| 32 | 135 GB | 341 GB |
| 64 | 204 GB | 616 GB |
One card, with vLLM's small-card settings.
From the model card
Democratizing Reinforcement Learning for LLM Agents
DeepSWE-Preview is a fully open-sourced, state-of-the-art coding agent trained with only reinforcement learning (RL) to excel at software engineering (SWE) tasks. DeepSWE-Preview demonstrates strong reasoning capabilities in navigating complex codebases and viewing/editing multiple files, and it serves as a foundational model for future coding agents. The model achieves an impressive 59.0% on SWE-Bench-Verified, which is currently #1 in the open-weights category.
DeepSWE-Preview is trained on top of Qwen3-32B with thinking mode enabled. With just 200 steps of RL training, SWE-Bench-Verified score increases by ~20%.
Discover more about DeepSWE-Preview's development and capabilities in our technical blog post.
Figure 1: SWE-Bench-Verified Performance vs. Model Size for LLM Agents. Trained with only reinforcement learning (RL, no SFT), DeepSWE-Preview with test time scaling (TTS) solves 59% of problems, beating all open-source agents by a large margin. We note that DeepSWE-Preview's Pass@1 performance (42.2%, averaged over 16 runs) is one of best for open-weights coding agents.
To get the best performance out of DeepSWE-Preview, we suggest setting:
file_editor.py, execution_bash.py, search.py, finish.py). See here for more details.Figure 2: Validation Score for SWE-Bench-Hard, where an agent receives positive reward if it submits the final answer and passes all tests. With just 200 steps of RL training, SWE-Bench-Verified score increases from 23→42% (+20%).
Our dataset contains 4.5K problems from a subset of R2E-Gym. To avoid data contamination during training, we filtered out problems that are derived from the same repositories as SWE-Bench-Verified , such as sympy. All problems map to individual Docker images.
Our environment wraps around R2E-Gym, an existing Gym environment for scalable curation of high-quality executable SWE environments.
State & Action. R2E-Gym defines a set of four tools as part of the action space. The output of each tool (a Python program with stdout/stderr) represents the returned state. More specifically:
Reward. To keep things simple, our reward function employs a sparse Outcome Reward Model (ORM):
1 - LLM’s generated patch passes a selected sample of tests (Pass2Pass and Fail2Pass) within a time limit. To accelerate training, our max time limit is 5 minutes, while the official SWE-Bench evaluation is 30 minutes.0 - We assign no reward if the LLM’s code fails on at least one test case or times out.We enhance the original GRPO algorithm, integrating insights from DAPO, Dr. GRPO, LOOP/RLOO, and our innovations to enable stable training and improved performance. Our final, amalgamate algorithm consists of:
A more detailed description of the training recipe can be found in our blog post.
DeepSWE-Preview is evaluated via the official R2E-Gym codebase at 64k max context length and 100 max enviornment steps. DeepSWE's generated patches are then ported over to the offical SWE-bench repo to calculate final score. Below, We report Pass@1 accuracy averaged over 16 runs.
| Model | Scaffold | Type | SWE-Bench Verified (%) |
|---|---|---|---|
| DeepSWE-Preview (32B) | R2E-Gym | Agent + Hybrid Best@16 | 59% |
| DeepSWE-Preview (32B) | R2E-Gym | Agent + Hybrid Best@8 | 57.9% |
| DeepSWE-Preview (32B) | R2E-Gym | Agent | 42.2% |
| Devstral-Small (24B) | OpenHands | Agent | 46.6% |
| Openhands-LM (32B) | OpenHands | Agent (Iterative) | 37.2% |
| SWE-Agent-LM (32B) | SWE-Agent | Agent | 40.2% |
| R2EGym-Agent (32B) | R2E-Gym | Agent | 34.4% |
| Skywork-SWE (32B) | OpenHands | Agent | 38.0% |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.