Poolside Laguna S 2.1 & XS 2.1: Local MoE Models for Agentic Coding

·5 min read

TL;DR: Poolside released Laguna S 2.1 (118B total / 8B active) and Laguna XS 2.1 (33B total / 3B active) — a sibling pair of MoE models for agentic coding. Both run locally through Ollama, llama.cpp, vLLM, and SGLang with INT4/NVFP4 quantizations that fit on an RTX 5090 (32 GB VRAM). Licensed under OpenMDW-1.1 for unrestricted commercial use. DFlash speculative decoding doubles throughput on supported backends.

Poolside launched Laguna S 2.1 on July 21, 2026 — a 118B total parameter Mixture-of-Experts model with 8B activated per token and up to 1M context window [blog, HF]. At roughly 75GB quantized (Q4_K_M) or ~71GB (NVFP4) [HF GGUF], it fits on a single consumer GPU or 128GB Apple Silicon machine.

This post covers how to download and run Laguna S 2.1 locally across multiple serving backends and barebone inference engines.

Model Overview

Poolside launched two siblings: Laguna S 2.1 (118B total, 8B active) for heavy-lift workloads and Laguna XS 2.1 (33B total, 3B active) for lean local inference. Both share the same MoE architecture — think of it as a team of specialists where only a subset fires per token. S 2.1 uses 256 experts picking the best 10 per token, mixing full-context attention (12 layers) with sliding window attention (36 layers, 512-token windows). XS 2.1 uses the same gating at a smaller scale. Both support opt-in “thinking” mode via enable_thinking.

Ollama: One-Line Local Inference

The simplest way to run Laguna S 2.1 locally is through Ollama. The model ships with built-in templates for tool calling and thinking.

Terminal window
ollama run laguna-s-2.1

Available variants and memory footprints [HF GGUF]:

TagSizeContextType
laguna-s-2.1:latest75GB256KText
laguna-s-2.1:q4_k_m75GB256KText
laguna-s-2.1:q8_0128GB256KText
laguna-s-2.1:f16235GB256KText

For the best agentic coding experience, pair with Poolside’s pool agent harness [GitHub, docs]

Terminal window
POOLSIDE_STANDALONE_CONTEXT_LENGTH=262144
ollama launch pool --model laguna-s-2.1

Tool calling and thinking work through Ollama’s built-in chat template:

Terminal window
curl http://localhost:11434/api/chat -d '{
"model": "laguna-s-2.1",
"messages": [{"role": "user", "content": "If 3x+6=21, what is x?"}],
"think": true
}'

llama.cpp: GGUF Serving

For GPU-accelerated serving on consumer hardware, llama.cpp with the Poolside laguna branch carries full Laguna support including DFlash speculative decoding.

Setup

Terminal window
git clone --branch laguna https://github.com/poolsideai/llama.cpp
cd llama.cpp
cmake -B build
cmake --build build -j

Serve BF16 / Q4_K_M

Terminal window
./build/bin/llama-server \
-m laguna-s-2.1-Q4_K_M.gguf \
--jinja --port 8000

Serve with DFlash

DFlash speculative decoding works like a fast drafter and a careful editor: a small draft model proposes a block of tokens, and the main model checks the whole block in one pass. Only the accepted tokens become output.

Terminal window
./build/bin/llama-server \
-m laguna-s-2.1-Q4_K_M.gguf \
-md laguna-s-2.1-DFlash-BF16.gguf \
--spec-type draft-dflash --spec-draft-n-max 7 \
-fa on --jinja --port 8000

The draft models ship per quantization — always pair the correct target-draft combination. Mixing precisions degrades the number of tokens accepted per step.

vLLM: Datacenter and Server-Grade [recipes]

vLLM is the go-to for high-throughput or low-latency serving on multi-GPU datacenter nodes (H200, B300, GB300) [docs].

Quantized Variants [recipes]

VariantCheckpointWeights~VRAMNotes
BF16poolside/Laguna-S-2.1BF16~80 GBDefault
FP8poolside/Laguna-S-2.1-FP8Block-FP8~40 GBSet VLLM_BLOCKSCALE_FP8_GEMM_FLASHINFER=0
NVFP4poolside/Laguna-S-2.1-NVFP4NVFP4~26 GBBlackwell only
INT4poolside/Laguna-S-2.1-INT4INT4 (W4A16)~29 GBHopper or Blackwell

