Poolside: Laguna M.1 (free)
Laguna M.1 is the flagship coding agent model from [Poolside](https://poolside.ai), optimized for complex software engineering tasks. Designed for agentic coding workflows, it supports tool calling and reasoning, with a 128K...
Anyone in the Space can @-mention Poolside: Laguna M.1 (free) with the team's shared context - pooled credits, one chat, one memory.
Starter is free forever - 1 Space, 100 credits/month, 1 MCP. No card.
Verdict
Best for
- Zero-cost codebase exploration
- Large repository context analysis
- Budget-constrained prototyping workflows
- Learning prompts for code tasks
Strengths
The 262K context window handles entire modules or multi-file codebases in a single prompt, rare at the free tier. Zero pricing removes friction for experimentation and high-volume use cases where cost would otherwise block adoption. Poolside's focus on code-specific training likely gives it domain advantages over general-purpose free models on syntax and API completion tasks.
Trade-offs
No public benchmarks means you're flying blind on accuracy relative to Claude, GPT-4o, or Gemini Pro on complex refactoring or architecture questions. Free tier often correlates with older model generations or reduced capacity, so expect slower responses or lower reasoning depth than paid code models. Proprietary license limits transparency into training data and fine-tuning approach.
Specifications
- Provider
- poolside
- Category
- llm
- Context length
- 262,144 tokens
- Max output
- 32,768 tokens
- Modalities
- text
- License
- proprietary
- Released
- 2026-04-28
Pricing
- Input
- $0.00/Mtok
- Output
- $0.00/Mtok
- Model ID
poolside/laguna-m.1:free
Per-token prices show what the model costs upstream. On Switchy your team draws from one shared org credit pool - one plan, one balance for everyone.
Team cost calculator
5 seats · 80 msgs/day
Switchy meters this against your org's shared credit pool - one plan, one balance for everyone.
Providers
| Provider | Context | Input | Output | P50 latency | Throughput | 30d uptime |
|---|---|---|---|---|---|---|
| poolside | 262k | $0.00/Mtok | $0.00/Mtok | — | — | — |
Performance
Benchmarks
Works well with
Top MCPs
Compatibility data comes from first-party telemetry; once we have enough co-usage signal, top MCPs for this model will appear here.
How Switchy teams use it
Starter prompts
Explain Codebase Structure
I'm pasting the contents of five Python modules below. Explain how they interact, identify the main entry points, and describe the data flow between components.Open in a Space →
Refactor Legacy Function
Here's a 200-line function with nested loops and global state. Refactor it into smaller functions with clear responsibilities, keeping the same output.Open in a Space →
Generate Unit Tests
Write pytest unit tests for this class, covering happy path, edge cases, and error handling. Use fixtures for setup.Open in a Space →
Document API Endpoints
Generate OpenAPI 3.0 spec for these Flask routes, including request/response schemas, status codes, and example payloads.Open in a Space →
Trace Bug Across Files
I'm seeing a null reference error in production. Here are four related files. Trace where the variable is initialized and where it might become null.Open in a Space →
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
Refactor this Python function to use list comprehension instead of the for loop, and add type hints: def filter_evens(numbers): result = []; for n in numbers: if n % 2 == 0: result.append(n); return result
Here's the refactored version: ```python def filter_evens(numbers: list[int]) -> list[int]: return [n for n in numbers if n % 2 == 0] ``` This uses a list comprehension to filter even numbers in a single expression. The type hints indicate that the function accepts a list of integers and returns a list of integers. This approach is more Pythonic and typically faster than building the list with append() calls.
This example would demonstrate Laguna M.1's ability to handle common refactoring tasks with clean, idiomatic code suggestions. The 131k token context window supports pasting entire modules for analysis. As a free tier model, response quality on complex architectural refactors may vary compared to paid alternatives.
Review this React component for potential bugs or anti-patterns: function UserProfile({userId}) { const [user, setUser] = useState(); useEffect(() => { fetch(`/api/users/${userId}`).then(r => r.json()).then(setUser); }, []); return <div>{user.name}</div>; }
I found several issues: 1. **Missing dependency**: The useEffect dependency array is empty but references `userId`. This means the effect won't re-run when userId changes. Add `[userId]` as the dependency. 2. **No error handling**: The fetch chain has no `.catch()`, so network errors will fail silently. 3. **Race condition**: If userId changes rapidly, responses may arrive out of order. Consider using AbortController or checking if the component is still mounted. 4. **Undefined access**: `user.name` will throw an error before data loads. Add optional chaining: `user?.name`.
This showcases the model's code review capabilities across multiple concern areas — React hooks, async patterns, and runtime safety. The free pricing makes it accessible for continuous integration checks. Without benchmark data, consistency on framework-specific idioms across different libraries remains unverified.
Explain what this SQL query does and suggest an optimization: SELECT * FROM orders o JOIN customers c ON o.customer_id = c.id WHERE o.created_at > '2024-01-01' AND c.country = 'US' ORDER BY o.total DESC;
This query retrieves all columns from orders placed after January 1, 2024, by US-based customers, sorted by order total (highest first). It joins the orders and customers tables on customer_id. **Optimization**: Replace `SELECT *` with explicit columns you actually need — this reduces data transfer and memory usage. Add a composite index on `(country, id)` in the customers table and `(customer_id, created_at)` in orders to speed up the join and WHERE filtering. If you only need the top N results, add a LIMIT clause to avoid sorting the entire result set.
This demonstrates SQL comprehension and practical optimization advice grounded in database fundamentals. The large context window allows pasting complex schema definitions alongside queries. As a free model, performance on dialect-specific features (PostgreSQL vs MySQL) or advanced query planning may be less refined than specialized database assistants.
Use-case deep-dives
When free 131K context beats paid models for early-stage dev
A 4-person startup building a developer tool needs to generate boilerplate adapters for 20+ API integrations. They're pre-revenue and burning through OpenAI credits on exploratory prompts that fail 40% of the time. Laguna M.1 gives them 131,072 tokens of context at $0.00/Mtok—enough to paste entire API docs and generate scaffolding without cost anxiety. The lack of public benchmarks means you're flying blind on quality, so this works when you can afford to manually review every output and your alternative is rationing paid calls. If your prototype graduates to production or you need reliability over 80%, switch to a benchmarked model. For throwaway experiments where context size matters more than accuracy, this is the call.
Free 131K context for learning teams with zero budget
A university capstone team of 6 students is building a full-stack app over 12 weeks with no funding. They need help debugging React components, writing SQL migrations, and understanding legacy codebases from prior semesters. Laguna M.1's free tier and 131K context window let them paste entire files and ask questions without hitting rate limits or burning through trial credits. The absence of benchmarks is a red flag for production use, but students can validate outputs against course materials and Stack Overflow. This works until week 10 when deployment bugs need faster, more reliable answers—then they should beg their professor for AWS credits and switch to a benchmarked model. For learning where mistakes are cheap and context is king, this is the move.
When zero-cost context beats accuracy for low-stakes summaries
A 10-person ops team inherits 80 Confluence pages of undocumented runbooks and needs to extract action items before a compliance audit. They're not writing code or making customer-facing decisions—they just need rough summaries to prioritize cleanup work. Laguna M.1's 131K context lets them dump entire wiki exports and get structured outputs at $0.00/Mtok, which matters when the alternative is manual reading or a $200 monthly AI budget they don't have. No benchmarks means you can't trust nuance, so this fails if the summaries feed into legal review or incident response. If more than 20% of outputs need human correction, switch to a model with MMLU scores above 70. For internal triage where free context outweighs precision, this works.
Frequently asked
Is Poolside Laguna M.1 good for coding tasks?
Laguna M.1 is designed for code generation and understanding, making it suitable for basic coding tasks. However, without public benchmark data, it's hard to assess how it compares to established models like GPT-4 or Claude for complex refactoring or debugging. The 131K token context window handles medium-sized codebases reasonably well. Best used for prototyping or learning rather than production-critical code.
Why is Poolside Laguna M.1 completely free to use?
Poolside offers Laguna M.1 at $0 per million tokens as a developer acquisition strategy. Free models typically trade performance for accessibility — expect slower responses, potential rate limits, and less sophisticated reasoning than paid alternatives. It's ideal for experimentation, student projects, or low-stakes automation where cost matters more than cutting-edge capability.
Can Laguna M.1 handle large codebases with its 131K context?
The 131K token window translates to roughly 100,000 words or 15,000-20,000 lines of code. That's enough for most single-file analysis or small multi-file projects. For entire repositories, you'll need chunking strategies or a model with 200K+ context like Claude Opus. The context limit becomes the bottleneck faster than you'd expect with verbose frameworks.
How does Laguna M.1 compare to GPT-4o-mini for free coding?
GPT-4o-mini costs $0.15/$0.60 per Mtok but delivers OpenAI's proven reasoning and broader training. Laguna M.1's zero cost makes it attractive for high-volume tasks where accuracy isn't critical. Without benchmarks, assume Laguna trails in complex logic and edge-case handling. Use Laguna for boilerplate generation; switch to GPT-4o-mini when correctness matters.
Should I use Laguna M.1 for production code generation?
No. Free models without published benchmarks carry unknown reliability risks. Use Laguna M.1 for internal tooling, documentation drafts, or test data generation where mistakes are cheap. For production — especially customer-facing features or security-sensitive code — pay for a benchmarked model with SLAs. The cost difference is negligible compared to debugging mysterious failures.