How to Use AGI Plan: Sign Up, Create a Key, Change One Setting

Blog / Relays & gateways

How to Use AGI Plan: Sign Up, Create a Key, Change One Setting

How do you use AGI Plan? Three steps: sign up with an email verification code, pick a plan and create an API key, then change the base URL and key in the tool you already use to AGI Plan's. You don't have to switch tools. Claude Code, Codex, and similar tools work as usual.

First, the relationship: AGI Plan is a commercial partner of cdnping. This article covers only what the AGI Plan team has stated publicly. For the exact page locations, setting names, and current plans, go by agiplan.dev and each tool's official documentation.

What is AGI Plan, and what should you know first?

It is a multi-provider LLM aggregation gateway. You subscribe monthly, pay in RMB (Chinese yuan), and don't need an overseas credit card. One quota can be switched between different capability groups, and the gateway is compatible with both the OpenAI and Anthropic API formats.

Three things to understand before you pay:

How do the three steps work?

Step 1: Sign up with an email code

Go to agiplan.dev/startup and sign up with a verification code sent to your email. You don't need a Claude or ChatGPT account.

Step 2: Pick a plan and create a key

There are currently four public plans: Lite ¥49/month, Plus ¥119/month, Pro ¥649/month, and Max ¥1,368/month. The four tiers differ only in quota, and annual billing is 20% off. Pay-as-you-go is also available: ¥1 = 500 CU, with a ¥20 minimum top-up. Prices are as listed at agiplan.dev/pricing.

Quota is measured in CU: 1 CU equals 1,000 output tokens of the baseline model. To convert that into your own usage, see What is an AGI Plan CU?. To choose among the four tiers, see How to choose an AGI Plan tier.

Once the plan is active, create an API key in the console and copy it somewhere safe. A key is as sensitive as a password, so don't paste it into a public repository or a screenshot.

Step 3: Change one setting in your tool

You only need to change two things: the base URL and the API key. Use the base URL shown in the AGI Plan console and tutorial pages. It isn't copied here, to avoid it going stale.

Where does each tool keep these settings?

ToolWhat to changeNotes
Claude CodeBase URL, keyUses the Anthropic format; no Claude account needed. For variable names and how to set them, follow the Claude Code docs and AGI Plan's step-by-step tutorial
CodexBase URL, keyUses the OpenAI format; no ChatGPT account needed. For the config file syntax, follow the Codex docs and AGI Plan's tutorial
Cherry Studio"API address" and "API Key" under a custom providerUI labels may change between versions; go by what the app shows
Cline, Roo Code, Kilo Code, CursorCustom base URL and keyWorks with any tool that lets you enter a base URL plus an API key
OpenCode, Pi, HermesSame as aboveAGI Plan has step-by-step tutorials on its site

For the thinking behind connecting Claude Code, start with Can you use Claude Code without a Claude account?, which explains how the base URL approach works and where it falls short.

How do you confirm it works?

  1. Send a very short request from the tool, such as asking it to reply "ok", and see whether a response comes back.
  2. If you get a 401 or an authentication error, first check that the key was copied in full, with no extra spaces or line breaks.
  3. If you get a 404, the base URL path is most likely wrong. Some tools want the address to include a version path and some don't, so compare it character by character with the tutorial page.
  4. If requests time out or are slow, open the cdnping speed test to check your connection to the various API endpoints, then check /en/status/agiplan for platform-side problems.
  5. To see whether the service as a whole is down, check /en/down/agiplan.

For general network latency troubleshooting, see How to read latency when accessing AI APIs from China.

What does the AGI Plan team say about privacy and data?

According to its public statements, request bodies are not written to disk by default, and content is not used for training or resold. That is the provider's own statement, not a third-party audit finding. If you handle sensitive code or data, read the terms of service in full before you connect.

Who is it for, and what should you do next?

It suits individual developers who want to keep using tools like Claude Code and Codex, would like to pay in RMB, and are fine with the gateway model. If your team has compliance requirements, such as an official contract or data processing in a specific region, evaluate official channels first.

A suggested order:

  1. Read the explanation of the "overseas only" label first, and confirm the models you want are available.
  2. Start with Lite or a small pay-as-you-go top-up, run a day or two of real work, and check whether CU consumption matches your expectations.
  3. If you're satisfied, move up a tier or switch to annual billing.

When you're ready, start at agiplan.dev/startup.

Related articles

Keep reading