Quantization is detected automatically from each checkpoint’s quantization_config — just swap the model ID. All quantized checkpoints ship an FP8-quantized KV cache. Requires vLLM ≥ 0.22.0 for quantized variants.

Launch Command

Single GPU (H100/H200/B200, BF16) [recipes]:

Terminal window
# BF16 on H200 (TP=8)
vllm serve poolside/Laguna-S-2.1 \
--trust-remote-code \
--max-model-len 1048576 \
--enable-auto-tool-choice \
--tool-call-parser poolside_v1 \
--reasoning-parser poolside_v1

Speculative Decoding (DFlash) [recipes]:

Terminal window
# NVFP4 on B300 (TP=8)
VLLM_USE_DEEP_GEMM=0 vllm serve poolside/Laguna-S-2.1-NVFP4 \
--trust-remote-code \
--max-model-len 1048576 \
--enable-auto-tool-choice \
--tool-call-parser poolside_v1 \
--reasoning-parser poolside_v1 \
--speculative-config '{"model":"poolside/Laguna-S-2.1-DFlash-NVFP4","num_speculative_tokens":7,"method":"dflash"}'

SGLang: Cookbooks and Deployments

SGLang ships cookbooks with verified launch commands per hardware + quantization + strategy combination. The model is fully supported on main.

Quick Start

Terminal window
pip install -U uv
uv venv --python 3.12
source .venv/bin/activate
git clone https://github.com/sgl-project/sglang.git
cd sglang
uv pip install -e python

Then launch with --trust-remote-code (the model ships custom config on the Hub):

Terminal window
SGLANG_SHARED_EXPERT_TP1=1 \
python -m sglang.serve \
--model poolside/Laguna-S-2.1-FP8 \
--trust-remote-code \
--reasoning-parser poolside_v1 \
--tool-call-parser poolside_v1

Key SGLang Notes

  • Attention backend: Leave unset for High-throughput — auto-select picks the right backend (fa3 on Hopper GPUs, trtllm_mha on Blackwell).
  • FP8 shared expert: SGLANG_SHARED_EXPERT_TP1=1 is required for FP8 on all hardware. The FP8 checkpoint compresses the shared expert, which can’t be split across GPUs cleanly, so this flag keeps a full copy instead.
  • BF16 reasoning length: BF16 reasons about 2× longer than FP8/INT4 on AIME25 (median 34.8K vs 16.9K tokens). If you need a valid AIME25 score, serve with --max-tokens 131072 — the model supports a 1M context window.
  • Thinking: Off by default; opt in per request via extra_body={"chat_template_kwargs": {"enable_thinking": True}}.

Hardware Requirements

ScenarioMinimum RAM/VRAMHardware Examples
Q4_K_M (Ollama)75GBM3 Max (128GB), DGX Spark
Q8_0 (Ollama)128GBM4 Max (192GB), 2× A100
BF16 (Ollama)235GB2× A100, H200
NVFP4 (vLLM/SGLang)71GBDGX Spark, B300
INT4 (vLLM/SGLang)~38GBSingle H200, RTX 5090 (with offload)

License: OpenMDW-1.1

Both Laguna S 2.1 and XS 2.1 ship under the OpenMDW-1.1 license — a permissive open-license crafted by The Linux Foundation for AI model materials. NVIDIA has adopted OpenMDW for their own model families (Cosmos, Isaac GR00T, Ising, Nemotron).

What you can do:

  • Use, modify, and redistribute weights and related artifacts under copyright, patent, database, and trade-secret rights — all royalty-free
  • Generate outputs with zero restrictions on what the model produces
  • Deploy commercially, fine-tune, or build products around the model

One condition: Rights terminate only if you file a patent or copyright lawsuit against the providers.

Barebone Engines: llama.cpp, BeeLlama, and OxiLLaMa

Ollama wraps llama.cpp with a model manager and HTTP API. If you prefer barebone inference — no wrapper, no daemon, just the engine — these three options cover the spectrum from C/C++ to pure Rust.

llama.cpp (Poolside fork)

The baseline. Build from the Poolside laguna branch for full MoE + DFlash support.

