Skip to content
Dashboard

Laguna S 2.1

Laguna S 2.1 is an open-weight Mixture-of-Experts model built for agentic coding and long-running tasks. It runs in thinking and no-thinking modes with a context window of 1M tokens. Call Laguna S 2.1 on AI Gateway with poolside/laguna-s-2.1. Your use is subject to Poolside's Terms & Privacy Policies.

ReasoningTool Use
import { streamText } from 'ai'
const result = streamText({
model: 'poolside/laguna-s-2.1',
prompt: 'Why is the sky blue?'
})
Read docs

Frequently Asked Questions

  • What is Laguna S 2.1 built for?

    Agentic coding and long-running tasks. That includes writing and debugging code, running tests, building browser-based tooling, and working on machine learning operations (MLOps) pipelines and AI research.

  • How does Laguna S 2.1 differ from the free version?

    The context window. Laguna S 2.1 supports 1M tokens, while laguna-s-2.1-free supports a smaller window. Both versions serve the same model, so capability is the same within the window each one allows.

  • How does thinking mode affect Laguna S 2.1?

    Thinking raises scores on hard agentic tasks. With thinking enabled, Laguna S 2.1 scores 70.2% on Terminal-Bench 2.1 against 60.4% without it, and 40.4% on DeepSWE v1.1 against 16.5%. Thinking is enabled by default, and the model sets its own budget per problem.

  • How did Laguna S 2.1 score on coding benchmarks?

    70.2% on Terminal-Bench 2.1, 78.5% on SWE-Bench Multilingual, and 59.4% on SWE-Bench Pro (public dataset), all in thinking mode. On broader agentic evaluations, Laguna S 2.1 scores 40.4% on DeepSWE v1.1, 46.2% on SWE Atlas codebase question answering, and 49.7% on Toolathlon Verified.

  • How do I call Laguna S 2.1 through AI Gateway?

    Set the model to poolside/laguna-s-2.1 in the AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python. AI Gateway handles authentication, retries, and failover across poolside.

  • Can I run Laguna S 2.1 in a coding agent?

    Yes. Run vercel ai-gateway coding-agents setup to connect your agents to AI Gateway, then select poolside/laguna-s-2.1 in the agent's model configuration. See the coding agents guide at https://vercel.com/docs/ai-gateway/coding-agents.

  • What are the known limitations of Laguna S 2.1?

    Poolside listed three. Laguna S 2.1 can follow a remembered tool interface instead of the one a third-party harness defines, which typically resolves after a rejected call and a retry. Tool arguments expecting a JSON array can come back with invalid escaping. Laguna S 2.1 can also think for long stretches on competition mathematics before making progress.

  • Are the weights for Laguna S 2.1 open?

    Yes. Poolside published them on Hugging Face under the OpenMDW-1.1 license, which permits commercial and non-commercial use and modification. Quantized variants ship alongside the original weights.

  • Does AI Gateway support Zero Data Retention for Laguna S 2.1?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

  • What does Laguna S 2.1 cost?

    Current rates appear in the pricing panel on this page. AI Gateway mirrors provider pricing with no markup and adds no platform fee on inference, including on Bring Your Own Key requests.