[Laguna S 2.1 from Poolside](https://vercel.com/ai-gateway/models/laguna-s-2.1) is now available on AI Gateway. There are 2 versions of the model available:
Free version: `poolside/laguna-s-2.1-free`
Paid version for higher throughput and higher rate limits: poolside/laguna-s-2.1
Laguna S 2.1 is an open-weight Mixture-of-Experts model that supports a context window of up to 1M tokens and runs in thinking and no-thinking modes.
The model specializes in agentic coding and long-running tasks, including writing and debugging code, running tests, building browser-based tooling, and working on MLOps pipelines and AI research. In thinking mode, Poolside reports 70.2% on Terminal-Bench 2.1, 78.5% on SWE-bench Multilingual, and 59.4% on SWE-Bench Pro.
To use Laguna S 2.1, set model
to `poolside/laguna-s-2.1-free`
or `poolside/laguna-s-2.1`
in the [AI SDK](https://ai-sdk.dev/):
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.
AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.
Try Laguna S 2.1 in the model playground.