<?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: dougame</title>
    <description>The latest articles on DEV Community by dougame (@dougame).</description>
    <link>https://dev.to/dougame</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%2F4134809%2Fcd553faf-7ec2-4c5e-aba9-ce48647c396b.png</url>
      <title>DEV Community: dougame</title>
      <link>https://dev.to/dougame</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dougame"/>
    <language>en</language>
    <item>
      <title>How to Use CC Switch to Manage Multiple AI API Configurations (2026 Guide)</title>
      <dc:creator>dougame</dc:creator>
      <pubDate>Mon, 21 Sep 2026 03:12:29 +0000</pubDate>
      <link>https://dev.to/dougame/how-to-use-cc-switch-to-manage-multiple-ai-api-configurations-2026-guide-eh8</link>
      <guid>https://dev.to/dougame/how-to-use-cc-switch-to-manage-multiple-ai-api-configurations-2026-guide-eh8</guid>
      <description>&lt;p&gt;If you use multiple AI coding tools (Claude Code, Cursor, Cline, Codex) or switch between different API providers, you've probably dealt with the headache of managing multiple configurations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Editing config files every time you switch providers&lt;/li&gt;
&lt;li&gt;Remembering which base URL goes with which key&lt;/li&gt;
&lt;li&gt;Copy-pasting environment variables between terminals&lt;/li&gt;
&lt;li&gt;Forgetting which model you last configured&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/farion1231/cc-switch" rel="noopener noreferrer"&gt;CC Switch&lt;/a&gt; solves all of this. It's a lightweight desktop app that lets you save multiple API configurations and switch between them with one click.&lt;/p&gt;

&lt;p&gt;This guide walks through how to set it up and use it effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CC Switch?
&lt;/h2&gt;

&lt;p&gt;CC Switch is a configuration manager specifically for AI coding tools. Think of it as a "profile switcher" for your API settings.&lt;/p&gt;

&lt;p&gt;Instead of manually editing config files every time you want to switch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;From work API to personal API&lt;/li&gt;
&lt;li&gt;From one model provider to another&lt;/li&gt;
&lt;li&gt;From Claude Code to Cursor&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You just open CC Switch, click a profile, and it updates all the config files for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Supported tools
&lt;/h2&gt;

&lt;p&gt;CC Switch currently supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code&lt;/strong&gt; (Anthropic CLI)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor&lt;/strong&gt; (AI code editor)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cline&lt;/strong&gt; (VS Code extension)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex&lt;/strong&gt; (OpenAI CLI)&lt;/li&gt;
&lt;li&gt;And more being added&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When you switch a profile, it updates the settings for all supported tools at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;CC Switch is available for macOS, Windows, and Linux.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to the &lt;a href="https://github.com/farion1231/cc-switch/releases" rel="noopener noreferrer"&gt;GitHub releases page&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Download the installer for your OS&lt;/li&gt;
&lt;li&gt;Install and open the app&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's a lightweight native app - no Electron bloat, starts instantly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding your first configuration
&lt;/h2&gt;

&lt;p&gt;When you first open CC Switch, you'll see an empty configuration list. Let's add one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Click "Add Configuration"
&lt;/h3&gt;

&lt;p&gt;You'll see a form with fields for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Name&lt;/strong&gt;: A label for this configuration (e.g., "Work Claude", "Personal DeepSeek")&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provider&lt;/strong&gt;: Which tool this is for (Claude Code, Cursor, etc.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Base URL&lt;/strong&gt;: The API endpoint URL&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Key&lt;/strong&gt;: Your API key&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model&lt;/strong&gt;: The default model to use&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 2: Fill in the details
&lt;/h3&gt;

