<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><script src="https://www.rss.style/js/atom-style.js" xmlns="http://www.w3.org/1999/xhtml"/><title>Tower of Kubes</title><link rel="self" type="application/atom+xml" hreflang="en" href="https://www.towerofkubes.com/tags/cli/feed.xml"/><link rel="alternate" type="application/atom+xml" hreflang="he" href="https://www.towerofkubes.com/he/tags/cli/feed.xml"/><link rel="alternate" type="application/atom+xml" hreflang="x-default" href="https://www.towerofkubes.com/tags/cli/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://www.towerofkubes.com/tags/cli/"/><link rel="alternate" type="application/rss+xml" hreflang="en" href="https://www.towerofkubes.com/tags/cli/index.xml"/><id>/</id><updated>2026-05-05T00:00:00Z</updated><author><name>Ro'i Bandel</name></author><generator>Hugo 0.157.0</generator><entry><title>OpenCode: The Agentic Tool That Anthropic and Google Don't Want You To Use</title><link rel="alternate" type="text/html" hreflang="en" href="https://www.towerofkubes.com/articles/opencode/"/><id>https://www.towerofkubes.com/articles/opencode/</id><updated>2026-05-05T00:00:00Z</updated><summary type="html">OpenCode is the open-source agentic CLI tool that both Anthropic and Google moved to block from their subscription APIs. Here’s a hands-on look at what makes it genuinely different, and whether it’s worth switching from Claude Code.</summary><content type="html"><![CDATA[<p>For the past four months, <a href="https://opencode.ai"  target="_blank" rel="noreferrer">OpenCode</a> has been my primary agent tool. A piece of AI industry drama is what brought it to my attention.</p>
<figure><img
    class="my-0 rounded-md"
    loading="lazy"
    decoding="async"
    fetchpriority="auto"
    alt="OpenCode logo with tagline: “The open source AI coding agent”"
    width="1280"
    height="721"
    src="/articles/opencode/opencode-logo-with-tagline_hu_897512d6efaab35c.webp"
    srcset="/articles/opencode/opencode-logo-with-tagline_hu_897512d6efaab35c.webp 800w, /articles/opencode/opencode-logo-with-tagline.webp 1280w"
    sizes="(min-width: 768px) 50vw, 65vw"
    data-zoom-src="/articles/opencode/opencode-logo-with-tagline.webp"></figure>

<h2 class="relative group">Background
    <div id="background" class="anchor"></div>
    
</h2>
<p>In January 2026, I started seeing drama online: <a href="https://github.com/anomalyco/opencode/issues/7410"  target="_blank" rel="noreferrer">Anthropic blocks third-party use of Claude subscriptions</a>. The most surprising part to me wasn’t that Anthropic decided to block this type of usage, that’s unfortunate but expected. What surprised me was that I hadn’t known this was even possible in the first place.</p>
<p>I had briefly read about OpenCode and Crush during my <a href="/articles/agentic-cli-tools-comparison/" >Agentic CLI Tools Comparison</a>, but hadn’t used them due to their <a href="/articles/agentic-cli-tools-comparison/#byo-bring-your-own-api-keys" >BYO (Bring Your Own) API key requirement</a>, which in most cases is significantly more expensive than subscription tiers. As it turns out, people had found ways to use those subscriptions anyway. OpenCode had implemented an OAuth flow that spoofed Claude Code’s HTTP headers to authenticate against Anthropic’s API with a Claude Pro or Max subscription. This gave OpenCode users access to Claude models at subscription pricing, a significant cost advantage.</p>

<h3 class="relative group">The Crackdown
    <div id="the-crackdown" class="anchor"></div>
    
</h3>
<p>Anthropic’s response came in several phases. Active enforcement began on January 9, 2026, when Anthropic deployed server-side protections blocking all unofficial OAuth access. On February 19, Anthropic updated its legal compliance page to make the OAuth restriction explicit: OAuth tokens obtained from Claude subscription accounts are only permitted for use with official Claude tools.</p>
<p>Legal requests followed, and in mid-March OpenCode’s maintainers <a href="https://github.com/anomalyco/opencode/pull/18186"  target="_blank" rel="noreferrer">merged a PR</a> removing the Anthropic OAuth plugin from the project. By early April, Anthropic extended restrictions to OpenClaw and other third-party harnesses. Google ran the same playbook with Gemini around the same period, banning third-party OAuth access and issuing account-level suspensions.</p>

