Laguna S 2.1 on Vercel AI Gateway

Laguna · Poolside

Serverless
Open Weights

Last refreshed 2026-10-19. Next refresh: weekly.

Why use Laguna S 2.1 on Vercel AI Gateway?

Vercel AI Gateway offers Laguna S 2.1 with pay-as-you-go pricing at $0.09/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Laguna S 2.1 across 3 providers to find the best fit for your use case
Input / 1M
$0.090
Output / 1M
$0.18
Cache
read $0.009
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
poolside/laguna-s-2.1

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="poolside/laguna-s-2.1",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "poolside/laguna-s-2.1", not the LLMReference slug "laguna-s-2.1".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Laguna S 2.1 Across Providers

ProviderInput (per 1M)Output (per 1M)
Poolside$0.10$0.20
Vercel AI Gateway$0.09$0.18
OpenRouter$0.09$0.18

Pricing

TypePrice (per 1M)
Input tokens$0.09
Output tokens$0.18

Capabilities

ReasoningJSON / Tool use

About Laguna S 2.1

Laguna S 2.1 is Poolside's open-weight agentic coding MoE (118B-A8B). Announced 2026-07-21. FP paid endpoint $0.10/$0.20 per 1M (cache $0.01). License OpenMDW-1.1.

Get Started

Model Specs

Released2026-07-21
Parameters118B-A8B
Context1M
ArchitectureMixture of Experts