&lt;p&gt;For example, if you're using JZS Token (&lt;a href="https://jzstoken.com" rel="noopener noreferrer"&gt;https://jzstoken.com&lt;/a&gt;) as your API provider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Name&lt;/strong&gt;: "JZS Token - Claude Sonnet"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provider&lt;/strong&gt;: Claude Code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Base URL&lt;/strong&gt;: &lt;code&gt;https://jzstoken.com/api/v1&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Key&lt;/strong&gt;: your JZS Token API key&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model&lt;/strong&gt;: &lt;code&gt;claude-sonnet-5&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 3: Save
&lt;/h3&gt;

&lt;p&gt;Click save. Now you have your first configuration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding multiple configurations
&lt;/h2&gt;

&lt;p&gt;The real power of CC Switch is when you have multiple configurations for different use cases.&lt;/p&gt;

&lt;p&gt;Here's what our setup looks like:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Use case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;JZS - Flash&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;deepseek-v4-flash&lt;/td&gt;
&lt;td&gt;Routine refactoring, simple questions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JZS - Mid&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;deepseek-v4-pro&lt;/td&gt;
&lt;td&gt;Standard coding tasks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JZS - Frontier&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;claude-sonnet-5&lt;/td&gt;
&lt;td&gt;Hard reasoning, architecture&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JZS - Cursor&lt;/td&gt;
&lt;td&gt;Cursor&lt;/td&gt;
&lt;td&gt;qwen-3.6-flash&lt;/td&gt;
&lt;td&gt;Autocomplete&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Work - Official&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;claude-sonnet-5&lt;/td&gt;
&lt;td&gt;Work projects (using official Anthropic key)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Now switching between them is just one click.&lt;/p&gt;

&lt;h2&gt;
  
  
  Switching configurations
&lt;/h2&gt;

&lt;p&gt;To switch:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open CC Switch&lt;/li&gt;
&lt;li&gt;Click the configuration you want to use&lt;/li&gt;
&lt;li&gt;Click "Apply"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. CC Switch updates the config files for all supported tools automatically. No need to manually edit anything.&lt;/p&gt;

&lt;p&gt;The next time you open Claude Code or Cursor, it's using the new configuration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this is better than editing configs manually
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Before CC Switch:&lt;/strong&gt;&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;# Switch to flash model&lt;/span&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://jzstoken.com/api/v1"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;ANTHROPIC_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-xxx"&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;"deepseek-v4-flash"&lt;/span&gt;

&lt;span class="c"&gt;# Switch to frontier model&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-5"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;After CC Switch:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open app&lt;/li&gt;
&lt;li&gt;Click "JZS - Frontier"&lt;/li&gt;
&lt;li&gt;Done&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No typos, no forgotten env vars, no "wait why is it using the wrong model?" debugging.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting up with JZS Token
&lt;/h2&gt;

&lt;p&gt;If you haven't set up your API provider yet, here's how to get started with JZS Token:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://jzstoken.com" rel="noopener noreferrer"&gt;https://jzstoken.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sign up and get an API key&lt;/li&gt;
&lt;li&gt;The base URL is: &lt;code&gt;https://jzstoken.com/api/v1&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;It supports 40+ models (DeepSeek, Qwen, Kimi, GLM, Claude, GPT, Grok, Doubao, etc.)&lt;/li&gt;
&lt;li&gt;It supports all three protocols: Chat Completions, Responses, and Messages&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This means the same API key works for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code (Messages protocol)&lt;/li&gt;
&lt;li&gt;Cursor (OpenAI compatible)&lt;/li&gt;
&lt;li&gt;Cline (OpenAI compatible)&lt;/li&gt;
&lt;li&gt;Codex (OpenAI compatible)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can create multiple CC Switch configurations all pointing to the same JZS Token key, just with different default models. That's the sweet spot - one key, multiple model profiles, switchable with one click.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pro tips
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Name your configurations clearly&lt;/strong&gt;. Don't just name them "Config 1" and "Config 2". Use descriptive names like "Flash - Routine Work" or "Frontier - Architecture".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use model tiering&lt;/strong&gt;. The biggest cost savings come from using cheaper models for routine tasks. Have at least 2-3 configurations at different price points.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Keep work and personal separate&lt;/strong&gt;. If you use different API keys for work and personal projects, CC Switch makes it trivial to switch between them without mixing up keys.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Test before you rely on it&lt;/strong&gt;. When you add a new configuration, open your AI coding tool and send a test request to make sure it's working before you start a big project.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;CC Switch is one of those tools that seems small until you start using it, and then you wonder how you lived without it. Once you have more than 2 API configurations, the manual switching process becomes a real time sink.&lt;/p&gt;

&lt;p&gt;Combined with a good multi-model API gateway like JZS Token, it's the most flexible setup we've found:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One API key for all models&lt;/li&gt;
&lt;li&gt;Multiple configurations for different tasks&lt;/li&gt;
&lt;li&gt;One-click switching between them&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Give it a try if you're juggling multiple AI coding tools or providers. You'll save more time than you think.&lt;/p&gt;

&lt;p&gt;Have you tried CC Switch? What's your setup? Let me know in the comments.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Configure Third-Party APIs for AI Coding Agents (Claude Code, Cursor, Cline, Codex)</title>
      <dc:creator>dougame</dc:creator>
      <pubDate>Mon, 21 Sep 2026 03:10:52 +0000</pubDate>
      <link>https://dev.to/dougame/how-to-configure-third-party-apis-for-ai-coding-agents-claude-code-cursor-cline-codex-1cpp</link>
      <guid>https://dev.to/dougame/how-to-configure-third-party-apis-for-ai-coding-agents-claude-code-cursor-cline-codex-1cpp</guid>
      <description>&lt;p&gt;If you're using AI coding tools like Claude Code, Cursor, Cline, or Codex, you've probably wondered: can I use a different API provider than the default? The answer is yes - almost all of these tools support custom API endpoints.&lt;/p&gt;

&lt;p&gt;This guide covers how to configure third-party APIs for the most popular AI coding agents, plus a tool that makes switching between configurations much easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why configure a third-party API?
&lt;/h2&gt;

&lt;p&gt;Before we get into the how, let's talk about why you'd want to do this in the first place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost savings&lt;/strong&gt;: Frontier models are expensive. Routine coding tasks don't need the most expensive model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More model choice&lt;/strong&gt;: Maybe you want to use DeepSeek, Qwen, Kimi, or GLM instead of only Claude or GPT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No vendor lock-in&lt;/strong&gt;: Don't want to be tied to one provider's pricing or TOS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Better performance&lt;/strong&gt;: Some providers are faster or cheaper for specific tasks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The common pattern
&lt;/h2&gt;

&lt;p&gt;Almost all modern AI coding tools follow the same pattern: they speak the OpenAI-compatible API format. That means you just need three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A &lt;strong&gt;Base URL&lt;/strong&gt; for the API endpoint&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;API Key&lt;/strong&gt; for authentication&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;model name&lt;/strong&gt; to specify which model to use&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's go through each tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claude Code
&lt;/h2&gt;

&lt;p&gt;Claude Code uses Anthropic's Messages API format. To configure a custom endpoint:&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;# Set environment variables&lt;/span&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://your-api-endpoint.com"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;ANTHROPIC_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-api-key"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or in your Claude Code settings file, set:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ANTHROPIC_AUTH_TOKEN&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note: Claude Code uses the Messages protocol (&lt;code&gt;/v1/messages&lt;/code&gt;), not Chat Completions. Make sure your API provider supports the Messages format.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cursor
&lt;/h2&gt;