<h3 class="relative group">The Community Reaction
    <div id="the-community-reaction" class="anchor"></div>
    
</h3>
<p>The <a href="https://news.ycombinator.com/item?id=46549823"  target="_blank" rel="noreferrer">Hacker News thread</a> filled with genuine disappointment. Many users felt OpenCode was a significantly better tool than Claude Code. The main advantages cited were its open-source <a href="https://github.com/anomalyco/opencode#MIT-1-ov-file"  target="_blank" rel="noreferrer">MIT license</a>, an optional web UI and client/server architecture, and the absence of flickering, a complaint about Claude Code that hasn’t gone away. OpenCode had also grown remarkably fast, reaching over 150,000 GitHub stars.</p>
<p>OpenAI and GitHub went the other direction. Tibo, OpenAI’s Codex lead, <a href="https://x.com/thsottiaux/status/2009742187484065881"  target="_blank" rel="noreferrer">announced on X</a> that Codex subscribers could use their subscription directly within OpenCode, and GitHub formally <a href="https://github.blog/changelog/2026-01-16-github-copilot-now-supports-opencode/"  target="_blank" rel="noreferrer">announced support for OpenCode</a> across all GitHub Copilot subscriptions. That’s what originally got me to give OpenCode a real try, paired with GitHub Copilot and ChatGPT subscriptions, and I’ve been using it regularly since.</p>

<h2 class="relative group">My Impressions of OpenCode
    <div id="my-impressions-of-opencode" class="anchor"></div>
    
</h2>
<p>OpenCode immediately seemed appealing when I started using it. Until that point, Claude Code had remained my preferred agentic CLI tool. In the months since I wrote <a href="/articles/agentic-cli-tools-comparison/" >Agentic CLI Tools Comparison</a>, I had continued experimenting with different CLI tools and models, notably <a href="/articles/claude-sonnet-4.5-and-claude-code-2.0/" >Claude Code 2.0</a>, Codex CLI, Gemini CLI, and GitHub Copilot CLI. Claude Code consistently remained the best tool in my opinion, both in terms of UI design and features, and in terms of Anthropic’s models feeling the strongest at coding and agentic tool usage based on my experience. The other tools felt like UI imitations of Claude Code running different models, with no meaningful improvements. OpenCode is genuinely different, though. It runs on a client/server model with an HTTP API, supports 75+ AI providers including local models, and has native multi-session support.</p>
<p>When opening OpenCode in a terminal, it feels familiar but different. The starting screen looks a lot like a classic search engine, with the prompt box centered on the screen, rather than being off to the bottom like in most other agentic CLI tools.</p>
<figure><img
    class="my-0 rounded-md"
    loading="lazy"
    decoding="async"
    fetchpriority="auto"
    alt="OpenCode welcome screen"
    width="1280"
    height="640"
    src="/articles/opencode/opencode-welcome-screen_hu_74a83788b244a153.webp"
    srcset="/articles/opencode/opencode-welcome-screen_hu_74a83788b244a153.webp 800w, /articles/opencode/opencode-welcome-screen.webp 1280w"
    sizes="(min-width: 768px) 50vw, 65vw"
    data-zoom-src="/articles/opencode/opencode-welcome-screen.webp"></figure>
<p>However, once you enter an initial prompt, the prompt box moves to the bottom of the terminal, making for a more familiar look. In my opinion, OpenCode strikes a good balance: it will feel familiar to users who have used Claude Code (and similar tools) before, but at the same time it does not feel like a clone of other tools. OpenCode does a lot of unique things that other tools don’t do. For example, OpenCode has a useful sidebar that displays information about active MCPs, LSPs (language servers) and token usage for the current session.</p>
<figure><img
    class="my-0 rounded-md"
    loading="lazy"
    decoding="async"
    fetchpriority="auto"
    alt="OpenCode sidebar showing MCP connections, LSP status, and token usage"
    width="1920"
    height="900"
    src="/articles/opencode/opencode-sidebar_hu_c305c873a185037.webp"
    srcset="/articles/opencode/opencode-sidebar_hu_c305c873a185037.webp 800w, /articles/opencode/opencode-sidebar_hu_116abb3292d419d0.webp 1280w"
    sizes="(min-width: 768px) 50vw, 65vw"
    data-zoom-src="/articles/opencode/opencode-sidebar.webp"></figure>
