<?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: 江流石</title>
    <description>The latest articles on DEV Community by 江流石 (@_e69fe8657895dd4754bbf).</description>
    <link>https://dev.to/_e69fe8657895dd4754bbf</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%2F4174993%2F386de9eb-7cad-4b3e-8469-f62b52f6fc4e.png</url>
      <title>DEV Community: 江流石</title>
      <link>https://dev.to/_e69fe8657895dd4754bbf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_e69fe8657895dd4754bbf"/>
    <language>en</language>
    <item>
      <title>Pin your relay config in ~/.claude/settings.json (no more export every time)</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sun, 11 Oct 2026 01:12:11 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/pin-your-relay-config-in-claudesettingsjson-no-more-export-every-time-4fl7</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/pin-your-relay-config-in-claudesettingsjson-no-more-export-every-time-4fl7</guid>
      <description>&lt;p&gt;Tired of &lt;code&gt;export&lt;/code&gt;-ing env vars in every new terminal? Put your relay config in &lt;code&gt;~/.claude/settings.json&lt;/code&gt; under &lt;code&gt;env&lt;/code&gt;, and Claude Code picks it up on launch:&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;"env"&lt;/span&gt;&lt;span class="p"&gt;:&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;span class="nl"&gt;"ANTHROPIC_BASE_URL"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://&amp;lt;station&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"ANTHROPIC_AUTH_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"sk-****your-key****"&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;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;Tips:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This file is local — don't commit it.&lt;/li&gt;
&lt;li&gt;To juggle several stations, use &lt;code&gt;ccswitch&lt;/code&gt; to keep each one on its own git branch and &lt;code&gt;ccswitch switch&lt;/code&gt; between them.&lt;/li&gt;
&lt;li&gt;If the model list won't load, add &lt;code&gt;ANTHROPIC_MODEL&lt;/code&gt; with the exact id copied from the station.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Relay stations are free (signup + daily check-in credit) and plentiful — register a few. List with models and tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Signup links carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you prefer.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aiclaudeprodtoolsuctivity</category>
    </item>
    <item>
      <title>Debugging a relay API in Claude Code / Codex: 401 vs 404 vs 429</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sun, 11 Oct 2026 01:11:54 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/debugging-a-relay-api-in-claude-code-codex-401-vs-404-vs-429-33en</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/debugging-a-relay-api-in-claude-code-codex-401-vs-404-vs-429-33en</guid>
      <description>&lt;p&gt;When you point Claude Code or Codex at a third-party relay and it errors, read the status code first — it tells you exactly what's wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;404&lt;/strong&gt; — wrong address. Usually the &lt;code&gt;/v1&lt;/code&gt; on &lt;code&gt;base_url&lt;/code&gt;: Anthropic-compatible endpoints have &lt;strong&gt;no&lt;/strong&gt; &lt;code&gt;/v1&lt;/code&gt; (Claude Code appends &lt;code&gt;/v1/messages&lt;/code&gt;); OpenAI-compatible endpoints &lt;strong&gt;need&lt;/strong&gt; &lt;code&gt;/v1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;401 / 403&lt;/strong&gt; — auth failed. Key copied in full? Credit left? Model id in the station's list? Claude Code must use &lt;code&gt;ANTHROPIC_AUTH_TOKEN&lt;/code&gt; (Bearer), not &lt;code&gt;ANTHROPIC_API_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;429&lt;/strong&gt; — the station is rate-limiting. Switch stations or wait; retrying just lengthens the queue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;400 / content blocked&lt;/strong&gt; — upstream moderation. Retry in plain English/Chinese; if it keeps firing, switch stations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep a couple of stations registered so a single one rate-limiting never blocks you. List with tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Signup links carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you prefer.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aidebuggingcodexclaude</category>
    </item>
    <item>
      <title>Free Claude Code &amp; Codex: official free tiers vs. relay stations</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 13:33:54 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/free-claude-code-codex-official-free-tiers-vs-relay-stations-4mn5</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/free-claude-code-codex-official-free-tiers-vs-relay-stations-4mn5</guid>
      <description>&lt;p&gt;Two ways to run &lt;strong&gt;Claude Code&lt;/strong&gt; / &lt;strong&gt;Codex&lt;/strong&gt; without paying per token:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Official free tiers&lt;/strong&gt; — limited, but zero setup. Good for light use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Relay stations&lt;/strong&gt; — third-party gateways that mirror the API and hand out signup + daily check-in credit. More headroom, tiny bit of config.&lt;/p&gt;

