<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Andrew Seaman</title>
    <description>The latest articles on DEV Community by Andrew Seaman (@andrew_seaman_31c49b0f64b).</description>
    <link>https://dev.to/andrew_seaman_31c49b0f64b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3985948%2Fc165e144-ce6a-4e81-aae3-77ca1508fae5.png</url>
      <title>DEV Community: Andrew Seaman</title>
      <link>https://dev.to/andrew_seaman_31c49b0f64b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andrew_seaman_31c49b0f64b"/>
    <language>en</language>
    <item>
      <title>Claude Code already lets you pick cheaper models. Most people never change it.</title>
      <dc:creator>Andrew Seaman</dc:creator>
      <pubDate>Mon, 15 Jun 2026 16:55:09 +0000</pubDate>
      <link>https://dev.to/andrew_seaman_31c49b0f64b/claude-code-already-lets-you-pick-cheaper-models-most-people-never-change-it-1dd4</link>
      <guid>https://dev.to/andrew_seaman_31c49b0f64b/claude-code-already-lets-you-pick-cheaper-models-most-people-never-change-it-1dd4</guid>
      <description>&lt;h1&gt;
  
  
  Keep Claude for Judgement. Let Cheaper Models Do the Busywork.
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;&lt;em&gt;A two-minute change: keep the strong model for judgement, and let the repetitive work run on a cheaper one — without leaving Claude Code or writing a line of glue code.&lt;/em&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;X·Trillion Engineering&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;4 June 2026 · 4 min read&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most people install Claude Code, pick a model once, and never touch the setting again. Everything then runs on that one model — the careful architectural decisions and the mechanical busywork alike, all billed at the same rate.&lt;/p&gt;

&lt;p&gt;That is convenient, and for a lot of work it is fine. But a coding session is mostly mechanical: searching the codebase, reading files, applying an agreed change, fixing a typo and re-running a check. Only a handful of moments genuinely need the strongest model.&lt;/p&gt;

&lt;p&gt;You can keep those moments on the top tier and push the rest down a tier — and the controls to do it are already in front of you.&lt;/p&gt;
&lt;h2&gt;
  
  
  The main model: &lt;code&gt;/model&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;The fastest lever is the model your main session runs on. Type &lt;code&gt;/model&lt;/code&gt; for an interactive picker, or set it directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/model sonnet      # Switch the main session to Sonnet
/model opus        # Move back to Opus for heavy reasoning
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can name a model alias — &lt;code&gt;opus&lt;/code&gt;, &lt;code&gt;sonnet&lt;/code&gt;, &lt;code&gt;haiku&lt;/code&gt; or &lt;code&gt;fable&lt;/code&gt; — which always resolves to the current version available to your account. Alternatively, use a full model ID such as &lt;code&gt;claude-sonnet-4-6&lt;/code&gt; if you want to pin an exact version.&lt;/p&gt;

&lt;p&gt;The same value can be set without opening Claude Code at all:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# A single session&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;ANTHROPIC_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"claude-sonnet-4-6"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or set a durable default in &lt;code&gt;settings.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"sonnet"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That alone is useful. But switching the whole session is a blunt instrument: you lose the strong model exactly when you need it.&lt;/p&gt;

&lt;p&gt;The sharper tool is to split the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real lever: subagents on a cheaper model
&lt;/h2&gt;

&lt;p&gt;Claude Code can delegate parts of a task to subagents — focused helpers with their own prompt, tools and, crucially, model.&lt;/p&gt;

&lt;p&gt;A subagent is simply a Markdown file inside &lt;code&gt;.claude/agents/&lt;/code&gt;. The model is specified in one line of front matter:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- .claude/agents/formatter.md --&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;
---&lt;/span&gt;
name: formatter
description: "Formats and lints changed files. Use after edits."
model: haiku
&lt;span class="gh"&gt;tools: Read, Edit, Bash
---
&lt;/span&gt;
You format and lint code. Apply the project's style. Do not change
behaviour. Report what you changed in one line.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The formatting work now runs on Haiku while your main session remains on Opus or Sonnet.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;model&lt;/code&gt; field accepts the same aliases and full model IDs as &lt;code&gt;/model&lt;/code&gt;, plus one special value: &lt;code&gt;inherit&lt;/code&gt;. This simply uses whichever model the main conversation is running. If you omit the field, &lt;code&gt;inherit&lt;/code&gt; is the default.&lt;/p&gt;

&lt;h2&gt;
  
  
  You may already be doing this
&lt;/h2&gt;

&lt;p&gt;Claude Code ships with a built-in Explore subagent that runs on Haiku by default.&lt;/p&gt;

&lt;p&gt;Every time Claude searches your codebase, that work may already be happening on the cheaper tier. The bulky search output also stays outside your main context window, potentially saving tokens twice over.&lt;/p&gt;

&lt;p&gt;Splitting work by model is not exotic. It is how the tool already behaves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turn the whole fleet down at once
&lt;/h2&gt;

&lt;p&gt;To make every subagent run cheaply for a session — regardless of what each agent file says — use a single override:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLAUDE_CODE_SUBAGENT_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"haiku"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This sends all subagent work to Haiku.&lt;/p&gt;

&lt;p&gt;Set it back to &lt;code&gt;inherit&lt;/code&gt; to restore the normal per-agent model resolution:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLAUDE_CODE_SUBAGENT_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"inherit"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is useful during a large mechanical sweep, when you want the main thread to orchestrate while the workers stay cheap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not just force everything onto Haiku
&lt;/h2&gt;

&lt;p&gt;The point is not that cheaper is always better.&lt;/p&gt;

&lt;p&gt;A weaker model in the wrong place can produce confident but incorrect work that costs more to unpick than it saved. The effective pattern keeps judgement where judgement is needed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Main session on a strong model:&lt;/strong&gt; plans the work, decides what to delegate and reviews what comes back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subagents on a cheaper model:&lt;/strong&gt; handle bounded, testable and reversible tasks such as searching, formatting, applying an agreed edit and running checks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the strong main thread decides when to delegate, the intelligence remains where it earns its price while the volume runs cheaply.&lt;/p&gt;

&lt;p&gt;That is the whole idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Match each unit of work to the cheapest model that can perform it reliably — not to the cheapest model you can find.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You can go a long way using the built-in controls alone.&lt;/p&gt;

&lt;p&gt;The next two articles push the idea further. Part 2 examines why this saves so much — it is as much about context as model pricing. Part 3 shows how to route work to a non-Claude model entirely, with a cheap open-model worker handling the iteration and Claude reviewing the result.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>coding</category>
    </item>
  </channel>
</rss>