<p>The look of OpenCode becomes even more unique when using its <a href="https://opencode.ai/docs/web/"  target="_blank" rel="noreferrer">web UI</a> or the OpenCode desktop app.</p>
<figure><img
    class="my-0 rounded-md"
    loading="lazy"
    decoding="async"
    fetchpriority="auto"
    alt="OpenCode Web - New Session"
    width="1400"
    height="997"
    src="/articles/opencode/opencode-web-homepage-new-session_hu_2e42a15a6c01ef0b.webp"
    srcset="/articles/opencode/opencode-web-homepage-new-session_hu_2e42a15a6c01ef0b.webp 800w, /articles/opencode/opencode-web-homepage-new-session_hu_9c29e52cad0c0b1.webp 1280w"
    sizes="(min-width: 768px) 50vw, 65vw"
    data-zoom-src="/articles/opencode/opencode-web-homepage-new-session.webp"></figure>
<p><em>Image source: <a href="https://opencode.ai/docs/web/"  target="_blank" rel="noreferrer">Web | OpenCode</a></em></p>

<h3 class="relative group">Models and Providers
    <div id="models-and-providers" class="anchor"></div>
    
</h3>
<p>When first using OpenCode, it defaults to using the OpenCode Zen models. As of today, <a href="https://opencode.ai/docs/zen/#pricing"  target="_blank" rel="noreferrer">OpenCode Zen offers several free models</a>, as well as paid models.</p>

    <div class="admonition tip">
      <div class="admonition-header"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M272 384c9.6-31.9 29.5-59.1 49.2-86.2c0 0 0 0 0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4c0 0 0 0 0 0c19.8 27.1 39.7 54.4 49.2 86.2l160 0zM192 512c44.2 0 80-35.8 80-80l0-16-160 0 0 16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"/></svg>
        <span>When using OpenCode Zen, it’s recommended to read about the <a href="https://opencode.ai/docs/zen/#privacy"  target="_blank" rel="noreferrer">privacy for each model</a>.</span>
      </div>
    </div><p>These paid models can either be used by paying for credits (similar to OpenRouter) or using the <a href="https://opencode.ai/go"  target="_blank" rel="noreferrer">OpenCode Go subscription</a>. However, OpenCode does not limit to only using their offering. One of the best features of OpenCode is its wide <a href="https://opencode.ai/docs/providers/"  target="_blank" rel="noreferrer">provider</a> support. LLM models can be used from practically any provider (that hasn’t outright blocked OpenCode), or even use local models. This provides users a lot of flexibility to use the same tool across many different models, with one unified agent harness. It also means users are not “locked-in” to one provider if they want to continue using OpenCode. When providers change the terms, such as Claude and Gemini limiting usage of OpenCode, or <a href="https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/"  target="_blank" rel="noreferrer">GitHub Copilot changing the terms of their subscriptions</a>, OpenCode users can just move to other providers and continue their existing workflow.</p>

<h3 class="relative group">Agentic Tool Usage
    <div id="agentic-tool-usage" class="anchor"></div>
    
</h3>
<p>Using one tool for all providers also means that I can have a unified place to configure my <a href="https://modelcontextprotocol.io"  target="_blank" rel="noreferrer">MCP</a> servers, <a href="https://agentskills.io"  target="_blank" rel="noreferrer">Skills</a> and <a href="https://agents.md/"  target="_blank" rel="noreferrer">AGENTS.md</a> files. While there have been attempts to standardize the agents world, including the <a href="https://aaif.io/"  target="_blank" rel="noreferrer">Agentic AI Foundation (AAIF)</a>, the reality is that agentic tools still have different ways to configure. For example, Anthropic to date has refused to adopt the usage of the <code>AGENTS.md</code> file, instead referring only to the <code>CLAUDE.md</code> file.</p>
<p>OpenCode supports these emerging agent standards, as well as <a href="https://opencode.ai/docs/lsp/"  target="_blank" rel="noreferrer">LSP servers</a> (Language Server Protocol, which has been around before agents, to give code editors better support for programming languages). At the same time, <a href="https://opencode.ai/docs/config/"  target="_blank" rel="noreferrer">OpenCode also has its own config file</a>.</p>
<p>As an example, if you want to configure <a href="/articles/chrome-devtools-mcp" >Chrome DevTools MCP server</a>, add the following to your <a href="https://opencode.ai/docs/config/"  target="_blank" rel="noreferrer">OpenCode config</a>:</p>
<div class="highlight-wrapper"><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nt">"$schema"</span><span class="p">:</span> <span class="s2">"https://opencode.ai/config.json"</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="nt">"mcp"</span><span class="p">:</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="nt">"chrome-devtools"</span><span class="p">:</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">      <span class="nt">"type"</span><span class="p">:</span> <span class="s2">"local"</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">      <span class="nt">"command"</span><span class="p">:</span> <span class="p">[</span><span class="s2">"npx"</span><span class="p">,</span> <span class="s2">"-y"</span><span class="p">,</span> <span class="s2">"chrome-devtools-mcp@latest"</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">    <span class="p">}</span>
</span></span><span class="line"><span class="cl">  <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
<p>OpenCode also supports a range of <a href="https://opencode.ai/docs/tools/"  target="_blank" rel="noreferrer">built-in tools</a>, including web searches. One of my personal favorite tools is the <a href="https://opencode.ai/docs/tools/#question"  target="_blank" rel="noreferrer">question tool</a>. It allows the model to ask you questions mid-task: for gathering preferences, clarifying instructions, or getting decisions on implementation choices. Each question includes a header, question text, and a list of options, with the ability to type a custom answer. When there are multiple questions, you can navigate between them before submitting.</p>
<figure><img
    class="my-0 rounded-md"
    loading="lazy"
    decoding="async"
    fetchpriority="auto"
    alt="OpenCode question tool prompting a choice of rollout strategy"
    width="1280"
    height="500"
    src="/articles/opencode/opencode-question-tool_hu_88c5c43675966c68.webp"
    srcset="/articles/opencode/opencode-question-tool_hu_88c5c43675966c68.webp 800w, /articles/opencode/opencode-question-tool.webp 1280w"
    sizes="(min-width: 768px) 50vw, 65vw"
    data-zoom-src="/articles/opencode/opencode-question-tool.webp"></figure>

<h3 class="relative group">It’s Dangerous: Permissions and Safety
    <div id="its-dangerous-permissions-and-safety" class="anchor"></div>
    
</h3>
<p>OpenCode is a powerful tool, and with great power comes great responsibility. By default, it will happily edit anything, run anything, and delete anything without asking, which can feel great for vibe-coding but can also wreak havoc on your machine and codebases if left unchecked. For users that are coming from Claude Code, the default permissions feel similar to the <code>claude --dangerously-skip-permissions</code> flag. By default, OpenCode does not ask permission for anything. It edits files freely and can run <em>any</em> command. Even when using “Plan” mode (instead of “Build” mode), OpenCode can still run commands (by default the “Plan” mode only disallows file edits). Fortunately, this is fairly easy to fix. To get a locked-down OpenCode, add this to your <a href="https://opencode.ai/docs/config/"  target="_blank" rel="noreferrer">OpenCode config</a>:</p>
<div class="highlight-wrapper"><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nt">"$schema"</span><span class="p">:</span> <span class="s2">"https://opencode.ai/config.json"</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="nt">"permission"</span><span class="p">:</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="nt">"*"</span><span class="p">:</span> <span class="s2">"ask"</span>
</span></span><span class="line"><span class="cl">  <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>

    <div class="admonition tip">
      <div class="admonition-header"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M272 384c9.6-31.9 29.5-59.1 49.2-86.2c0 0 0 0 0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4c0 0 0 0 0 0c19.8 27.1 39.7 54.4 49.2 86.2l160 0zM192 512c44.2 0 80-35.8 80-80l0-16-160 0 0 16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"/></svg>
        <span><a href="https://opencode.ai/docs/permissions/"  target="_blank" rel="noreferrer">OpenCode Permissions</a> can be customized further.</span>
      </div>
    </div><p>It is also worth running OpenCode in a sandboxed environment. Refer to my previous article on <a href="/articles/claude-code-sandboxing" >Claude Code Sandboxing</a> for examples on how to achieve this.</p>

<h2 class="relative group">Final Verdict: Is OpenCode Better Than Claude Code?
    <div id="final-verdict-is-opencode-better-than-claude-code" class="anchor"></div>
    
</h2>
<p>Overall, OpenCode is a very compelling agent tool, with wide model support and lots of features. It is certainly among the best AI tools I have ever used.</p>
<p>On the question of “OpenCode vs. Claude Code”, I would say both tools are honestly equally strong. OpenCode felt like a breath of fresh air after months of using Claude Code, with many unique features. For example, mouse support, which Claude Code has only recently gained and is currently still a preview feature. At the same time, going back to Claude Code after several months of only using OpenCode, I have noticed Anthropic have not been resting and have been frantically adding new features to Claude Code, including plugins and a plugin marketplace, Agent Teams for multi-agent orchestration, the <code>/btw</code> command for lightweight side questions, and Auto mode, a new permission tier that sits between manual approval and skipping permissions entirely.</p>
<p>Overall, OpenCode feels surprisingly more polished (despite being developed by a much smaller team), while Claude Code has the edge in raw features. Nevertheless, the tools feel very close in quality. The choice between them ultimately comes down to one question: do you have a Claude subscription?</p>
<p>As I explained at the opening of this article, Anthropic has made their stance clear that Claude subscriptions are only for use within official Claude tools, and third-party tool usage is blocked for subscribers. Claude Code also locks you into Claude models exclusively, with no support for other providers.</p>
<p>If you’re already paying for a Claude subscription, Claude Code is the natural fit, as it’s the only tool where Anthropic’s subscriptions are officially supported. If you’re not, OpenCode’s model flexibility and open-source nature make it a compelling alternative that gives you full control over both your models and your costs.</p>
<hr>
<p><em>Featured image by <a href="https://unsplash.com/@sonance?utm_source=hugo&utm_medium=referral"  target="_blank" rel="noreferrer">Viktor Forgacs</a> on <a href="https://unsplash.com/photos/red-and-white-open-neon-signage-LNwIJHUtED4?utm_source=hugo&utm_medium=referral"  target="_blank" rel="noreferrer">Unsplash</a>.</em></p>
]]></content><author><name>Ro'i Bandel</name></author><category term="ai" label="Ai" scheme="https://www.towerofkubes.com/tags/ai/"/><category term="cli" label="Cli" scheme="https://www.towerofkubes.com/tags/cli/"/><category term="tools" label="Tools" scheme="https://www.towerofkubes.com/tags/tools/"/><category term="llm" label="Llm" scheme="https://www.towerofkubes.com/tags/llm/"/><category term="backman-feed" label="Backman-Feed" scheme="https://www.towerofkubes.com/tags/backman-feed/"/><published>2026-05-05T00:00:00Z</published></entry><entry><title>Agentic CLI Tools Comparison</title><link rel="alternate" type="text/html" hreflang="en" href="https://www.towerofkubes.com/articles/agentic-cli-tools-comparison/"/><id>https://www.towerofkubes.com/articles/agentic-cli-tools-comparison/</id><updated>2025-09-28T00:00:00Z</updated><summary type="html">Comparison of Claude Code vs. Cursor CLI vs. Gemini CLI vs. Codex CLI</summary><content type="html"><![CDATA[<p>GitHub Copilot CLI is the latest Agentic CLI tool. Yet another Agentic CLI tool in the same style of Claude Code, Cursor CLI, Gemini CLI, Codex CLI and Qwen Code (and probably others that I am forgetting). So far I have tried all of these except for Qwen, and am now trying GitHub Copilot CLI as well.</p>

<h2 class="relative group">All Agentic CLI tools look the same
    <div id="all-agentic-cli-tools-look-the-same" class="anchor"></div>
    
</h2>
<p>All of these tools are superficially similar. Claude Code, GPT-5, Cursor CLI, Gemini CLI, Qwen Code and now GitHub Copilot CLI all have a TUI design that looks almost exactly the same, not even trying to hide that they’re copying each other. The notable exception is Codex CLI, which has its own TUI design. Honestly though I find Codex’s TUI to be inferior and kind of wish it also copied the others. I think the common design works well and don’t mind it, it’s just funny that all of these companies copy each other.</p>
<p>Another thing that is similar is that all these tools have npm as their primary installation option. While most tools can also be installed in other ways (such as <a href="https://brew.sh/"  target="_blank" rel="noreferrer">Homebrew</a>), npm is usually recommended first in their respective README files. Of course, npm has been widely-used for years and many developers already have it installed (these tools are primarily for developers, though they can do more than coding); however, I’ve personally never before seen npm recommended as the primary installation method before this wave of Agentic CLI tools started. Some of the tools are written in TypeScript so it makes sense. On the other hand, there’s Codex CLI, which has its own design and is written in Rust, but nevertheless <a href="https://www.npmjs.com/package/@openai/codex"  target="_blank" rel="noreferrer">adapted to work with npm</a> (TIL <a href="https://dev.to/kennethlarsen/how-to-distribute-a-rust-binary-on-npm-75n"  target="_blank" rel="noreferrer">Rust binaries can be distributed on npm</a>).</p>

