Laguna S 2.1 Poolside released Laguna S 2.1, a 118B total parameter Mixture-of-Experts model with 8B activated parameters per token and a 1M token context window, achieving 70.2% on Terminal-Bench 2.1 and 40.4% on DeepSWE v1.1 in thinking mode. The model went from training start to launch in under nine weeks and holds its own against larger models on long-horizon coding benchmarks. Punching above its weight class punching-above-its-weight-class A closer look at DeepSWE a-closer-look-at-deep-swe Evaluation methodology evaluation-methodology Seeing the model work seeing-the-model-work Thinking effort thinking-effort Limitations limitations What actually changed in this model what-actually-changed-in-this-model A strong base, then new post-training a-strong-base-then-new-post-training Distribution of post-training tasks distribution-of-post-training-tasks What changed in the training loop what-changed-in-the-training-loop The bets we're making the-bets-were-making Three models in three months three-models-in-three-months Get started get-started Table of contents Today we’re releasing Laguna S 2.1, a significant step forward in our development of models that pursue longer horizon work and make effective use of reasoning. Laguna S 2.1 is a 118B total parameter Mixture-of-Experts model with 8B activated parameters per token and supports a context window of up to 1M tokens in thinking and no-thinking modes. It went from the start of training to launch in under nine weeks, and on long-horizon coding benchmarks it holds its own against models many times its size. For every benchmark score we publish today, we are releasing full trajectories for every trial in the final evaluation set at trajectories.poolside.ai http://trajectories.poolside.ai/ . - Laguna S 2.1 118B-A8B - Tencent Hy3 295B-A21B - Inkling 975B-A41B - Nemotron 3 Ultra 550B-A55B - DeepSeek-V4-Pro Max 1.6T-A49B - Kimi K3 2.8T-A50B - Qwen 3.7 Max — - Muse Spark 1.1 — - Claude Fable 5 — Terminal-Bench 2.1 SWE-Bench Multilingual SWE-Bench Pro Public Dataset DeepSWE SWE Atlas Codebase QnA Toolathlon Verified Laguna S 2.1 118B-A8B | Tencent Hy3 295B-A21B | Inkling 975B-A41B | Nemotron 3 Ultra 550B-A55B | DeepSeek-V4-Pro Max 1.6T-A49B | Kimi K3 2.8T-A50B | Qwen 3.7 Max — | Muse Spark 1.1 — | Claude Fable 5 — | | |---|---|---|---|---|---|---|---|---|---| Terminal-Bench 2.1 | 70.2 | 71.7 | 63.8 | 56.4 | 64.0 | 88.3 | 74.5 | 80 | 88.0 | | SWE-Bench Multilingual | 78.5 | 75.8 | - | 67.7 | 76.2 | - | 78.3 | - | - | | SWE-Bench Pro Public Dataset | 59.4 | 57.9 | 54.3 | - | 55.4 | - | 60.6 | 61.5 | 80.3 | | DeepSWE | 40.4 | - | - | - | 9.0 | 69.0 | - | 53.3 | 70.0 | | SWE Atlas Codebase QnA | 46.2 | - | - | - | 27.2 | - | - | 42.2 | - | | Toolathlon Verified | 49.7 | - | 45.5 | 34.3 | 55.9 | - | - | 75.6 | - | Punching above its weight class Laguna S 2.1 is, as far as we can measure, the most capable agentic coding model in its weight class by a wide margin . S 2.1 scores 70.2% on Terminal-Bench 2.1 in our agent harness with thinking enabled. Its compact size makes it uniquely suitable for complex work on local machines. Terminal-Bench 2.1 evaluates a wide, high-quality set of long-horizon tasks where an agent model is connected to its environment through a terminal. Laguna S 2.1 is a standout model in its size category on this benchmark. A closer look at DeepSWE The benchmarks above are all meaningful, and we're glad to be close to the frontier on them. But part of that closeness is a property of maturing benchmarks: as the frontier advances, top scores cluster in the 70-90% range and models that behave very differently end up no more than a few points apart. Datacurve’s DeepSWE still has significant headroom. Its tasks are longer-horizon and hard to partially solve, and the scores actually spread: frontier models range from 54% to 73% on the v1.1 variant, with some 1T+ parameter open models scoring below 10%. On DeepSWE v1.1, Laguna S 2.1 scores 40.4 in thinking mode in pool harness. It is worth noting that Laguna S 2.1 scored 40.4% in our agent harness, pool, not mini-swe-agent which DeepSWE’s leaderboard uses. For other models we report maximal over reported scores which for most models are the official leaderboard results reported by Datacurve. While this makes scores less comparable, we don’t believe it puts us in a particularly advantageous position as it’s been reported that many of the models score the same or better in mini-swe-agent compared to their native harnesses. Every trajectory in the final evaluation run is available here https://trajectories.poolside.ai/?benchmark=deep-swe&sort=result&dir=desc&variant=thinking . Evaluation methodology Evaluation of agent models is notoriously difficult due to prevalence of reward hacking. We have previously written about reward hacking https://poolside.ai/blog/through-the-looking-glass in leading benchmarks and our evaluations system and rigor as part of the technical report on our Laguna M.1 and XS.2 models. Recent work has focused on adversarial judging to increase reward hacking detection. With this release, we are making all trajectories from our final evaluations of the published Laguna S 2.1 checkpoint available to view and download at trajectories.poolside.ai http://trajectories.poolside.ai/ . Seeing the model work Benchmark scores give a quantitative view into the model behavior, but to get a better intuitive understanding of how the model works it’s useful to look into runs on real world tasks. We share three such tasks with unedited trajectories and commentary. Case study 1 A browser engine from a blank folder One of our favorite things about Laguna S 2.1 is its resourcefulness : It will find clever ways to get to the goal even if the direct path is not available. We saw a great demonstration of this when we asked it to build a browser engine from scratch; knowing it would be a challenge for Laguna to verify its work given its lack of vision capabilities. In one 50-minute session of 181 steps, with no human intervention, Laguna S 2.1 built a working HTML/CSS rendering engine from an empty folder, then proved it renders like a real browser by measuring itself against one. Throughout its work, the model found increasingly complex ways to validate its work despite its limitations, leading to running headless Chromium to read canvases back and comparing screenshots numerically. See the full trajectory here https://trajectories.poolside.ai/trials/019f6c37-7621-7ec1-96b5-f041f83c1540 . Read the full case study // the verbatim prompt · reproduce it yourself your job is it to build a simple browser engine just html/css in javascript to demonstrate the capabilities of poolsides new "Laguna S" model. the goal is to take render html snippets in a canvas like a real browser. to demonstrate it the engine, build a self-contained single page app that showcases a gallery of multiple html snippets and renders them side by side canvas with our render engine + iframe letting the hosting browser render it for real for comparison . support for most common layout and styling elements Over the session the model built the full pipeline, parser → cascade → layout → renderer, in vanilla JavaScript: an HTML tokenizer and DOM tree, a CSS parser with selector specificity, a cascade engine with inheritance, box-model layout, and a canvas-2D renderer, wrapped in an app that shows nine snippets on its own canvas beside the same markup in an iframe, so the hosting browser sits right there as the reference. Case study 2 Optimizing our own harness Laguna S 2.1 is capable of pursuing meaningful engineering and research work. In one example, one of our researchers pointed it at our agent harness, used for training/evaluation and user interaction with our models. In an automated loop, Laguna S 2.1 made our harness 5.2% faster with ~70% lower memory allocation. See the full trajectory here https://trajectories.poolside.ai/trials/019f7297-e7f9-7756-9644-6aadb6e2b668 . Read the full case study For this task, we instrumented the harness with benchmarks so the model could see exactly where the time and memory went. We set strict rules: one approach at a time, benchmark after every change, keep only what measurably wins. We then ran Laguna S 2.1 in an automated research loop that fed each result back to it and pushed it to keep improving. Results . Over multiple hours of work, Laguna S 2.1 found and implemented multiple different optimizations in our agent harness, resulting in an overall speedup of 5.2%, and reducing memory allocation by ~70%. The plot below shows the progression of the optimization, with the insights and discoveries the model made along its way. Laguna S 2.1 found that streaming-token accumulation used O n^2 string concatenation and replaced it with buffers. It also found several instances of redundant copying and over-allocation during trajectory materialization, which it resolved by memoizing materializations and pre-allocating slices to their exact sizes. Notably, after speedup improvements became marginal and hard to measure in our setup, Laguna S 2.1 kept driving forward, continuing to optimize. It found that memory allocation was more accurately measured and focused its effort there. This reinforces the notion that Laguna S 2.1 truly is a model that doesn't give up and understands limitations of its environment and it is able to progress despite that. While the benchmarks used here are not a full production test, we validated the final run with Go's race detector and go vet gating enabled, and we tested the final artifact to confirm it works. This gives us confidence that the model's intermediate solutions were valid, stable software rather than gains bought with hidden race conditions. Case study 3 Re-deriving Erdős problem 397, offline, in Perl We found Laguna S 2.1 more capable in mathematics than any model we have developed to date. It independently discovered a proof to Erdős problem 397 Erdős, Graham, Ruzsa, Straus, 1975 , finding a construction that yields an infinite family of solutions. This is an independent re-discovery, as a proof to the conjecture was found earlier in January 2026 by GPT-5.2 Pro https://www.erdosproblems.com/397 . We are confident that this result was not influenced by the previous result given that the model has a knowledge cutoff date in November 2025. Before GPT 5.2 Pro’s solution, this problem remained open for over 50 years. See the full trajectory here https://trajectories.poolside.ai/trials/019f2a95-b4b3-77b8-ad7c-dbdf59c0d9ca . Read the full case study // the verbatim prompt this is an unsolved problem, solve it. Let B k = C 2k, k denote the k-th central binomial coefficient. Erdős, Graham, Ruzsa and Straus asked: are there only finitely many solutions to B m1 · B m2 · … · B mr = B n1 · B n2 · … · B ns where all of the indices are DISTINCT integers ≥ 2? Resolve this question, with complete proof. S 2.1 worked over 68 minutes to discover a conclusive solution. The sandbox had no Python; the model found Perl and did its number theory there: brute-force exact prime factorizations, pattern analysis, a conjectured family, then the proof: a closed-form infinite family of eight-index solutions. 11+10n· B 14+12n· B 18+15n· B 22+20n= B 12+10n· B 13+12n· B 17+15n· B 23+20nfor every n ≥ 0 While the result is a rediscovery, not a first solution , the family Laguna S 2.1 derived is structurally different from the earlier published construction eight indices growing linearly vs the known six-index family , showing a fresh derivation rather than reciting from memory. We found Laguna S 2.1 to be an exceptionally persistent problem solver across domains, finding ways to utilize all tools its environment has to offer, and pushing until it gets the job done. It is this characteristic that makes it so competitive even when compared to models multiple times its size. Thinking effort Laguna S 2.1 has two thinking modes: off and max enabled by default where it determines the right thinking/test-time compute budget for a given problem. We have observed coherent, productive thinking over several hours and hundreds of thousands of tokens in length. Max thinking lifts S 2.1’s score on Terminal-Bench 2.1 from 60.4% to 70.2% and on DeepSWE from 16.5% to 40.4%. We are releasing this model without user-configurable effort low-medium-high control today to get Laguna S 2.1 into the hands of users immediately. The two modes still give you a real choice, and it's worth seeing what each point costs: Limitations We are excited about the capabilities of Laguna S 2.1, in general as well as in the context of its size. In order to learn quickly we are making the model available with some known limitations that we are working on for the next iteration: Harness overfitting : in some cases, we observe that Laguna S 2.1 struggles with adhering to tool schema definitions in third-party agent harnesses e.g., the terminal tool in Hermes Agent which are very similar to those in our native harness but with slight differences. In this case, the model may rely on its memory of the tool interface on the first use of the tool instead of following the definition. This is typically resolved through in-context learning should the harness reject the invalid tool call and ask the model to retry. Nested tool calls : Laguna S 2.1 is guided to use a tool call format where tool calls are marked by XML-like tags: