Skip to content
Dashboard

Laguna S 2.1 Free

Laguna S 2.1 Free is the free version of Laguna S 2.1 on AI Gateway, with a context window of 256K tokens. It serves the same open-weight agentic coding model as the paid version, at a smaller window. Call it with poolside/laguna-s-2.1-free. 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-free',
prompt: 'Why is the sky blue?'
})
Read docs

About Laguna S 2.1 Free

Laguna S 2.1 Free became available on AI Gateway on July 21, 2026, alongside the paid version. Both entries serve Laguna S 2.1, an open-weight Mixture-of-Experts (MoE) model that Poolside built for agentic coding and released on Hugging Face under the OpenMDW-1.1 license. The listed difference between the two is access: Laguna S 2.1 Free carries a context window of 256K tokens, and the paid version carries a 1M-token window.

That makes Laguna S 2.1 Free the version to reach for first. Point an existing agent at it, run your own tasks, and judge the output before you commit to the paid version. Laguna S 2.1 scores 70.2% on Terminal-Bench 2.1 with thinking enabled, so a short evaluation on real repository work tells you quickly whether the model suits your harness and prompts.

A context window of 256K tokens covers a lot of practical work: focused bug fixes, single-service refactors, test repair, and terminal tasks that finish in a bounded number of steps. It runs short when an agent reads broadly across a large repository or keeps a session going for hours. Watch context usage in AI Gateway reporting and treat the first truncation as the signal to switch.

AI Gateway expanded capacity for both the free and paid versions after launch, so evaluation runs and batch experiments on Laguna S 2.1 Free have more room than they did at release. Capacity describes how much traffic the endpoint accepts, not how well the model performs.

Set the model to poolside/laguna-s-2.1-free in the AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python. To try Laguna S 2.1 Free inside a coding agent, run vercel ai-gateway coding-agents setup, then select poolside/laguna-s-2.1-free in the agent's model configuration. Moving to the paid version later means changing one model string.