Terminal window
git clone --branch laguna https://github.com/poolsideai/llama.cpp
cd llama.cpp && cmake -B build && cmake --build build -j
# RTX 5090: Q4_K_M with CPU offloading
./build/bin/llama-server \
-m laguna-s-2.1-Q4_K_M.gguf \
--jinja -fa on -ngl 4 -c 8192 --port 8000

On an RTX 5090 (16 GB VRAM), -ngl 4 keeps 4 layers on GPU and offloads the rest to CPU RAM. Expect ~2–4 tok/s.

BeeLlama.cpp

BeeLlama — a performance-focused llama.cpp fork with DFlash baked in. Same GGUF files, faster decode when the draft is active.

Terminal window
git clone https://github.com/nikitabalakin/beellama.cpp
cd beellama.cpp && cmake -B build && cmake --build build -j
# With DFlash draft
./build/bin/llama-server \
-m laguna-s-2.1-Q4_K_M.gguf \
-md laguna-s-2.1-DFlash-BF16.gguf \
--spec-type draft-dflash --spec-draft-n-max 7 \
--jinja -ngl 4 -c 8192 --port 8000

DFlash can recover throughput on offloaded models by accepting more draft tokens per step.

OxiLLaMa

OxiLLaMa — pure Rust, zero C/C++ dependencies. Memory-safe, auditable codebase. Ships an OpenAI-compatible API server and full GGUF loading.

Terminal window
cargo install oxillama
oxillama serve \
--model laguna-s-2.1-Q4_K_M.gguf \
--n-gpu-layers 4 \
--ctx-size 8192 \
--port 8000
EngineLanguageDFlashRTX 5090 FitNotes
llama.cppC/C++Yes (Poolside fork)-ngl 4, ~2–4 tok/sBaseline, widest GGUF support
BeeLlama.cppC/C++Yes (built-in)Same, ~3–5 tok/sFaster decode, DFlash-optimized
OxiLLaMaRustNoSimilar offloadingPure Rust, memory-safe, zero C deps

For RTX 5090, BeeLlama is the best bet — same offloading pattern but DFlash recovers throughput. OxiLLaMa is the clean-room alternative if you want zero C/C++ in your stack.

Laguna XS 2.1: The Compact Sibling

Laguna XS 2.1 is the smaller sibling — 33B total parameters, 3B activated per token. It shares the same MoE architecture as S 2.1 but at a fraction of the size, making it the practical choice for consumer GPUs like the RTX 5090.

RTX 5090 VRAM Fit

The NVIDIA GeForce RTX 5090 packs 32 GB GDDR7 VRAM on the Blackwell architecture [TechPowerUp]. Here’s how XS 2.1 fits:

QuantizationVRAM NeededFits?
BF16~66 GB❌ Over limit
FP8~33 GB⚠️ Borderline
INT4~16.5 GB✅ Comfortable
NVFP4~16.5 GB✅ Comfortable

INT4 and NVFP4 leave ~15.5 GB of headroom for the 256K context window and KV cache — plenty of breathing room.

Benchmarks

XS 2.1 improves on agentic coding benchmarks [blog, NIM]:

BenchmarkXS 2.1XS.2 (prev)Qwen3.6-35B
SWE-bench Verified70.9%69.9%73.4%
SWE-bench Multilingual63.1%57.7%67.2%
SWE-Bench Pro47.6%46.3%49.5%
Terminal-Bench 2.037.5%35.7%51.5%

The +5.4% jump on SWE-bench Multilingual is the headline improvement.

Ollama

Terminal window
ollama run laguna-xs-2.1:q4_k_m

llama.cpp

Terminal window
./build/bin/llama-server \
-m laguna-xs-2.1-Q4_K_M.gguf \
--jinja -fa on -ngl 6 -c 8192 --port 8000

vLLM [recipes]

Terminal window
vllm serve poolside/Laguna-XS-2.1 \
--trust-remote-code \
--max-model-len 262144 \
--enable-auto-tool-choice \
--tool-call-parser poolside_v1 \
--reasoning-parser poolside_v1

XS 2.1 is the recommended starting point for RTX 5090 (32 GB VRAM) — no CPU offloading needed with INT4 or NVFP4 quantizations (~16.5 GB), leaving plenty of headroom for the 256K context window.

Quick Start on RTX 5090

Ollama:

Terminal window
ollama run laguna-xs-2.1:int4

TensorRT-LLM (Blackwell-optimized, best performance on RTX 5090):