<h2 class="relative group">Agentic CLI tools have differences
    <div id="agentic-cli-tools-have-differences" class="anchor"></div>
    
</h2>
<p>I <a href="/articles/agentic-cli-tools-comparison/#all-agentic-cli-tools-look-the-same" >mentioned</a> these tools are <em>superficially</em> similar, however that doesn’t mean they all work the same. Outside of design and installation method, there’s the matter of <em>functionality</em> and how well these tools actually work. Differences include:</p>

<h3 class="relative group">Model
    <div id="model" class="anchor"></div>
    
</h3>
<p>Some tools are designed to work with one companie’s models. Claude Code of course uses Claude Sonnet and Claude Opus. OpenAI’s Codex CLI uses GPT-5 models (including GPT‑5-Codex). Gemini CLI uses Gemini 2.5 and 3 (Pro with a fallback to Fast). Other tools support a variety of different models through one service, for example Cursor CLI and GitHub Copilot CLI (the same is true for their non-CLI offerings). Others allow you to <a href="/articles/agentic-cli-tools-comparison/#byo-bring-your-own-api-keys" >BYO (Bring Your Own) API keys</a> (notably <a href="https://opencode.ai/"  target="_blank" rel="noreferrer">OpenCode</a>).</p>

<h3 class="relative group">Tools & Agentic Abilities
    <div id="tools--agentic-abilities" class="anchor"></div>
    
</h3>
<p>Even when two tools use the same AI model, that doesn’t necessarily mean they will work the same. These tools have agentic abilities, enhanced with tools and prompts. Tools can built-in or provided with MCP. As an example, Claude Code has a wide variety of built-in tools that allows it to read and write locals files, browse the web (Search and Fetch websites) and more. On the other hand, while Codex Is Improving, it still does not have as many built-in tools as Claude Code. When tools are missing or limited, the gap can be bridged either with other CLI programs (that these agentic tools know how to run directly) or MCP servers. Most if not all of these tools support both running CLI commands and interacting with MCP servers. Notably, <a href="https://cursor.com/docs/cli/mcp"  target="_blank" rel="noreferrer">Cursor CLI now supports MCP</a> as well (when I first tried it, Cursor CLI was missing MCP support).</p>

<h3 class="relative group">License
    <div id="license" class="anchor"></div>
    
</h3>
<p>Not all of these tools are open source. In a way that is somewhat deceiving, several of these tools have a GitHub repo that is little more than a closed-source LICENSE and README, but does not actually include any code. At present, this even includes GitHub Copilot CLI, which is marked as Public Preview and has <a href="https://docs.github.com/en/site-policy/github-terms/github-pre-release-license-terms"  target="_blank" rel="noreferrer">Pre-release License Terms</a> (it is not clear to me what the license terms would be <em>after</em> release). Claude Code and Cursor CLI are also closed source (others may have copied CC’s design, but not its code). Gemini CLI is open source and was later forked to Qwen Code, which is also open source (both Apache-2.0). OpenCode is also open source (as its name implies), under MIT. <a href="https://github.com/charmbracelet/crush"  target="_blank" rel="noreferrer">charmbracelet/crush</a> (from the same people who created some of my favorite Go CLI and TUI Frameworks) uses this weird license: <a href="https://github.com/charmbracelet/crush/blob/main/LICENSE.md"  target="_blank" rel="noreferrer">Functional Source License, Version 1.1, MIT Future License</a>.</p>

<h3 class="relative group">Pricing & Usage Limits
    <div id="pricing--usage-limits" class="anchor"></div>
    
</h3>
<p>These tools have different limits.</p>

<h4 class="relative group">Claude Code
    <div id="claude-code" class="anchor"></div>
    
