Poolside API
Access Poolside instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain AI like I'm five!", {
model: "poolside/laguna-m.1:free"
}).then(response => {
console.log(response);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain AI like I'm five!", {
model: "poolside/laguna-m.1:free"
}).then(response => {
console.log(response);
});
</script>
</body>
</html>
List of Poolside Models
Laguna M.1
poolside/laguna-m.1:free
Laguna M.1 is Poolside's flagship agentic coding model, built for complex, long-horizon software engineering tasks. It's a 225B-parameter Mixture-of-Experts model with 23B activated parameters, offering a 128K context window and support for tool calling and reasoning. On SWE-bench Verified it scores 72.5%, and it reaches 46.9% on the harder SWE-bench Pro. These results place it in the same tier as far larger models like Qwen3.5 and DeepSeek V4-Flash while using a fraction of the active compute. Laguna M.1 is purpose-built for agentic workflows — writing code, running tests, inspecting failures, and iterating across files. If you need a model that can plan and execute multi-step engineering tasks end to end, this is Poolside's strongest option.
ChatLaguna XS.2
poolside/laguna-xs.2:free
Laguna XS.2 is Poolside's compact, open-weight agentic coding model — a 33B-parameter Mixture-of-Experts architecture with only 3B activated parameters, released under the Apache 2.0 license. Despite its small footprint, it performs remarkably close to its larger sibling: 68.2% on SWE-bench Verified and 44.5% on SWE-bench Pro, nearly matching models many times its size. It supports the same agentic coding workflows as Laguna M.1, including tool use and multi-step reasoning. XS.2 is a second-generation model that incorporates lessons from M.1's training pipeline. It's a strong fit for developers who want a capable coding agent with low inference cost, or who need the flexibility of open weights for custom deployments.
Frequently Asked Questions
The Poolside API gives you access to models for AI chat. Through Puter.js, you can start using Poolside models instantly with zero setup or configuration.
Puter.js supports a variety of Poolside models, including Laguna M.1 and Laguna XS.2. Find all AI models supported by Puter.js in the AI model list.
With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.
Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.
Yes — the Poolside API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.