---
title: Poolside: Laguna XS 2.1 API | Text Generation | ModelsLab
description: Build with Poolside: Laguna XS 2.1 API by Poolside. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/poolside/poolside-laguna-xs-2.1.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/poolside/poolside-laguna-xs-2.1.md
type: product
component: Playground/LLM/Index
generated_at: 2026-07-11T20:56:05.414421Z
---

Poolside: Laguna XS 2.1
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/poolside-laguna-xs-2.1/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/poolside/poolside-laguna-xs-2.1.md)

Poolside: Laguna XS 2.1
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Poolside: Laguna XS 2.1

poolside poolside-laguna-xs-2.1

Copy model ID

PricingInput $0.06 / 1M tokens

Output $0.12 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[#### open\_router/OpenAI: GPT-4o (2024-05-13)

openai-gpt-4o-2024-05-13

From $10.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-05-13)

[#### open\_router/OpenAI: GPT-5.6 Luna

openai-gpt-5.6-luna

From $3.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.6-luna)

[#### open\_router/Qwen: Qwen3 Max

qwen-qwen3-max

From $2.34/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-max)

[#### together\_ai/OpenAI GPT-OSS 20B

openai-gpt-oss-20b

From $0.08/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/openai-gpt-oss-20b)

[#### google\_deepmind/Gemma 3N E4B Instruct

google-gemma-3n-E4B-it

From $0.09/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google_deepmind/google-gemma-3n-E4B-it)

[#### open\_router/Google: Gemini 2.5 Pro

google-gemini-2.5-pro

From $5.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro)

[#### google\_deepmind/Gemma-2 Instruct (27B)

google-gemma-2-27b-it

From $0.65/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google_deepmind/google-gemma-2-27b-it)

[#### open\_router/Mistral Large 2407

mistralai-mistral-large-2407

From $4.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-large-2407)

[#### open\_router/Qwen: Qwen3.5-9B

qwen-qwen3.5-9b

From $0.13/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.5-9b)

[#### open\_router/WizardLM-2 8x22B

microsoft-wizardlm-2-8x22b

From $0.62/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/microsoft-wizardlm-2-8x22b)

[#### open\_router/xAI: Grok Latest

x-ai-grok-latest

From $4.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-latest)

[#### open\_router/ReMM SLERP 13B

undi95-remm-slerp-l2-13b

From $0.55/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/undi95-remm-slerp-l2-13b)

[#### open\_router/Qwen: Qwen3 8B

qwen-qwen3-8b

From $0.29/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-8b)

[#### open\_router/OpenAI: GPT-5.6 Sol

openai-gpt-5.6-sol

From $17.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.6-sol)

[#### open\_router/Meta: Llama Guard 4 12B

meta-llama-llama-guard-4-12b

From $0.18/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-guard-4-12b)

[#### open\_router/Meta: Llama 4 Scout

meta-llama-llama-4-scout

From $0.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-4-scout)

[#### open\_router/MiniMax: MiniMax-01

minimax-minimax-01

From $0.65/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-01)

[#### arcee\_ai/Arcee AI Spotlight

arcee\_ai-arcee-spotlight

From $0.22/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/arcee_ai/arcee_ai-arcee-spotlight)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

About Poolside: Laguna XS 2.1
---

Laguna XS 2.1 is the latest coding agent model in the 33B-A3B category from \[Poolside\](https://poolside.ai/) and a step forward from their Laguna XS.2 model (released in April 2026). It combines...

### Technical Specifications

Model IDpoolside-laguna-xs-2.1

CategoryLLM Models

TaskText Generation

Price$0.09 per million tokens

AddedJuly 2, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Poolside: Laguna XS 2.1 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "poolside-laguna-xs-2.1",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Poolside: Laguna XS 2.1 API costs $0.090000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Poolside](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Poolside: Laguna XS 2.1 FAQ
---

### What is Poolside: Laguna XS 2.1?

Laguna XS 2.1 is the latest coding agent model in the 33B-A3B category from \[Poolside\](https://poolside.ai/) and a step forward from their Laguna XS.2 model (released in April 2026). It combines...

### How do I use the Poolside: Laguna XS 2.1 API?

You can integrate Poolside: Laguna XS 2.1 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "poolside-laguna-xs-2.1" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Poolside: Laguna XS 2.1 cost?

Poolside: Laguna XS 2.1 costs $0.090000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Poolside: Laguna XS 2.1 model ID?

The model ID for Poolside: Laguna XS 2.1 is "poolside-laguna-xs-2.1". Use this ID in your API requests to specify this model.

### Does Poolside: Laguna XS 2.1 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Poolside: Laguna XS 2.1 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-07-12*