Text model API
Laguna S 2.1 API
poolside/laguna-s-2.1:free is Poolside's latest open-weight coding and reasoning model, built specifically for agentic software engineering and long-horizon development tasks. Featuring a 118B-parameter Mixture-of-Experts (MoE) architecture with 8B active parameters per token and a massive 1 million-token context window, Laguna S 2.1 delivers frontier-level coding performance while remaining efficient to serve. It is designed to power AI coding assistants, developer agents, repository understanding, and complex programming workflows. Released under the OpenMDW-1.1 license, Laguna S 2.1 suppor
- Model id
laguna-s-21- Takes
- Text (required)
- Makes
- Text
- Endpoint
POST /api/v1/chat/completions- Made by
- Poolside
- Mode
- Synchronous
Call Laguna S 2.1
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model laguna-s-21
POST /api/v1/chat/completions
curl https://payload.rentprompts.com/api/v1/chat/completions \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "laguna-s-21",
"messages": [
{
"role": "user",
"content": "Write a haiku about APIs."
}
],
"max_tokens": 256
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1 request0.01 Joules
- 10 requests0.1 Joules
Send requests to POST /api/v1/chat/completions. Laguna S 2.1 answers synchronously: the result comes back in the response to the same request.
Settings
This model has no extra settings. Send the standard fields shown in the example.