Text model API
Laguna XS 2.1 API
poolside/laguna-xs-2.1 (free) is Poolside's latest lightweight agentic coding model, designed to deliver fast, efficient, and high-quality software engineering assistance. Built on a 33B-parameter Mixture-of-Experts (MoE) architecture with 3B active parameters per token, it is optimized for long-horizon coding tasks, tool use, and autonomous development workflows while remaining compact enough for local deployment. The 2.1 release improves coding accuracy, reasoning, and agent performance over previous XS versions, while remaining available through free endpoints. Designed for developers, AI
- Model id
laguna-xs-21- Takes
- Text (required)
- Makes
- Text
- Endpoint
POST /api/v1/chat/completions- Made by
- Poolside
- Mode
- Synchronous
Call Laguna XS 2.1
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model laguna-xs-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-xs-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 XS 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.