Views
No views yet
| Model | Size (total params.) | SWE-bench Verified | SWE-bench Multilingual | SWE-bench Pro (Public Dataset) | Terminal-Bench 2.0 |
|---|---|---|---|---|---|
| Laguna XS.2 (BF16) | 33B | 69.9% | 57.7% | 46.3% | 35.7% |
| Devstral Small 2 | 24B dense | 68.0% | 55.7% | - | 22.5% |
| Gemma 4 31B IT | 31B dense | 52.0% | 51.7% | 35.7% | 42.9% |
| Qwen3.5-35B-A3B | 35B | 69.2% | 60.3% | 44.6% | 40.5% |
| Qwen3.6-35B-A3B | 35B | 73.4% | 67.2% | 49.5% | 51.5% |
| Claude Haiku 4.5 | - | 73.3% | - | 39.5% | 29.8% |
| GPT-5.4 Nano | - | - | - | 52.4% | 46.3% |
[!NOTE] For complete usage instructions, see the main Laguna XS.2 model card.
quantization_config in this checkpoint, so the same command works with poolside/Laguna-XS.2-INT4 substituted for the model ID. No extra flags required.[!IMPORTANT] INT4 support landed in vLLM with vllm-project/vllm#47154. This checkpoint mixes INT4 and group-quantized INT8 experts, which earlier builds rejected in the Marlin WNA16 MoE path. Use a vLLM build that includes this fix.
[!NOTE] The FP8-quantized KV cache requires vLLM >= 0.22.0. Earlier versions produce scrambled output on non-Hopper GPUs because of a per-layer attention-head count bug, fixed in vllm#42650. On older vLLM, disable the FP8 KV cache by adding--kv-cache-dtype-skip-layers $(seq 0 39).
poolside/Laguna-XS.2-INT4 for the model ID; quantization is detected automatically from quantization_config.reasoning content from prior assistant messages is preserved in the message history. This model will generally reason before calling tools and between tool calls.1import json
2from openai import OpenAI
3
4client = OpenAI(
5 base_url="https://inference.poolside.ai/v1",
6 api_key="...",
7)
8
9model = "poolside/laguna-xs.2"
10
11tools = [{"type": "function", "function": {
12 "name": "shell",
13 "description": "Execute a bash command and return the output.",
14 "parameters": {"type": "object", "properties": {"cmd": {"type": "string"}}, "required": ["cmd"]},
15}}]
16
17messages = [
18 {"role": "system", "content": "You are a coding agent with access to a shell tool."},
19 {"role": "user", "content": "Run uname -a"},
20]
21
22# Thinking is enabled by default when the server sets --default-chat-template-kwargs {"enable_thinking": True}
23# When using the Poolside API (https://inference.poolside.ai/v1), this flag is set by default
24response = client.chat.completions.create(
25 model=model,
26 messages=messages,
27 tools=tools,
28 stream=True,
29)
30
31reasoning, content, tool_calls = "", "", []
32for chunk in response:
33 delta = chunk.choices[0].delta
34 if hasattr(delta, "reasoning_content") and delta.reasoning_content:
35 reasoning += delta.reasoning_content
36 if hasattr(delta, "content") and delta.content:
37 content += delta.content
38 if hasattr(delta, "tool_calls") and delta.tool_calls:
39 for tc in delta.tool_calls:
40 if tc.index >= len(tool_calls):
41 tool_calls.append({"id": tc.id, "function": {"name": "", "arguments": ""}})
42 if tc.function.name:
43 tool_calls[tc.index]["function"]["name"] = tc.function.name
44 if tc.function.arguments:
45 tool_calls[tc.index]["function"]["arguments"] += tc.function.arguments
46
47print(f"Reasoning: {reasoning}\nContent: {content}\nTool calls: {tool_calls}\n")
48
49# Return reasoning in the next request for best performance
50messages.append({
51 "role": "assistant",
52 "content": content,
53 "reasoning_content": reasoning,
54 "tool_calls": [{"id": tc["id"], "type": "function", "function": tc["function"]} for tc in tool_calls]
55})
56
57messages.append({
58 "role": "tool",
59 "tool_call_id": tool_calls[0]["id"],
60 "content": json.dumps({"stdout": "Darwin arm64", "exit_code": "0"})
61})
62
63response = client.chat.completions.create(
64 model=model,
65 messages=messages,
66 tools=tools,
67 stream=True,
68)
69
70reasoning, content = "", ""
71for chunk in response:
72 delta = chunk.choices[0].delta
73 if hasattr(delta, "reasoning_content") and delta.reasoning_content:
74 reasoning += delta.reasoning_content
75 if hasattr(delta, "content") and delta.content:
76 content += delta.content
77
78print(f"Reasoning: {reasoning}\nContent: {content}")enable_thinking to False in a request or by not providing --default-chat-template-kwargs {"enable_thinking": True} or equivalent when starting the server.1from openai import OpenAI
2client = OpenAI()
3
4completion = client.chat.completions.create(
5 model="poolside/laguna-xs.2",
6 messages=[
7 {"role": "user", "content": "Write a retry wrapper with exponential backoff."}
8 ],
9 extra_body={
10 "chat_template_kwargs": { "enable_thinking": False },
11 },
12 stream=True
13)
14
15for chunk in completion:
16 print(chunk.choices[0].delta)