<?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: Hanjun Lin</title>
    <description>The latest articles on DEV Community by Hanjun Lin (@hanjunlin).</description>
    <link>https://dev.to/hanjunlin</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%2F4069853%2F75952912-87f7-475f-b81c-9fdacc0d37e3.png</url>
      <title>DEV Community: Hanjun Lin</title>
      <link>https://dev.to/hanjunlin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hanjunlin"/>
    <language>en</language>
    <item>
      <title>Never Get Blocked by Claude Code Rate Limits Again: Seamlessly Route It to ChatGPT</title>
      <dc:creator>Hanjun Lin</dc:creator>
      <pubDate>Sun, 09 Aug 2026 12:30:43 +0000</pubDate>
      <link>https://dev.to/hanjunlin/never-get-blocked-by-claude-code-rate-limits-again-seamlessly-route-it-to-chatgpt-4g47</link>
      <guid>https://dev.to/hanjunlin/never-get-blocked-by-claude-code-rate-limits-again-seamlessly-route-it-to-chatgpt-4g47</guid>
      <description>&lt;p&gt;Ever had your coding momentum ruined by &lt;strong&gt;Claude Code&lt;/strong&gt;’s usage limits? I built an open-source solution: &lt;strong&gt;&lt;a href="https://github.com" rel="noopener noreferrer"&gt;claude-gpt&lt;/a&gt;&lt;/strong&gt; [1.1].&lt;/p&gt;

&lt;p&gt;This lightweight local proxy enables you to keep working in Claude Code after hitting limits by routing requests to GPT models via your existing ChatGPT subscription [1.1].&lt;/p&gt;




&lt;h2&gt;
  
  
  How It Works 🛠️
&lt;/h2&gt;

&lt;p&gt;By leveraging &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt;, &lt;strong&gt;claude-gpt&lt;/strong&gt; acts as an intermediary, translating complex Anthropic API calls into OpenAI formats [1.1].&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Model Switching&lt;/strong&gt;: Use the &lt;code&gt;/model&lt;/code&gt; command (e.g., &lt;code&gt;/model gpt&lt;/code&gt; or &lt;code&gt;/model opus&lt;/code&gt;) to switch seamlessly without restarting your workspace [1.1].&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Live Translation&lt;/strong&gt;: Handles tools, system prompts, and streaming [1.1].
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Claude Code] --► [claude-gpt proxy] --► [GPT / Claude]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⚡ Quick Setup (Windows)
&lt;/h2&gt;

&lt;p&gt;With Node.js (v18+) installed, run the following in PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/hanjun-lin/claude-gpt.git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;claude-gpt&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\install.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⚠ Terms of Service &amp;amp; Safe Mode 🛡️
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;ToS Alert&lt;/strong&gt;: Default usage involves accessing OpenAI’s internal Codex backend, which carries potential account risk [1.1].&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Official API Option&lt;/strong&gt;: Set &lt;code&gt;GPT_PROXY_BACKEND=openai&lt;/code&gt; and provide your &lt;code&gt;OPENAI_API_KEY&lt;/code&gt; to use the official, compliant API [1.1].&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Feedback &amp;amp; Contributions 💬
&lt;/h2&gt;

&lt;p&gt;Check out the code, contribute, or open an issue on GitHub.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/hanjun-lin/claude-gpt" rel="noopener noreferrer"&gt;Check out the GitHub Repo here&lt;/a&gt;&lt;/strong&gt; [1.1]&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
