<?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: Tadly</title>
    <description>The latest articles on DEV Community by Tadly (@tadlyai).</description>
    <link>https://dev.to/tadlyai</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%2F4263798%2Fe7469ea7-8722-4b25-b089-8f1ccb55a1f0.jpg</url>
      <title>DEV Community: Tadly</title>
      <link>https://dev.to/tadlyai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tadlyai"/>
    <language>en</language>
    <item>
      <title>Run Claude Code on an open model with three environment variables</title>
      <dc:creator>Tadly</dc:creator>
      <pubDate>Wed, 25 Nov 2026 04:08:12 +0000</pubDate>
      <link>https://dev.to/tadlyai/run-claude-code-on-an-open-model-with-three-environment-variables-1dn1</link>
      <guid>https://dev.to/tadlyai/run-claude-code-on-an-open-model-with-three-environment-variables-1dn1</guid>
      <description>&lt;p&gt;Claude Code doesn't care which model answers it. It reads its endpoint from &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt;, so any Anthropic-compatible API can sit behind it. That's useful when you hit the 5-hour limit, or when the job is routine (tests, small fixes, boilerplate) and doesn't need a frontier model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;ANTHROPIC_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://api.tadly.dev
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;ANTHROPIC_AUTH_TOKEN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$TADLY_API_KEY&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;ANTHROPIC_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;qwen3.5
claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What changes:&lt;/strong&gt; the model. The tool, your repo and your workflow stay the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What gets worse:&lt;/strong&gt; hard multi-file reasoning. Keep a Claude model for that and switch back by unsetting the variables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Things to check with any provider:&lt;/strong&gt; context size (Qwen-3.5 has a 128K-token context here), whether tool calls work, and what the API returns when you hit a limit. An honest 429 with a reset time beats a hang.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I build Tadly, the endpoint in the example. The same three variables work with any Anthropic-compatible provider. There's a comparison of the options, with sources, here: &lt;a href="https://tadly.dev/guides/run-claude-code-for-less" rel="noopener noreferrer"&gt;Run Claude Code for less&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