&lt;p&gt;Relay setup is two env vars (Claude Code, AgentRouter as example):&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;ANTHROPIC_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://agentrouter.org"&lt;/span&gt;
&lt;span class="nb"&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="s2"&gt;"sk-****your-key****"&lt;/span&gt;
claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Codex, point &lt;code&gt;~/.codex/config.toml&lt;/code&gt; at &lt;code&gt;https://&amp;lt;station&amp;gt;/v1&lt;/code&gt; with an OpenAI-compatible provider.&lt;/p&gt;

&lt;p&gt;Notes: Anthropic endpoint has no &lt;code&gt;/v1&lt;/code&gt;; OpenAI endpoint ends with &lt;code&gt;/v1&lt;/code&gt;; keep the key in an env var. Copy the exact model id from the station.&lt;/p&gt;

&lt;p&gt;These stations are free and plentiful — register a few and rotate. List with models + tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Signup links carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you prefer.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aiclaudecodetoolsx</category>
    </item>
    <item>
      <title>Use GLM-5.3 for free through a relay API (OpenAI-compatible)</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 10:21:17 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/use-glm-53-for-free-through-a-relay-api-openai-compatible-oji</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/use-glm-53-for-free-through-a-relay-api-openai-compatible-oji</guid>
      <description>&lt;p&gt;GLM-5.3 is a solid, cheap model, and some free relay stations expose it with signup credit — no card needed. It's OpenAI-compatible, so any OpenAI-style client works.&lt;/p&gt;

&lt;p&gt;Point your client at the relay:&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;OPENAI_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://&amp;lt;station&amp;gt;/v1"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;OPENAI_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-****your-key****"&lt;/span&gt;
&lt;span class="c"&gt;# model: glm-5.3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or in Codex (&lt;code&gt;~/.codex/config.toml&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="py"&gt;model&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"glm-5.3"&lt;/span&gt;
&lt;span class="py"&gt;model_provider&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"relay"&lt;/span&gt;
&lt;span class="nn"&gt;[model_providers.relay]&lt;/span&gt;
&lt;span class="py"&gt;base_url&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"https://&amp;lt;station&amp;gt;/v1"&lt;/span&gt;
&lt;span class="py"&gt;env_key&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"RELAY_API_KEY"&lt;/span&gt;
&lt;span class="py"&gt;wire_api&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"chat"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenAI-compatible endpoint ends with &lt;code&gt;/v1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Copy the exact model id from the station's list.&lt;/li&gt;
&lt;li&gt;Keep the key in an env var, not in the file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Several free stations carry GLM-5.3 alongside Claude and Grok models — register a few and switch as needed. List with tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Signup links carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you prefer.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aillmopensoutoolsrce</category>
    </item>
    <item>
      <title>Try Grok 4.7 free via a relay API</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 10:12:38 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/try-grok-47-free-via-a-relay-api-2agg</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/try-grok-47-free-via-a-relay-api-2agg</guid>
      <description>&lt;p&gt;Want to try &lt;strong&gt;Grok 4.7&lt;/strong&gt; without a paid plan? Some free relay stations expose it with signup + daily check-in credit. It's served over an OpenAI-compatible endpoint.&lt;/p&gt;

&lt;p&gt;Minimal setup for any OpenAI-style client:&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;OPENAI_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://&amp;lt;station&amp;gt;/v1"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;OPENAI_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-****your-key****"&lt;/span&gt;
&lt;span class="c"&gt;# model: grok-4.7&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The endpoint ends with &lt;code&gt;/v1&lt;/code&gt; (OpenAI-compatible).&lt;/li&gt;
&lt;li&gt;Use the exact model id from the station's model list.&lt;/li&gt;
&lt;li&gt;Don't hardcode the key — use an env var.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These stations are free and usually carry several model families (Claude, GLM, Grok) behind one key, so you can register a couple and pick per task. Full list with models and tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The signup links carry my referral param — drop &lt;code&gt;?aff=&lt;/code&gt; if you'd rather not.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aillmgroktools</category>
    </item>
    <item>
      <title>Vibe coding with Claude Code on free relay credits</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 10:02:02 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/vibe-coding-with-claude-code-on-free-relay-credits-1c66</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/vibe-coding-with-claude-code-on-free-relay-credits-1c66</guid>
      <description>&lt;p&gt;"Vibe coding" = you describe what you want, the agent writes and runs it. With &lt;strong&gt;Claude Code&lt;/strong&gt; on a free relay station's credits, you can do it without paying for the official API.&lt;/p&gt;

