anomalyco / anomalyco/opencode
[FEATURE]: Restore 1M context window for Laguna S 2.1 free (currently capped at 256K)
@MrMushrooooom is already working on this.
Since Aug 6, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Laguna S 2.1 is advertised as having a 1M context window on OpenCode, but the actual free-tier context limit is only 256K. This severely limits the model's utility for long-context agentic coding tasks, which is the primary reason users choose this model.
Evidence of the discrepancy
What was advertised
- Poolside's official blog post (Jul 21, 2026) states Laguna S 2.1 has a 1M context window and is available on OpenCode
- OpenCode's official tweet (Jul 21, 2026) announced: "Laguna S 2.1 is now free on OpenCode. 1M Context · fully open source"
- explainx.ai coverage states: "OpenCode added support the same day, making Laguna S 2.1 free to use with the full 1M token context window"
What users actually get
- modelcompare.dev lists
opencode/laguna-s-2-1-freewith 256K context window - Multiple users in OpenCode/OpenWork confirm the context window shows as 256K, not 1M
- Poolside's own blog fine print reveals: "On OpenRouter, the free endpoint offers 256K context. A dedicated paid endpoint provides the full 1M context window."
Impact
Users specifically choose Laguna S 2.1 for:
- Whole-repository reasoning (requires 1M context)
- Long-horizon agentic tasks with extensive tool output
- Multi-file refactors across large codebases
At 256K, the model loses its primary competitive advantage over smaller models like Laguna XS 2.1 (33B, also 256K).
Precedent
This is the same issue as #27929 (DeepSeek V4 Flash free context reduced from 1M to 200K), which was resolved by restoring the 1M context window.
Request
Please restore the full 1M context window for opencode/laguna-s-2-1-free as originally advertised, or clarify publicly that the free tier is limited to 256K (and update models.dev metadata accordingly).
Environment
- Provider: OpenCode Zen
- Model: opencode/laguna-s-2.1-free
- Reported context: 256K (expected: 1M)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.