Terminal window
trtllm --model poolside/Laguna-XS-2.1 --precision fp4

llama.cpp:

Terminal window
./build/bin/llama-server \
-m laguna-xs-2.1-INT4.gguf \
--jinja -fa on -c 8192 --port 8000

Community Reactions

What developers like:

  • Token efficiency — XS 2.1 uses ~34% fewer tokens than comparable models, producing direct code output without filler text
  • Agentic reliability — maintains context across multi-step workflows better than peers
  • US origin — a compliance differentiator for organizations restricted from Chinese-trained models
  • Long-context handling — the 256K/262K window holds up functionally on 50K-token documents

What critics point out:

  • DFlash acceptance rates run low (~18.5–25% per NVIDIA Developer Forums), limiting speculative speedup
  • Safety edge cases — failed some tool-eval-bench tests (prompt injection TC-34, sleeper injection TC-60)
  • Benchmarks — trails Qwen 3.6 35B by ~3% on raw scores
  • Young provider — Poolside (founded 2023) has a shorter track record

Verdict: The community sees XS 2.1 as a compelling niche pick for production agent workflows, cost-sensitive workloads, and organizations needing US-origin models. Not a direct competitor to frontier models, but a solid local agentic coding choice.

Performance Expectations

On a 128GB unified-memory machine, measured single-stream decode hits around 13–18 tokens/s for the q4_k_m variant. Datacenter GPUs with higher memory bandwidth (H200) deliver correspondingly faster generation. DFlash speculative decoding boosts interactive throughput when the GPU is not compute-saturated — think of it as a turbo boost that only helps when the road isn’t already jammed.

References

  1. Introducing Laguna S 2.1 — Poolside (July 21, 2026) — https://poolside.ai/blog/introducing-laguna-s-2-1

  2. Introducing Laguna XS 2.1 — Poolside (July 2, 2026) — https://poolside.ai/blog/introducing-laguna-xs-2-1

  3. Laguna-S-2.1 — Ollama Library — https://ollama.com/library/laguna-s-2.1

  4. poolside/Laguna-S-2.1 — Hugging Face — https://huggingface.co/poolside/Laguna-S-2.1

  5. poolside/Laguna-XS-2.1 — Hugging Face — https://huggingface.co/poolside/Laguna-XS-2.1

  6. Laguna-S-2.1 — SGLang Cookbooks — https://lmsysorg.mintlify.app/cookbook/autoregressive/Poolside/Laguna-S-2.1

  7. poolside/Laguna-S-2.1-GGUF — Hugging Face — https://huggingface.co/poolside/Laguna-S-2.1-GGUF

  8. unsloth/Laguna-S-2.1-GGUF — Hugging Face — https://huggingface.co/unsloth/Laguna-S-2.1-GGUF

  9. Laguna S 2.1 — Hacker News — https://news.ycombinator.com/item?id=48995261

  10. poolside/Laguna-S-2.1-NVFP4 — Hugging Face — https://huggingface.co/poolside/Laguna-S-2.1-NVFP4

  11. OpenMDW-1.1 License — Linux Foundation — https://openmdw.ai/license/1-1/

  12. RTX 5090 Specs — NVIDIA — https://www.nvidia.com/en-us/geforce/graphics-cards/50-series/rtx-5090/

  13. RTX 5090 Specs — TechPowerUp — https://www.techpowerup.com/gpu-specs/geforce-rtx-5090.c4216

  14. NVIDIA Adopts OpenMDW — Linux Foundation Press — https://www.linuxfoundation.org/press/linux-foundation-releases-openmdw-1.1-nvidia-adopts-openmdw-for-cosmos-isaac-gr00t-ising-and-nemotron-ai-model-families-302784725.html

  15. Laguna XS 2.1 — NVIDIA NIM — https://build.nvidia.com/poolside/laguna-xs-2.1

  16. DFlash — GitHub — https://github.com/travisperson/dflash

  17. NVIDIA Developer Forums — https://forums.developer.nvidia.com

  18. Laguna S 2.1 — vLLM Recipes — https://recipes.vllm.ai/poolside/Laguna-S-2.1

  19. Laguna XS 2.1 — vLLM Recipes — https://recipes.vllm.ai/poolside/Laguna-XS-2.1

This article was written by Pi (morosystems/ThinkingCap-Qwen3.6-27B-NVFP4 | PC Eyay).