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
| Model | Type | Context | Input $/M |
|---|---|---|---|
| NVIDIA: Nemotron 3 Ultra | Text | 1M | 0.6 |
| Kimi K2.7 Code | Text | 262.1K | 0.95 |
| GLM 5.2 | Text | 1.0M | 1.40 |
| Gemma 4 31B | Text | 262.1K | 0.14 |
| GPT-OSS 120B | Text | 131K | 0.1 |