&lt;p&gt;Connect in two env vars (AgentRouter as the example):&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;ANTHROPIC_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://agentrouter.org"&lt;/span&gt;
&lt;span class="nb"&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="s2"&gt;"sk-****your-key****"&lt;/span&gt;
claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then just talk to it. Open an empty folder and say:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build a todo app with Vite + React, local storage, and a dark mode.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Claude Code scaffolds the files, installs deps, runs it. You keep going in plain language — "add a tag filter", "make this green". Out of credit? Check in daily for more, or switch to another station.&lt;/p&gt;

&lt;p&gt;These relay stations are free (signup + check-in credit), so grab a few. List with models and tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The signup links carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you'd rather not.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aiclaudeprodwebdevuctivity</category>
    </item>
    <item>
      <title>Point Codex at a free relay API (config.toml walkthrough)</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 10:01:46 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/point-codex-at-a-free-relay-api-configtoml-walkthrough-2a46</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/point-codex-at-a-free-relay-api-configtoml-walkthrough-2a46</guid>
      <description>&lt;p&gt;Want to run &lt;strong&gt;Codex&lt;/strong&gt; without paying per token? Point it at a third-party relay that mirrors the API and gives you signup credit. Here's a minimal &lt;code&gt;~/.codex/config.toml&lt;/code&gt; using AgentRouter.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="py"&gt;model&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"gpt-6-astra"&lt;/span&gt;
&lt;span class="py"&gt;model_provider&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"relay"&lt;/span&gt;
&lt;span class="nn"&gt;[model_providers.relay]&lt;/span&gt;
&lt;span class="py"&gt;base_url&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"https://agentrouter.org/v1"&lt;/span&gt;
&lt;span class="py"&gt;env_key&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"RELAY_API_KEY"&lt;/span&gt;
&lt;span class="py"&gt;wire_api&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"chat"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then export the key:&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;RELAY_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-****your-key****"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenAI-compatible endpoint — base URL &lt;strong&gt;ends with&lt;/strong&gt; &lt;code&gt;/v1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The key goes in an env var via &lt;code&gt;env_key&lt;/code&gt;, not in the file, so the config is safe to back up.&lt;/li&gt;
&lt;li&gt;Start with &lt;code&gt;wire_api = "chat"&lt;/code&gt;; most relays expose chat completions, not the responses API.&lt;/li&gt;
&lt;li&gt;Copy the exact model string from the station's model list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Plenty of these free stations exist (signup + daily check-in credit), so register whichever you like. Full list with tested dates: &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Signup links there carry my referral param — drop &lt;code&gt;?aff=&lt;/code&gt; if you prefer.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aicodexopentoolsai</category>
    </item>
    <item>
      <title>Run Claude Code on free credits via a relay API (AgentRouter)</title>
      <dc:creator>江流石</dc:creator>
      <pubDate>Sat, 10 Oct 2026 09:55:18 +0000</pubDate>
      <link>https://dev.to/_e69fe8657895dd4754bbf/run-claude-code-on-free-credits-via-a-relay-api-agentrouter-21h7</link>
      <guid>https://dev.to/_e69fe8657895dd4754bbf/run-claude-code-on-free-credits-via-a-relay-api-agentrouter-21h7</guid>
      <description>&lt;p&gt;The official Claude API bills per token and wants a foreign card. A quicker way to try &lt;strong&gt;Claude Code&lt;/strong&gt; for free: third-party relay stations that mirror the API and give you signup credit. Here's the AgentRouter setup.&lt;/p&gt;

&lt;p&gt;Two environment variables:&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;ANTHROPIC_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://agentrouter.org"&lt;/span&gt;
&lt;span class="nb"&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="s2"&gt;"sk-****your-key****"&lt;/span&gt;
claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Anthropic endpoint — base URL has &lt;strong&gt;no&lt;/strong&gt; &lt;code&gt;/v1&lt;/code&gt; (Claude Code appends &lt;code&gt;/v1/messages&lt;/code&gt; itself).&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;ANTHROPIC_AUTH_TOKEN&lt;/code&gt; (sent as &lt;code&gt;Authorization: Bearer&lt;/code&gt;), not &lt;code&gt;ANTHROPIC_API_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Can't fetch the model list? Copy the exact model string from the station and set &lt;code&gt;ANTHROPIC_MODEL&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;To make it stick, put it in &lt;code&gt;~/.claude/settings.json&lt;/code&gt; under &lt;code&gt;env&lt;/code&gt;. Don't commit your key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Several of these stations exist — all free, with signup + daily check-in credit, so you can just register the ones you want. Full list (models, credits, tested dates): &lt;a href="https://jliushi.github.io/ai-relay/" rel="noopener noreferrer"&gt;AI relay station list&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The signup links on that page carry my referral param; strip &lt;code&gt;?aff=&lt;/code&gt; if you'd rather not.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aiclaudellmtools</category>
    </item>
  </channel>
</rss>
