API · Models
Text

Laguna S 2.1

Laguna S 2.1 is Poolside's new open-weight model for agentic coding and long-horizon work.

ReasoningTools
Context 1M·Max out 131.1K

Quickstart

import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';

const blackbox = createOpenAICompatible({
  name: 'blackbox',
  apiKey: process.env.BLACKBOX_API_KEY!,
  baseURL: 'https://api.blackbox.ai/v1',
});

const result = streamText({
  model: blackbox('blackboxai/poolside/laguna-s-2.1'),
  prompt: 'Why is the sky blue?',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Specs & pricing

Input $/M
0.1
Output $/M
0.2
Context window
1M
Max output
131.1K
Supported parameters

Related models

ModelTypeContextInput $/M
NVIDIA: Nemotron 3 UltraText1M0.6
Kimi K2.7 CodeText262.1K0.95
GLM 5.2Text1.0M1.40
Gemma 4 31BText262.1K0.14
GPT-OSS 120BText131K0.1