&lt;p&gt;Cursor supports custom OpenAI-compatible endpoints out of the box:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Cursor Settings&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;Models&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add Model&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;OpenAI API&lt;/strong&gt; as the provider&lt;/li&gt;
&lt;li&gt;Enter:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Base URL&lt;/strong&gt;: your API endpoint (e.g., &lt;code&gt;https://your-api.com/v1&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Key&lt;/strong&gt;: your key&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Name&lt;/strong&gt;: the model you want to use&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. Now you can select this model from the dropdown in the chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cline (VS Code extension)
&lt;/h2&gt;

&lt;p&gt;Cline also supports custom OpenAI-compatible providers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Cline settings&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;API Configuration&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;OpenAI Compatible&lt;/strong&gt; as the API Provider&lt;/li&gt;
&lt;li&gt;Enter:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Base URL&lt;/strong&gt;: your endpoint URL&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Key&lt;/strong&gt;: your key&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model ID&lt;/strong&gt;: the model name&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cline is very flexible - you can add multiple providers and switch between them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Codex (OpenAI's CLI)
&lt;/h2&gt;

&lt;p&gt;OpenAI's Codex CLI also supports custom endpoints:&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;# Set environment variables&lt;/span&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://your-api-endpoint.com/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;"your-api-key"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or in your &lt;code&gt;config.toml&lt;/code&gt;, set the provider settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Zed Editor
&lt;/h2&gt;

&lt;p&gt;Zed has built-in support for custom model providers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Zed Settings&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;Assistant&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Model Providers&lt;/strong&gt;, click &lt;strong&gt;Add Provider&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;OpenAI Compatible&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enter the Base URL and API key&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Switching between configurations: CC Switch
&lt;/h2&gt;

&lt;p&gt;Once you have multiple API configurations (e.g., one for work, one for personal, one for testing different models), managing them all gets tedious. That's where &lt;a href="https://github.com/farion1231/cc-switch" rel="noopener noreferrer"&gt;CC Switch&lt;/a&gt; comes in.&lt;/p&gt;

&lt;p&gt;CC Switch is a simple tool that lets you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Save multiple API configurations (different endpoints, keys, models)&lt;/li&gt;
&lt;li&gt;Switch between them with one click&lt;/li&gt;
&lt;li&gt;No need to manually edit config files or environment variables every time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It supports Claude Code, Cursor, and other tools. If you're juggling multiple API providers, it saves a lot of context switching.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which API provider to use?
&lt;/h2&gt;

&lt;p&gt;You need an API provider that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is OpenAI-compatible (or supports the Messages protocol for Claude Code)&lt;/li&gt;
&lt;li&gt;Has the models you want&lt;/li&gt;
&lt;li&gt;Has transparent pricing&lt;/li&gt;
&lt;li&gt;Doesn't require a monthly subscription&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I've been using &lt;strong&gt;JZS Token&lt;/strong&gt; (&lt;a href="https://jzstoken.com" rel="noopener noreferrer"&gt;https://jzstoken.com&lt;/a&gt;) as my API gateway. It's a single OpenAI-compatible endpoint at &lt;code&gt;https://jzstoken.com/api/v1&lt;/code&gt; that gives you access to 40+ models: DeepSeek, Qwen, Kimi, GLM, Claude, GPT, Grok, Doubao, and more.&lt;/p&gt;

&lt;p&gt;Why I like it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One key, all models&lt;/strong&gt;: No more juggling 10 different API keys&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;All three protocols&lt;/strong&gt;: Chat Completions, Responses, and Messages&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pay as you go&lt;/strong&gt;: Credits don't expire, no monthly commitment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transparent pricing&lt;/strong&gt;: All rates listed upfront, no surprise bills&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The setup for any tool is the same:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Base URL: &lt;code&gt;https://jzstoken.com/api/v1&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;API Key: your JZS Token key&lt;/li&gt;
&lt;li&gt;Model: whatever model you want to use&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Putting it all together
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Get an API key from a provider like JZS Token&lt;/li&gt;
&lt;li&gt;Configure your AI coding tool with the Base URL and key&lt;/li&gt;
&lt;li&gt;Use CC Switch to manage multiple configurations if you have more than one&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The whole setup takes 5 minutes, and then you can use whatever model makes the most sense for each task - instead of being locked into one provider's pricing.&lt;/p&gt;

&lt;p&gt;Have you configured custom APIs for your AI coding tools yet? What's your setup? Let me know in the comments.&lt;/p&gt;

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