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.
import { streamText } from 'ai'
const result = streamText({ model: 'poolside/laguna-s-2.1-free', prompt: 'Why is the sky blue?'})Frequently Asked Questions
What is the difference between Laguna S 2.1 Free and the paid version?
The context window. Laguna S 2.1 Free supports 256K tokens, and
laguna-s-2.1supports 1M tokens. Both entries serve the same Laguna S 2.1 model.Is Laguna S 2.1 Free a smaller or distilled model?
No. Laguna S 2.1 Free serves the same Mixture-of-Experts (MoE) model Poolside released for agentic coding, at a smaller context window. Quality within that window matches the paid version.
When should I switch to the paid version?
Switch when agent sessions run out of context. Long terminal runs, whole-repository reads, and multi-hour agent loops accumulate more than 256K tokens. Everything else fits here.
How much traffic can Laguna S 2.1 Free handle?
AI Gateway expanded capacity for both the free and paid versions after launch, which raised how many requests each endpoint accepts. Current limits and live usage appear in your AI Gateway dashboard.
How do I call Laguna S 2.1 Free through AI Gateway?
Set the model to
poolside/laguna-s-2.1-freein the AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python. Switching to the paid version later means changing that one string.Can I use Laguna S 2.1 Free in a coding agent?
Yes. Run
vercel ai-gateway coding-agents setupto connect your agents to AI Gateway, then selectpoolside/laguna-s-2.1-freein the agent's model configuration. See the coding agents guide at https://vercel.com/docs/ai-gateway/coding-agents.Does Laguna S 2.1 Free run in thinking mode?
Yes. Laguna S 2.1 runs in thinking and no-thinking modes, and thinking is enabled by default. Thinking raises its Terminal-Bench 2.1 score from 60.4% to 70.2%.
Does AI Gateway support Zero Data Retention for Laguna S 2.1 Free?
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 Free 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.