<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tool Use Cases by Lali Publications]]></title><description><![CDATA[Tool Use Cases by Lali Publications]]></description><link>https://lalipublications.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 12:55:12 GMT</lastBuildDate><atom:link href="https://lalipublications.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[OpenCode "1.18.0 or newer is required to use the free tier": the fix, tested]]></title><description><![CDATA[Older OpenCode builds lost access to free models. Here's how to check your version and move to v2.]]></description><link>https://lalipublications.hashnode.dev/opencode-1-18-0-or-newer-is-required-to-use-the-free-tier-the-fix-tested</link><guid isPermaLink="true">https://lalipublications.hashnode.dev/opencode-1-18-0-or-newer-is-required-to-use-the-free-tier-the-fix-tested</guid><category><![CDATA[opencode]]></category><category><![CDATA[AI]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[cli]]></category><category><![CDATA[npm]]></category><dc:creator><![CDATA[Lali Publications]]></dc:creator><pubDate>Sun, 01 Nov 2026 05:42:28 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6ae67deca39e37bba6055826/bc8610ef-0852-48b0-a05e-ef23a0da32d7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As of Oct 31, 2026, OpenCode's free models need OpenCode 1.18 or newer. If an older build shows this error:</p>
<pre><code>Error: OpenCode 1.18.0 or newer is required to use the free tier
</code></pre>
<p>you're on a pre-1.18 v1 build. We reproduced it on a clean npm setup and fixed it on screen:</p>
<p><a class="embed-card" href="https://youtu.be/C8hHTSLNcYs">https://youtu.be/C8hHTSLNcYs</a></p>

<h2>What we tested (Oct 31, 2026, npm on Linux, free model <code>opencode/glm-5.3-flash-free</code>)</h2>
<ul>
<li><strong>OpenCode 1.17.20:</strong> failed with the error above (exit code 1)</li>
<li><strong>OpenCode 1.18.0 and 1.19.5:</strong> still answered on the free tier in our test</li>
<li><strong>OpenCode v2 (2.2.5):</strong> answered "PONG", exit code 0</li>
</ul>
<p>OpenCode's maintainers say v1 "no longer supports free models and only gets fixes for critical bugs", so moving to v2 is the safe fix even if you're on 1.18 or later.</p>
<h2>The fix (npm, as tested)</h2>
<pre><code>opencode --version            # check what you have
npm uninstall -g opencode-ai  # remove v1 (v1 and v2 both use the "opencode" command)
npm i -g @opencode/cli        # install v2
opencode --version            # should show v2
opencode run -m opencode/glm-5.3-flash-free "Reply with just the word PONG"
</code></pre>
<p>Other install methods (curl script, bun, Homebrew, the v2 Desktop app) are listed by OpenCode; we didn't reproduce those. OpenCode says the v1 Desktop app's updater keeps you on 1.x, so download v2 manually from the <a href="https://opencode.ai/v2/docs/">OpenCode v2 docs</a>. Using plugins or custom clients? Read <a href="https://opencode.ai/v2/docs/migrate-v1/">Migrate from V1</a> first.</p>
<h2>Sources</h2>
<ul>
<li><a href="https://github.com/anomalyco/opencode/issues/59387">OpenCode issue #59387 (pinned): Free tier issues</a></li>
<li><a href="https://opencode.ai/v2/docs/console/models/#free-models">OpenCode v2 free models</a></li>
<li><a href="https://github.com/anomalyco/opencode/releases/tag/v2.2.5">OpenCode v2.2.5 release</a></li>
</ul>
<p>Comparing AI coding agents? See our <a href="https://tools.lalipublications.com/use-cases/best-ai-coding-agents/?utm_source=hashnode&amp;utm_campaign=wbtw-ep1">best AI coding agents picks</a>.</p>
<p><em>As of Oct 31, 2026. Picks are editorial and unpaid. This is Episode 1 of What Broke This Week by Lali Publications: one real AI coding tool break, reproduced and fixed, every Friday.</em></p>
]]></content:encoded></item></channel></rss>