</h4>
<p>Out of all of these tools I have (so far) used Claude Code the most and am most fimilar with their <a href="https://claude.com/pricing"  target="_blank" rel="noreferrer">pricing</a> and usage limits. I am using Claude Pro on the $20 a month plan. Claude Code also has the crazy expensive Max plans ($100 or $200 a month). I have mentioned previously in my Claude Code notes about my experience using the Claude Code $20 plan. My experience honestly haven’t changed much. While there was some drama about Claude Code changing usage limits, I still rarely run into usage limits. When I do, I have to wait at most a few hours for the usage limits to reset. In that time I can either use other tools or take a break. Other than not having access to the Opus model on CC, I don’t feel like I’m missing anything by not being on Max and am still baffled at how people justify the price of those Max plans. ccusage implies I use more than $100 a month, significantly more than what I pay. Anthropic either operates at a loss or can somehow afford to do that since it’s their own models.</p>

<h3 class="relative group">Gemini CLI
    <div id="gemini-cli" class="anchor"></div>
    
</h3>
<p>Gemini CLI has a generous free tier and is what I currently recommend for people wanting to try an agentic tool for free. I’m not sure whether my Google AI Pro trial increases my Gemini CLI usage limits or if it’s unrelated, I’m honestly kind of confused with Google’s various AI plans (in typical Google fashion).</p>

    <div class="admonition note">
      <div class="admonition-header"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 125.7-86.8 86.8c-10.3 10.3-17.5 23.1-21 37.2l-18.7 74.9c-2.3 9.2-1.8 18.8 1.3 27.5L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM549.8 235.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0zM311.9 417L441.1 287.8l71 71L382.9 487.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l15-60.1c1.4-5.6 4.3-10.8 8.4-14.9z"/></svg>
        <span>Note</span>
      </div>
      <div class="admonition-content">
        <p><strong>UPDATE:</strong> <a href="https://blog.google/technology/developers/gemini-cli-code-assist-higher-limits/"  target="_blank" rel="noreferrer">Google AI Pro and Ultra subscribers now get Gemini CLI and Gemini Code Assist with higher limits.</a></p>
      </div>
    </div>
<h3 class="relative group">Codex
    <div id="codex" class="anchor"></div>
    
</h3>
<p>Included with paid <a href="https://chatgpt.com/pricing/"  target="_blank" rel="noreferrer">ChatGPT plans</a> including Plus, Pro and Team.</p>

<h3 class="relative group">BYO (Bring Your Own) API keys
    <div id="byo-bring-your-own-api-keys" class="anchor"></div>
    
</h3>
<p>Ironically, the FOSS tools such as opencode and crush might actually be more expensive in this case. When using an API key you have to pay the “real” cost of running the AI model which can end up significantly more expensive than a set plan. The same is true when using Claude Code with an API key instead of a plan; in all but very moderate use a plan would make more sense. Even the expensive Max plans often end up cheaper than what equivalent API use would cost.</p>

<h2 class="relative group">My Opinion
    <div id="my-opinion" class="anchor"></div>
    
</h2>
<p>Claude Code remains my most used agentic CLI tool. Neverthelss, I am still actively experimenting with other tools, I have used Gemini CLI increasingly more in recent weeks (Gemini’s free tier is really good), and am also trying Codex due to its improvements. However, while these tools feel similar in many ways and the competition is closer than ever, I still feel that Claude Code with <a href="/articles/claude-sonnet-4.5-and-claude-code-2.0/" >Claude Sonnet 4.5</a> is noticeably better than all other tools that I have used. This may change in the near future as all of these tools are actively developed and new ones are introduced all the time.</p>
<p>This is in addition to other AI tools which I am also actively using. Right now I am mainly using the web and app versions of ChatGPT, Gemini, Claude and Perplexity Pro (I also use <a href="/articles/gpt-5/#microsoft-copilot-with-gpt-5" >Microsoft Copilot</a> at work, but it’s not very good).</p>
<hr>
<p><em>Featured image by <a href="https://unsplash.com/@steve_j?utm_source=hugo&utm_medium=referral"  target="_blank" rel="noreferrer">Steve Johnson</a> on <a href="https://unsplash.com/?utm_source=hugo&utm_medium=referral"  target="_blank" rel="noreferrer">Unsplash</a>.</em></p>
]]></content><author><name>Ro'i Bandel</name></author><category term="ai" label="Ai" scheme="https://www.towerofkubes.com/tags/ai/"/><category term="tools" label="Tools" scheme="https://www.towerofkubes.com/tags/tools/"/><category term="cli" label="Cli" scheme="https://www.towerofkubes.com/tags/cli/"/><category term="tui" label="Tui" scheme="https://www.towerofkubes.com/tags/tui/"/><published>2025-09-28T00:00:00Z</published></entry></feed>